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 @@ - + + + + + + - + - +
    + +