From c1099b9763114d96e85d2700af2e88bf8f85b7d4 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 17 May 2024 08:50:17 +0800 Subject: [PATCH] md --- src/views/emis/emisWaybill/orderList.vue | 26 ++- src/views/emis/emisWaybill/orderRecord.vue | 17 +- .../emis/emisWaybill/waybillIsPrinted.vue | 201 ++++++++++++++---- src/views/emis/emisWaybill/waybillList.vue | 77 +++---- 4 files changed, 226 insertions(+), 95 deletions(-) diff --git a/src/views/emis/emisWaybill/orderList.vue b/src/views/emis/emisWaybill/orderList.vue index 150c3ed7..94a11ca3 100644 --- a/src/views/emis/emisWaybill/orderList.vue +++ b/src/views/emis/emisWaybill/orderList.vue @@ -171,7 +171,7 @@ --> - - + + + - + + + - + + 派送 + 自提 @@ -443,7 +449,7 @@ import CountryPicker1 from '@/views/emis/EmisBaseTools/CountryPicker.vue'; export default { name: "WaybillIsPrinted", components: { elDateAdvPicker,emisWaybillForm,CountryPicker0,CountryPicker1 }, - dicts: ['emis_waybill_status','emis_declare_mode','emis_customs_clear','emis_payment_type' + dicts: ['emis_waybill_status','emis_order_status','emis_declare_mode','emis_customs_clear','emis_payment_type' ], data() { return { @@ -801,7 +807,7 @@ export default { excel.export_json_to_excel({ header: tHeader, data, - filename: '运单列表', + filename: '订单列表', autoWidth: true }) loadingInstance.close() diff --git a/src/views/emis/emisWaybill/orderRecord.vue b/src/views/emis/emisWaybill/orderRecord.vue index 793d1064..cb878a00 100644 --- a/src/views/emis/emisWaybill/orderRecord.vue +++ b/src/views/emis/emisWaybill/orderRecord.vue @@ -8,11 +8,6 @@
- - - - - @@ -22,6 +17,12 @@
+ + + + + + @@ -830,8 +831,8 @@ data() { sendSiteCode: [ { required: true, message: "发件网点代码不能为空", trigger: ["blur",'change'] } ], - sendDate: [ - { required: true, message: "发货时间不能为空", trigger: "blur" } + orderDate: [ + { required: true, message: "西单时间不能为空", trigger: "blur" } ], dispatchUnderlingSiteCode: [ { required: true, message: "目的地网点代码不能为空", trigger: "blur" } @@ -982,7 +983,7 @@ methods: { }, initData() { this.reset(); - this.form.sendDate = parseTime(new Date()); + this.form.orderDate = parseTime(new Date()); this.form.sendSiteCode=this.$store.getters.ownerSiteCode; this.form.sendSiteName=this.$store.getters.ownerSiteName; console.log(this.form.sendSiteName) diff --git a/src/views/emis/emisWaybill/waybillIsPrinted.vue b/src/views/emis/emisWaybill/waybillIsPrinted.vue index 2e31f61e..b07447b3 100644 --- a/src/views/emis/emisWaybill/waybillIsPrinted.vue +++ b/src/views/emis/emisWaybill/waybillIsPrinted.vue @@ -1,6 +1,6 @@ + + + + --> - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - diff --git a/src/views/emis/emisWaybill/waybillList.vue b/src/views/emis/emisWaybill/waybillList.vue index 744b144b..c8168f44 100644 --- a/src/views/emis/emisWaybill/waybillList.vue +++ b/src/views/emis/emisWaybill/waybillList.vue @@ -157,34 +157,31 @@ 去录单 + >开单
运单修改 - + - + @@ -259,18 +256,19 @@ + + + - + + +
发送
+
不发送
@@ -322,8 +322,10 @@ @@ -345,8 +347,10 @@ @@ -449,6 +453,7 @@ export default { currentId:null, openForm: false, titleForm: "", + billCode:null, // 弹出展示层 id:null, @@ -710,6 +715,9 @@ export default { }, // 多选框选中数据 handleSelectionChange(selection) { + if(selection!=null){ + this.billCode=selection[0].billCode; + } this.ids = selection.map(item => item.id) this.single = selection.length!==1 this.multiple = !selection.length @@ -722,24 +730,17 @@ export default { }, /** 新增按钮操作 */ handleAdd(row) { - this.currentId=null; - this.openForm= true; - this.titleForm = "新增"; - }, - handleShowMoreInput(){ - this.moreInputVisible = !this.moreInputVisible; + // + this.$router.push({ path: '/d24/waybillManagement/WaybillEntry'}); }, + /** 修改按钮操作 */ handleUpdate(row) { - this.currentId= row.id; - this.openForm = true; - this.titleForm = "修改"; + // const waybill = this.emisWaybillList.find(item => item.id === id) + this.$router.push({ path: '/d24/waybillManagement/WaybillModify', query: { billCode: this.billCode }}) }, handleView(row) { - this.id=row.id; - this.titleView="查看"; - this.openView=true; - // this.router.push({ path: '/emis/emisWaybill/viewDetail', query: { id: row.id }}) + this.$router.push({ path: '/d24/waybillManagement/WaybillDetail', query: { billCode: this.billCode }}) }, handleFormChanged(){ this.openForm = false;