From e5c026331cf25e519128f7395a74dc1ef765b71f Mon Sep 17 00:00:00 2001 From: sunzehua Date: Mon, 1 Jul 2024 08:44:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 +- src/api/modular/main/BookingLedger.js | 46 +- src/router/generator-routers.js | 1 + .../BookingCustomerLedger/detail/index.vue | 132 +-- src/views/main/BookingDjy/detail/index.vue | 20 +- .../main/BookingGangjie/detail/index.vue | 35 +- .../detail/modules/basicInfo.vue | 21 +- src/views/main/BookingGangjie/list/index.vue | 16 + .../detail/childModules/mailBg.jpg | Bin 0 -> 28213 bytes .../detail/childModules/sendMail.vue | 394 ++++++++ src/views/main/BookingLedger/detail/index.vue | 31 +- .../detail/modules/operationArea.vue | 871 +++++++++++++----- src/views/main/BookingLedger/list/index.vue | 16 + .../BookingLedger/list/modules/initData.js | 16 + src/views/main/CabinManagement/details.vue | 10 +- src/views/main/CabinManagement/index.vue | 226 +++-- src/views/main/Customer/addForm.vue | 30 +- src/views/main/Customer/editForm.vue | 30 +- .../main/Taskmanage/TaskmanageList/index.vue | 291 ++++-- .../TaskmanageList/modules/initData.js | 26 +- src/views/main/customerParam/addItemForm.vue | 80 +- src/views/main/customerParam/editItemForm.vue | 102 +- src/views/main/mskOrderList/index.vue | 43 +- src/views/system/menu/addForm.vue | 14 +- src/views/system/menu/editForm.vue | 14 +- src/views/system/user/index.vue | 10 +- src/views/system/user/userOrgForm.vue | 93 +- 27 files changed, 1877 insertions(+), 695 deletions(-) create mode 100644 src/views/main/BookingLedger/detail/childModules/mailBg.jpg create mode 100644 src/views/main/BookingLedger/detail/childModules/sendMail.vue diff --git a/.env b/.env index c84d1c6..ab44d3d 100644 --- a/.env +++ b/.env @@ -1,9 +1,9 @@ NODE_ENV=production VUE_APP_PREVIEW=true # VUE_APP_TYPE = 'customer' -VUE_APP_TYPE = 'hechuan' +# VUE_APP_TYPE = 'hechuan' # VUE_APP_TYPE = 'yunyingduan' -# VUE_APP_TYPE = 'gangjie' +VUE_APP_TYPE = 'gangjie' # 打包部署的三个端 客户端customer 和川端hechuan 运营端djy # 和川大简云正式 diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index 0ec4c5b..0fcb470 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -518,9 +518,8 @@ export function BookingOrderDownloadPrint(parameter) { */ export function BookingOrderViewPrintPdf(parameter) { return axios({ - url: '/BookingOrder/ViewPrintPdf', - method: 'get', - params: parameter + url: '/BookingOrder/ViewPrintPdf/' + parameter, + method: 'get' }) } /** @@ -1260,6 +1259,15 @@ export function DownloadVOLTAEdiSI(parameter) { }) } +export function DownloadSLSEdiSI(parameter) { + return axios({ + url: '/BookingOrder/DownloadSLSEdiSI', + method: 'post', + data: parameter, + responseType: 'blob' + }) +} + export function BachUpdateShipagency(parameter) { return axios({ url: '/BookingOrder/BachUpdateShipagency', @@ -1647,4 +1655,36 @@ export function QueryShipInfoEMC(parameter) { method: 'get', params: parameter }) +} + +export function PrintTuoshu(parameter) { + return axios({ + url: '/BookingOrder/PrintTuoshu', + method: 'get', + params: parameter + }) +} + +export function SendTuoshu(parameter) { + return axios({ + url: '/BookingOrder/SendTuoshu', + method: 'post', + data: parameter + }) +} + +export function GetFileByName(parameter) { + return axios({ + url: '/BookingCustomerOrder/GetFileByName', + method: 'get', + params: parameter, + responseType: 'blob' + }) +} +export function CancelBook(parameter) { + return axios({ + url: '/BookingCustomerOrder/CancelBook', + method: 'post', + params: parameter + }) } \ No newline at end of file diff --git a/src/router/generator-routers.js b/src/router/generator-routers.js index 74e100d..e3cb285 100644 --- a/src/router/generator-routers.js +++ b/src/router/generator-routers.js @@ -1,4 +1,5 @@ import { BasicLayout, BlankLayout, PageView, RouteView, Iframe } from '@/layouts' +// 各个端用不同文件 但路由一样 const getDetail = () => { if (process.env.VUE_APP_TYPE === 'customer') { return 'ledgerCustomerDetail' diff --git a/src/views/main/BookingCustomerLedger/detail/index.vue b/src/views/main/BookingCustomerLedger/detail/index.vue index a395426..ad6f6e4 100644 --- a/src/views/main/BookingCustomerLedger/detail/index.vue +++ b/src/views/main/BookingCustomerLedger/detail/index.vue @@ -26,19 +26,19 @@ + has-feedback + prop="placereceiptid"> @@ -52,10 +52,10 @@ prop="portloadid"> @@ -64,17 +64,17 @@ @@ -82,30 +82,34 @@ -
- -
+ prop="destinationid"> +
- + has-feedback> + + {{ + item.code + }} + + @@ -113,27 +117,31 @@ -
- -
+ prop="bookingAccount"> + + {{ + item.account }} + +
+
+ + + @@ -142,22 +150,40 @@ label="航次" :labelCol="labelCol" :wrapperCol="wrapperCol" - has-feedback - prop="voyno"> - + has-feedback> + + + + + + - + prop="etd"> +
+ +
+ + 通过 驳回 发送API订舱 + + 作废 + 订单状态:{{ details.bsstatus }} 订单编号: {{ details.bookingno }} @@ -929,7 +937,8 @@ import { BookingCustomerOrderGet, BookingCustomerOrderSubmit, BookingCustomerOrderAuditBooking, - PostApiSO + PostApiSO, + CancelBook } from '@/api/modular/main/BookingLedger' import { mapGetters } from 'vuex' export default { @@ -1014,6 +1023,15 @@ export default { this.id = this.$route.query.id this.getDetail() }, + handleCancelBook() { + CancelBook({ id: this.$route.query.id }).then(res => { + if (res.success) { + this.$message.success('作废成功') + } else { + this.$message.error(res.message) + } + }) + }, init() { this.options = this.$options.filters['dictData']('booking_service_item') this.options.forEach(item => { diff --git a/src/views/main/BookingGangjie/detail/index.vue b/src/views/main/BookingGangjie/detail/index.vue index 2eb68cf..8307523 100644 --- a/src/views/main/BookingGangjie/detail/index.vue +++ b/src/views/main/BookingGangjie/detail/index.vue @@ -31,19 +31,23 @@
    -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • +
    +
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
    +
    已拆票
    +
    已合票
    @@ -56,7 +60,6 @@ :inPageLoading="inPageLoading" :isLockBooking="isLockBooking" isParent="parent" - @handleSaveService="handleSaveService" @changeDetail="changeDetailFun">
    diff --git a/src/views/main/BookingGangjie/detail/modules/basicInfo.vue b/src/views/main/BookingGangjie/detail/modules/basicInfo.vue index e977eb7..0b3d700 100644 --- a/src/views/main/BookingGangjie/detail/modules/basicInfo.vue +++ b/src/views/main/BookingGangjie/detail/modules/basicInfo.vue @@ -572,7 +572,22 @@ - + + + + + + - + - +
    + +