From eea3a3d1873b92269c17ef94fe7643ff8a8ad1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Tue, 18 Apr 2023 17:02:17 +0800 Subject: [PATCH 1/8] 4/18 --- src/api/modular/main/SendCar.js | 12 + src/views/main/SendCar/addForm.vue | 846 +++++++++++++++-------------- src/views/main/SendCar/index.vue | 8 +- 3 files changed, 463 insertions(+), 403 deletions(-) diff --git a/src/api/modular/main/SendCar.js b/src/api/modular/main/SendCar.js index 00d8024..12b884d 100644 --- a/src/api/modular/main/SendCar.js +++ b/src/api/modular/main/SendCar.js @@ -12,6 +12,18 @@ export function BookingTruckGetPage(parameter) { data: parameter }) } +/** + * 保存派车 + * + * @author Myshipping + */ +export function BookingTruckSave(parameter) { + return axios({ + url: '/BookingTruck/Save', + method: 'post', + data: parameter + }) +} /** * 检索往来单位(包含车队) * diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue index fcbe6bf..d80073f 100644 --- a/src/views/main/SendCar/addForm.vue +++ b/src/views/main/SendCar/addForm.vue @@ -7,356 +7,425 @@ @ok="handleSubmit" @cancel="handleCancel" > --> - - - - - - 打印 - - - - - 保存 - - - - - 提交派车 - - - - - 撤销派车 - - - - -

- 车队信息 -

- + + + + + + 打印 + + + + + 保存 + + + + + 提交派车 + + + + + 撤销派车 + + + + +

+ 车队信息 +

+ + + + + + + {{ item.shortName }} + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

+ 派车通知详细信息 +

- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.name }} + + + + + - - + + + - + + {{ item.shortName }} + + + + + + + + {{ item.name }} + - - - + + + - - - + +
+ +

+ 提货工厂信息 +

+ + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

+ 入货场站信息 +

+ + + + - + + {{ item.shortName }} + + + + + + + + {{ item.name }} + - - - + + + - - - + + + + + - - - + + + + + + + + + + {{ item.name }} + + -
-
- -

- 派车通知详细信息 -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- 提货工厂信息 -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- 入货场站信息 + 箱信息

- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + -
-

- 箱信息 -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- + + + From d64de775b641067680b2f4b4950b2304352a6d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Wed, 19 Apr 2023 19:45:00 +0800 Subject: [PATCH 4/8] 4/19 --- src/views/main/SendCar/addForm.vue | 59 ++++++++++++++++++------------ 1 file changed, 36 insertions(+), 23 deletions(-) diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue index 503ab30..2b8d413 100644 --- a/src/views/main/SendCar/addForm.vue +++ b/src/views/main/SendCar/addForm.vue @@ -20,8 +20,11 @@ empty-text="没有更多数据了!" border :style="{ margin: '10px' }" + :radio-config="{ highlight: true }" @cell-click="cellClickEvent" + @radio-change="radioChangeEvent" > + { - if (res.data.ext.contaList) { - this.ContactsData = res.data.ext.contaList - } - setTimeout(() => { - this.form.setFieldsValue({ ...res.data.ext }) - this.WebData = res.data.ext - this.ChangetruckId(res.data.ext.truckId) - setTimeout(() => { - this.Changeattn(res.data.ext.attn) - }, 110) - this.Changeyardid(res.data.ext.yardid) - setTimeout(() => { - this.Changeyardcontract(res.data.ext.yardcontract) - }, 110) - this.ChangeinYardID(res.data.ext.inYardID) + this.confirmLoading = true + BookingTruckGetInfo({ id }) + .then(res => { + if (res.data.ext.contaList) { + this.ContactsData = res.data.ext.contaList + } setTimeout(() => { - this.ChangeinYardContact(res.data.ext.inYardContact) - }, 110) - }, 100) - }) + this.form.setFieldsValue({ ...res.data.ext }) + this.WebData = res.data.ext + this.ChangetruckId(res.data.ext.truckId) + setTimeout(() => { + this.Changeattn(res.data.ext.attn) + }, 110) + this.Changeyardid(res.data.ext.yardid) + setTimeout(() => { + this.Changeyardcontract(res.data.ext.yardcontract) + }, 110) + this.ChangeinYardID(res.data.ext.inYardID) + setTimeout(() => { + this.ChangeinYardContact(res.data.ext.inYardContact) + }, 110) + }, 100) + this.confirmLoading = false + }) + .catch(() => { + this.confirmLoading = false + }) }, FnRtruckId(data) { let Rdata = {} From 16aec225616fd681f1187f4619ff8aaf6e2a75d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Wed, 19 Apr 2023 19:55:43 +0800 Subject: [PATCH 5/8] 4/19 --- src/views/main/SendCar/addForm.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue index 2b8d413..545c257 100644 --- a/src/views/main/SendCar/addForm.vue +++ b/src/views/main/SendCar/addForm.vue @@ -13,6 +13,7 @@ {{ text }} --> { if (res.data.ext.contaList) { @@ -699,6 +702,7 @@ export default { if (this.$route.query.BookingId) { BookingTruckGetTruckListByBooking({ bookingId: this.$route.query.BookingId }).then(res => { this.Bookingdata = res.data + this.$refs.xTable1.setRadioRow(res.data[0]) this.SData(res.data[0].id) }) } From 01fdd3db372c5b6087badc4385b8af2a518abf4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Thu, 20 Apr 2023 10:09:45 +0800 Subject: [PATCH 6/8] 4/20 --- src/views/main/BookingLedger/list/index.vue | 13 +++++++++---- src/views/main/SendCar/addForm.vue | 12 ++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/main/BookingLedger/list/index.vue b/src/views/main/BookingLedger/list/index.vue index 93364ed..0f7fd08 100644 --- a/src/views/main/BookingLedger/list/index.vue +++ b/src/views/main/BookingLedger/list/index.vue @@ -233,7 +233,7 @@
- +
@@ -300,7 +300,7 @@

- {{ TaskShippingOrderCompareData.compareTime }} 比对异常 合计 - {{ TaskShippingOrderCompareData.showDetailList.length }} 条 + {{ TaskShippingOrderCompareData.compareTime }} + + 比对异常 合计 + {{ TaskShippingOrderCompareData.total }} + 条 +

@@ -1960,6 +1964,7 @@ export default { } else { if (res.data.extra) { this.TaskShippingOrderCompareData = res.data.extra + this.TaskShippingOrderCompareData.total = res.data.total this.TaskShippingOrderCompareVisible = true } else { this.$message.success(res.data.msg) diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue index 545c257..3317cbe 100644 --- a/src/views/main/SendCar/addForm.vue +++ b/src/views/main/SendCar/addForm.vue @@ -12,6 +12,9 @@ + Date: Thu, 20 Apr 2023 16:36:14 +0800 Subject: [PATCH 7/8] 4/20 --- src/api/modular/main/SendCar.js | 11 +- src/api/modular/main/TaskmanageList.js | 316 +++++++++--------- src/views/main/SendCar/addForm.vue | 209 +++++++----- src/views/main/SendCar/index.vue | 129 ++++++- .../main/Taskmanage/TaskmanageList/index.vue | 214 +++++++----- 5 files changed, 530 insertions(+), 349 deletions(-) diff --git a/src/api/modular/main/SendCar.js b/src/api/modular/main/SendCar.js index f10e31d..391d2c3 100644 --- a/src/api/modular/main/SendCar.js +++ b/src/api/modular/main/SendCar.js @@ -119,7 +119,16 @@ export function BookingTruckGetTruckListByBooking(parameter) { params: parameter }) } - +/** + * 引入订舱集装箱详情生成派车信息 + */ +export function BookingTruckPullInBookingOrderConta(parameter) { + return axios({ + url: '/BookingTruck/PullInBookingOrderConta', + method: 'get', + params: parameter + }) +} /** * 添加订舱模板 * diff --git a/src/api/modular/main/TaskmanageList.js b/src/api/modular/main/TaskmanageList.js index fcd350e..4ab4393 100644 --- a/src/api/modular/main/TaskmanageList.js +++ b/src/api/modular/main/TaskmanageList.js @@ -3,7 +3,7 @@ import { axios } from '@/utils/request' /** * 查询台账 */ -export function GetTaskManagePage (parameter) { +export function GetTaskManagePage(parameter) { return axios({ url: '/TaskManage/GetPage', method: 'post', @@ -14,263 +14,263 @@ export function GetTaskManagePage (parameter) { /** * 获取登录人员相关任务统计信息 */ -export function GetCurrentTotalStat (parameter) { - return axios({ - url: '/TaskManage/GetCurrentTotalStat', - method: 'get', - params: parameter - }) +export function GetCurrentTotalStat(parameter) { + return axios({ + url: '/TaskManage/GetCurrentTotalStat', + method: 'get', + params: parameter + }) } /** * 获取查询参数 * ParaType STATUS-任务状态;TASK_TYPE-任务类型;SOURCE-任务来源 */ -export function GetParaInfo (parameter) { - return axios({ - url: '/TaskManage/GetParaInfo', - method: 'get', - params: parameter - }) +export function GetParaInfo(parameter) { + return axios({ + url: '/TaskManage/GetParaInfo', + method: 'get', + params: parameter + }) } /** * 取消任务 */ -export function CancelTask (parameter) { - return axios({ - url: '/TaskManage/CancelTask', - method: 'post', +export function CancelTask(parameter) { + return axios({ + url: '/TaskManage/CancelTask', + method: 'post', data: parameter - }) + }) } /** * 完成任务 */ -export function CompleteTask (parameter) { - return axios({ - url: '/TaskManage/CompleteTask', - method: 'post', +export function CompleteTask(parameter) { + return axios({ + url: '/TaskManage/CompleteTask', + method: 'post', data: parameter - }) + }) } /** * 下载 */ -export function DownloadTaskAttach (parameter) { - return axios({ - url: '/TaskManage/DownloadTaskAttach', - method: 'get', - params: parameter - }) +export function DownloadTaskAttach(parameter) { + return axios({ + url: '/TaskManage/DownloadTaskAttach', + method: 'get', + params: parameter + }) } /** * 转发电子邮件 */ -export function SendTelexEmail (parameter) { - return axios({ - url: '/TaskManage/SendTelexEmail', - method: 'get', - params: parameter - }) +export function SendTelexEmail(parameter) { + return axios({ + url: '/TaskManage/SendTelexEmail', + method: 'get', + params: parameter + }) } /** * 页数计算 */ -export function LaraPaperCalc (parameter) { - return axios({ - url: '/TaskManage/LaraPaperCalc?' + parameter, - method: 'post' - }) +export function LaraPaperCalc(parameter) { + return axios({ + url: '/TaskManage/LaraPaperCalc?' + parameter, + method: 'post' + }) } /** * LARA提单纸登记 */ -export function LaraPaperRegist (parameter) { - return axios({ - url: '/TaskManage/LaraPaperRegist?' + parameter, - method: 'post' - }) +export function LaraPaperRegist(parameter) { + return axios({ + url: '/TaskManage/LaraPaperRegist?' + parameter, + method: 'post' + }) } /** * 下载正本提单(可批量) */ -export function DownloadOriginalTask (parameter) { - return axios({ - url: '/TaskManage/DownloadOriginalTask', - method: 'post', +export function DownloadOriginalTask(parameter) { + return axios({ + url: '/TaskManage/DownloadOriginalTask', + method: 'post', data: parameter - }) + }) } /** * copy 打印 */ -export function PrintBatch (parameter) { - return axios({ - url: '/TaskManage/PrintBatch', - method: 'post', +export function PrintBatch(parameter) { + return axios({ + url: '/TaskManage/PrintBatch', + method: 'post', data: parameter - }) + }) } /** * copy 下载 */ -export function DownloadAttach (parameter) { - return axios({ - url: '/TaskManage/DownloadAttach', - method: 'post', - data: parameter - }) +export function DownloadAttach(parameter) { + return axios({ + url: '/TaskManage/DownloadAttach', + method: 'post', + data: parameter + }) } /** * 获取详情 */ -export function GetBookingOrderInfo (parameter) { - return axios({ - url: '/TaskManage/GetBookingOrderInfo', - method: 'get', - params: parameter - }) +export function GetBookingOrderInfo(parameter) { + return axios({ + url: '/TaskManage/GetBookingOrderInfo', + method: 'get', + params: parameter + }) } /** * lara 记录 */ -export function LaraPaperRegistPost (parameter) { - return axios({ - url: '/TaskManage/LaraPaperRegistPost', - method: 'post', - data: parameter - }) +export function LaraPaperRegistPost(parameter) { + return axios({ + url: '/TaskManage/LaraPaperRegistPost', + method: 'post', + data: parameter + }) } /** * 发送SI */ -export function SendShippingOrder (parameter) { - return axios({ - url: '/TaskManage/SendShippingOrder', - method: 'get', - params: parameter - }) +export function SendShippingOrder(parameter) { + return axios({ + url: '/TaskManage/SendShippingOrder', + method: 'get', + params: parameter + }) } -export function GetSIFeedBackInfo (parameter) { - return axios({ - url: '/TaskManage/GetSIFeedBackInfo', - method: 'get', - params: parameter - }) +export function GetSIFeedBackInfo(parameter) { + return axios({ + url: '/TaskManage/GetSIFeedBackInfo', + method: 'get', + params: parameter + }) } -export function SaveBookingSI (parameter) { - return axios({ - url: '/TaskManage/SaveBookingSI', - method: 'post', +export function SaveBookingSI(parameter) { + return axios({ + url: '/TaskManage/SaveBookingSI', + method: 'post', data: parameter - }) + }) } -export function LaraPaperRecordExport (parameter) { - return axios({ - url: '/TaskManage/LaraPaperRecordExport', - method: 'get', - params: parameter - }) +export function LaraPaperRecordExport(parameter) { + return axios({ + url: '/TaskManage/LaraPaperRecordExport', + method: 'get', + params: parameter + }) } -export function GetVGMCompareResult (parameter) { - return axios({ - url: '/TaskManage/GetVGMCompareResult', - method: 'get', - params: parameter - }) +export function GetVGMCompareResult(parameter) { + return axios({ + url: '/TaskManage/GetVGMCompareResult', + method: 'get', + params: parameter + }) } -export function SaveBookingVGM (id) { - return axios({ - url: '/TaskManage/SaveBookingVGM?taskPKId=' + id, - method: 'post' - }) +export function SaveBookingVGM(id) { + return axios({ + url: '/TaskManage/SaveBookingVGM?taskPKId=' + id, + method: 'post' + }) } -export function AcceptChangeShip (parameter) { - return axios({ - url: '/TaskManage/AcceptChangeShip', - method: 'get', - params: parameter - }) +export function AcceptChangeShip(parameter) { + return axios({ + url: '/TaskManage/AcceptChangeShip', + method: 'get', + params: parameter + }) } -export function AcceptCancelChangeShip (parameter) { - return axios({ - url: '/TaskManage/AcceptCancelChangeShip', - method: 'get', - params: parameter - }) +export function AcceptCancelChangeShip(parameter) { + return axios({ + url: '/TaskManage/AcceptCancelChangeShip', + method: 'get', + params: parameter + }) } -export function GetChangeShipInfo (parameter) { - return axios({ - url: '/TaskManage/GetChangeShipInfo', - method: 'get', - params: parameter - }) +export function GetChangeShipInfo(parameter) { + return axios({ + url: '/TaskManage/GetChangeShipInfo', + method: 'get', + params: parameter + }) } -export function GetAbortChangeShipInfo (parameter) { - return axios({ - url: '/TaskManage/GetAbortChangeShipInfo', - method: 'get', - params: parameter - }) +export function GetAbortChangeShipInfo(parameter) { + return axios({ + url: '/TaskManage/GetAbortChangeShipInfo', + method: 'get', + params: parameter + }) } // 重新比对 -export function ManualReCompareBC (parameter) { - return axios({ - url: '/TaskManage/ManualReCompareBC?' + parameter, - method: 'post' - }) +export function ManualReCompareBC(parameter) { + return axios({ + url: '/TaskManage/ManualReCompareBC?' + parameter, + method: 'post' + }) } -export function DownloadClosingEDI (parameter) { - return axios({ - url: '/TaskManage/DownloadClosingEDI', - method: 'get', - params: parameter - }) +export function DownloadClosingEDI(parameter) { + return axios({ + url: '/TaskManage/DownloadClosingEDI', + method: 'get', + params: parameter + }) } -export function SendClosingEDI (parameter) { - return axios({ - url: '/TaskManage/SendClosingEDI', - method: 'get', - params: parameter - }) +export function SendClosingEDI(parameter) { + return axios({ + url: '/TaskManage/SendClosingEDI', + method: 'get', + params: parameter + }) } -export function CalcLaraPageNumbers (parameter) { - return axios({ - url: '/TaskManage/CalcLaraPageNumbers', - method: 'post', +export function CalcLaraPageNumbers(parameter) { + return axios({ + url: '/TaskManage/CalcLaraPageNumbers', + method: 'post', data: parameter - }) + }) } -export function GetLaraPaperRecordPage (parameter) { - return axios({ - url: '/TaskManage/GetLaraPaperRecordPage', - method: 'post', +export function GetLaraPaperRecordPage(parameter) { + return axios({ + url: '/TaskManage/GetLaraPaperRecordPage', + method: 'post', data: parameter - }) + }) } diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue index 3317cbe..dff0f93 100644 --- a/src/views/main/SendCar/addForm.vue +++ b/src/views/main/SendCar/addForm.vue @@ -8,7 +8,7 @@ @cancel="handleCancel" > -->
- + @@ -51,18 +51,19 @@