diff --git a/src/views/oms/emisWaybill/SendOrderbillList.vue b/src/views/oms/emisWaybill/SendOrderbillList.vue index 09e65d0..23eec0f 100644 --- a/src/views/oms/emisWaybill/SendOrderbillList.vue +++ b/src/views/oms/emisWaybill/SendOrderbillList.vue @@ -540,10 +540,30 @@ +
+ +
+
- + + + + +
+ +
+
@@ -590,13 +610,14 @@ import WaybillDetailReadOnly from '@/views/oms/emisWaybill/WaybillDetailReadOnly import {timeDiffTime,timeFormat} from '@/utils/dateUtils' import { formatSearchStr,deepClone } from '@/utils/index' import clip from '@/utils/clipboard' +import ElImageViewer from 'element-ui/packages/image/src/image-viewer' export default { name: "SendWaybillList", // name: "DispatchWaybillList", components: { - + ElImageViewer, EmisMonthpayAccountPicker, elDateAdvPicker, CountryPicker1, @@ -646,6 +667,7 @@ export default { openForm: false, titleForm: "", billCode:null, + currentSelectBill:null, openTraceInfo:false, @@ -666,6 +688,7 @@ export default { openShowGotPic:false, billPicSendRmk:null, + showViewer: false, // 时间搜索 dateRange:[], @@ -915,14 +938,18 @@ export default { }, handleShowGotPic(row){ - if(!this.billPicSendRmk){ - this.$modal.msgError("无揽收底单" ); - return + if(!this.currentSelectBill.orderStatus==0){ + this.$modal.msgError("未揽收" ); + return } - if(this.billPicSendRmk){ - this.openShowGotPic=true; - } + this.billPicSendRmk=process.env.VUE_APP_BASE_API+"/oms2c/common/getGotImage?billCode="+this.billCode; + // this.billPicSendRmk='https://api.sapp.tanex56.com/api/omssvr/oms2c/common/getGotImage?billCode=T7080300122056'; + this.showViewer=true; + + }, + closeViewer() { + this.showViewer = false }, handleCopyOrderRecord(row){ this.$router.push({ @@ -1008,6 +1035,7 @@ export default { handleSelectionChange(selection) { console.log("====>selection==>",selection) if(selection!=null){ + this.currentSelectBill = selection[0]; this.billCode=selection[0].billCode; this.billPicSendRmk=selection[0].billPicSendRmk; diff --git a/src/views/oms/orderCheck/WarehouseInPanel.vue b/src/views/oms/orderCheck/WarehouseInPanel.vue index 672306a..2ee5c0c 100644 --- a/src/views/oms/orderCheck/WarehouseInPanel.vue +++ b/src/views/oms/orderCheck/WarehouseInPanel.vue @@ -70,7 +70,7 @@ - + @@ -171,9 +171,9 @@