From ed90ef0ddd3b1599fb8373642d4e0c8e10d5ec94 Mon Sep 17 00:00:00 2001 From: linfso Date: Sat, 21 Dec 2024 08:22:16 +0800 Subject: [PATCH] md --- src/components/Breadcrumb/index.vue | 3 +- src/layout/components/TagsView/index.vue | 5 +- src/views/oms/emisWaybill/OrderRecord.vue | 35 ++++++++-- .../oms/emisWaybill/SendOrderbillList.vue | 68 +++++++++++++++++-- .../oms/emisWaybill/WaybillDetailReadOnly.vue | 8 +++ 5 files changed, 108 insertions(+), 11 deletions(-) diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 54b7839..4b22a0a 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -2,7 +2,8 @@ - {{ item.meta.title }} + + {{ item.meta.title($route.params) }} {{ item.meta.title }} diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 7d57e6a..4415f2f 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -14,7 +14,10 @@ @click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''" @contextmenu.prevent.native="openMenu(tag,$event)" > - {{ tag.title }} + + {{ tag.title(tag.params)}} + {{tag.title}} + diff --git a/src/views/oms/emisWaybill/OrderRecord.vue b/src/views/oms/emisWaybill/OrderRecord.vue index 17f9de3..00f1fd1 100644 --- a/src/views/oms/emisWaybill/OrderRecord.vue +++ b/src/views/oms/emisWaybill/OrderRecord.vue @@ -522,9 +522,9 @@ - + + @@ -621,6 +639,7 @@ export default { titleForm: "", billCode:null, + openTraceInfo:false, currentTraceBillItem:null, currentTraceBillCode:null, @@ -631,11 +650,15 @@ export default { queryStatInfoMap:null, + // 弹出展示层 id:null, titleView:"", openView: false, + openShowGotPic:false, + billPicSendRmk:null, + // 时间搜索 dateRange:[], // 查询参数 @@ -842,7 +865,9 @@ export default { }, handleView(row){ // this.billCode=row.billCode; - this.openView=true; + this.currentTraceBillCode=this.billCode; + this.currentTraceBillItem=row; + this.openTraceInfo=true; }, handleCancel(row){ @@ -862,10 +887,43 @@ export default { }).catch(() => {}); }, handleUpdate(row) { - this.$router.push({ path: '/orderMgnt/OrderRecord', query: { action:"modify",billCode: this.billCode }}) + // const id = row.id; + // const title = '修改:'+this.billCode; + // const route = Object.assign({}, this.$route, { title: `${title}` }) + // route.path='/orderMgnt/OrderRecord'; + // route.query={ action:"modify",billCode: this.billCode}; + + // console.log("===>route==>",route); + + // this.$store.dispatch('tagsView/updateVisitedView', route) + + this.$router.push({ + path: '/orderMgnt/OrderRecord', + query: { action:"modify",billCode: this.billCode }, + meta:{ + title:'修改' + } + }) + }, + handleShowGotPic(row){ + + if(!this.billPicSendRmk){ + this.$modal.msgError("无揽收底单" ); + return + } + + if(this.billPicSendRmk){ + this.openShowGotPic=true; + } }, handleCopyOrderRecord(row){ - this.$router.push({ path: '/orderMgnt/OrderRecord', query: { action:"copyOrder",billCode: this.billCode }}) + this.$router.push({ + path: '/orderMgnt/OrderRecord', + query: { action:"copyOrder",billCode: this.billCode }, + meta:{ + title:'再来一单' + } + }) }, initQueryParams(){ // this.queryOrderType="1"; @@ -943,6 +1001,8 @@ export default { console.log("====>selection==>",selection) if(selection!=null){ this.billCode=selection[0].billCode; + this.billPicSendRmk=selection[0].billPicSendRmk; + } console.log("====>billCode==>",this.billCode) diff --git a/src/views/oms/emisWaybill/WaybillDetailReadOnly.vue b/src/views/oms/emisWaybill/WaybillDetailReadOnly.vue index 6d4d983..f7a3c36 100644 --- a/src/views/oms/emisWaybill/WaybillDetailReadOnly.vue +++ b/src/views/oms/emisWaybill/WaybillDetailReadOnly.vue @@ -36,6 +36,14 @@ {{ form.salesmen }} + + {{form.intoWarehouseName}} + {{form.intoWarehouseContact}} {{form.intoWarehousePhone}} + {{form.intoWarehouseAddress}} + {{form.pickStartDate}} + + + {{ form.sender.name }} {{ form.sender.phone }}