diff --git a/src/views/emis/emisQuotePrice/transQuotePriceList.vue b/src/views/emis/emisQuotePrice/transQuotePriceList.vue
index 543d27b0..0eaabce6 100644
--- a/src/views/emis/emisQuotePrice/transQuotePriceList.vue
+++ b/src/views/emis/emisQuotePrice/transQuotePriceList.vue
@@ -128,6 +128,17 @@
v-hasPermi="['emis:emisQuotePrice:edit']"
>修改报价
+
-
+
下载进仓单
+ @click="handleDownWarehouseInPDF"
+ >下载进仓单(PDF)
+
+
+ 下载进仓单(WORD)
@@ -430,7 +439,6 @@
-
@@ -478,6 +486,8 @@
+
+
@@ -812,11 +822,24 @@ export default {
this.loading = false;
});
},
- handleDownWarehouseIn() {
+ handleDownWarehouseInPDF() {
if(this.selectionList&&this.selectionList.length>0){
this.selectionList.forEach(item=>{
this.download('emis/emisWaybill/exportWarehouseInTpl', {
- orderSn:item.orderSn
+ orderSn:item.orderSn,
+ fileType:'pdf'
+ }, `${item.intoWarehouseBillCode}.pdf`)
+
+ });
+ }
+ },
+
+ handleDownWarehouseInWORD() {
+ if(this.selectionList&&this.selectionList.length>0){
+ this.selectionList.forEach(item=>{
+ this.download('emis/emisWaybill/exportWarehouseInTpl', {
+ orderSn:item.orderSn,
+ fileType:'docx'
}, `${item.intoWarehouseBillCode}.pdf`)
});
diff --git a/src/views/emis/emisWaybill/waybillGot.vue b/src/views/emis/emisWaybill/waybillGot.vue
index 956ad85c..72e8ae95 100644
--- a/src/views/emis/emisWaybill/waybillGot.vue
+++ b/src/views/emis/emisWaybill/waybillGot.vue
@@ -1054,10 +1054,15 @@ created() {
}
else if(this.action=='got'){
this.billCode=this.$route.query.billCode;
+ let timestamp=this.$route.query.billCode;
+
const title = '接单:'+this.billCode;
const route = Object.assign({}, this.$route, { title: `${title}` })
- this.$store.dispatch('tagsView/updateVisitedView', route)
- this.initData();
+ if(this.lastTimestamp!=timestamp){
+ this.lastTimestamp=timestamp;
+ this.$store.dispatch('tagsView/updateVisitedView', route)
+ this.initData();
+ }
}
else if(this.action=='modify'){