diff --git a/.env.development b/.env.development index 0c31b12..7512299 100644 --- a/.env.development +++ b/.env.development @@ -9,5 +9,4 @@ VUE_APP_SOCKET_BASE_URL=http://47.104.222.4:5010 # VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api # VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345/api -//VUE_APP_API_BASE_URL=http://127.0.0.1:5000 -//VUE_APP_SOCKET_BASE_URL=http://127.0.0.1:5000 + diff --git a/src/views/main/BookingCustomerLedger/detail/index.vue b/src/views/main/BookingCustomerLedger/detail/index.vue index 0d5de59..566a3b2 100644 --- a/src/views/main/BookingCustomerLedger/detail/index.vue +++ b/src/views/main/BookingCustomerLedger/detail/index.vue @@ -623,9 +623,9 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback - prop="CtrnLength"> + prop="ctrnLength">
- + CM
@@ -637,9 +637,9 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback - prop="CtrnWidth"> + prop="ctrnWidth">
- + CM
@@ -651,9 +651,9 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback - prop="CtrnHeight"> + prop="ctrnHeight">
- + CM
@@ -1003,8 +1003,48 @@ export default { notifyparty: $data.bookingDetails.notifyparty, consignee: $data.bookingDetails.consignee, shipper: $data.bookingDetails.shipper, - ctnList: [], - serviceList: [] + saleCode: $data.bookingDetails.saleCode, + blfrt: $data.bookingDetails.blfrt, + service: $data.bookingDetails.service, + contractno: $data.bookingDetails.contractno, + voyno: $data.bookingDetails.voyno, + vessel: $data.bookingDetails.vessel, + etd: $data.bookingDetails.etd, + portdischargeid: $data.bookingDetails.portdischargeid, + portloadid: $data.bookingDetails.portloadid, + carrierid: $data.bookingDetails.carrierid, + reeferf: $data.bookingDetails.reeferf, + tempid: $data.bookingDetails.tempid, + tempset: $data.bookingDetails.tempset, + pkgs: $data.bookingDetails.pkgs, + kindpkgs: $data.bookingDetails.kindpkgs, + cbm: $data.bookingDetails.cbm, + kgs: $data.bookingDetails.kgs, + hscode: $data.bookingDetails.hscode, + cargoid: $data.bookingDetails.cargoid, + description: $data.bookingDetails.description, + soremark: $data.bookingDetails.soremark, + ctrnHeight: $data.bookingDetails.ctrnHeight, + ctrnWidth: $data.bookingDetails.ctrnWidth, + ctrnLength: $data.bookingDetails.ctrnLength, + dtel: $data.bookingDetails.dtel, + linkman: $data.bookingDetails.linkman, + dclass: $data.bookingDetails.dclass, + dunno: $data.bookingDetails.dunno, + ctnList: $data.bookingDetails.ctnList, + serviceList: $data.bookingDetails.serviceList + } + if (copyData.cargoid === 'S') { + copyData.cargoName = 'S 普通货' + } + if (copyData.cargoid === 'R') { + copyData.cargoName = 'R 冻柜' + } + if (copyData.cargoid === 'D') { + copyData.cargoName = 'D 危险品' + } + if (copyData.cargoid === 'O') { + copyData.cargoName = 'O 超限箱' } this.details = { ...JSON.parse(JSON.stringify(copyData)) } } else { diff --git a/src/views/main/BookingLedger/detail/index.vue b/src/views/main/BookingLedger/detail/index.vue index fd756e2..8b84ed2 100644 --- a/src/views/main/BookingLedger/detail/index.vue +++ b/src/views/main/BookingLedger/detail/index.vue @@ -349,7 +349,7 @@ const bookingEDIExt = { acihbl: '' } export default { - name: 'BookingDetailTest', + name: 'BookingDetail', inject: ['reload'], components: { operationArea, @@ -1322,7 +1322,7 @@ export default { this.setBookingList(newBookingList) this.setBookingGridOptions(newBookingGridOptions) that.$router.replace({ - name: 'BookingDetailTest', + name: 'BookingDetail', query: { id: res.data.id, type: res.data.carrierid, @@ -1369,7 +1369,7 @@ export default { this.setBookingList(newBookingList) this.setBookingGridOptions(newBookingGridOptions) that.$router.replace({ - name: 'BookingDetailTest', + name: 'BookingDetail', query: { id: res.data.id, type: res.data.carrierid, @@ -1518,7 +1518,7 @@ export default { delete $data[this.$route.fullPath] this.setNeedSavePages($data) this.$router.replace({ - name: 'BookingDetailTest', + name: 'BookingDetail', query: { id: prevId, type: prevType, mblno: this.bookingList[prevId].mblno, noOpenTab: true } }) } else { @@ -1532,7 +1532,7 @@ export default { delete $data[this.$route.fullPath] this.setNeedSavePages($data) this.$router.replace({ - name: 'BookingDetailTest', + name: 'BookingDetail', query: { id: nextId, type: nextType, mblno: this.bookingList[nextId].mblno, noOpenTab: true } }) } @@ -1542,7 +1542,7 @@ export default { }, copyBookingFun() { this.$router.push({ - name: 'BookingDetailTest', + name: 'BookingDetail', query: { id: this.id, isCopy: true, type: this.bookingDetails.carrierid } }) }, diff --git a/src/views/main/BookingLedger/detail/modules/basicInfo.vue b/src/views/main/BookingLedger/detail/modules/basicInfo.vue index d366c34..dff8696 100644 --- a/src/views/main/BookingLedger/detail/modules/basicInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/basicInfo.vue @@ -211,6 +211,28 @@ + + + + +