diff --git a/.env b/.env index c84d1c6..214e7c0 100644 --- a/.env +++ b/.env @@ -1,8 +1,8 @@ NODE_ENV=production VUE_APP_PREVIEW=true # VUE_APP_TYPE = 'customer' -VUE_APP_TYPE = 'hechuan' -# VUE_APP_TYPE = 'yunyingduan' +# VUE_APP_TYPE = 'hechuan' +VUE_APP_TYPE = 'yunyingduan' # VUE_APP_TYPE = 'gangjie' # 打包部署的三个端 客户端customer 和川端hechuan 运营端djy @@ -11,16 +11,16 @@ VUE_APP_TYPE = 'hechuan' # VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345 # 和川大简云测试 -VUE_APP_API_BASE_URL=http://60.209.125.238:35100 -VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_API_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 # 客户端测试 # VUE_APP_API_BASE_URL=http://60.209.125.238:30813 # VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:30813 # 运营端测试 -# VUE_APP_API_BASE_URL=http://60.209.125.238:30814 -# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:30814 +VUE_APP_API_BASE_URL=http://60.209.125.238:30814 +VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:30814 # 港捷 # VUE_APP_API_BASE_URL=http://118.190.144.189:5001 diff --git a/src/api/modular/main/CustomerInformationManagement.js b/src/api/modular/main/CustomerInformationManagement.js index 16bc530..e8b9043 100644 --- a/src/api/modular/main/CustomerInformationManagement.js +++ b/src/api/modular/main/CustomerInformationManagement.js @@ -83,3 +83,11 @@ export function DjyCustomerDetail(parameter) { params: parameter }) } + +export function BatchUpdate(parameter) { + return axios({ + url: '/DjyCustomer/BatchUpdate', + method: 'post', + data: parameter + }) +} \ No newline at end of file diff --git a/src/api/modular/main/TaskmanageList.js b/src/api/modular/main/TaskmanageList.js index 941cd3a..514a9a9 100644 --- a/src/api/modular/main/TaskmanageList.js +++ b/src/api/modular/main/TaskmanageList.js @@ -343,6 +343,13 @@ export function TaskManageBCSendEmai1(parameter) { params: parameter }) } +export function TaskTransPlanHasChange(parameter) { + return axios({ + url: '/TaskTransPlanHasChange/taskPKId', + method: 'get', + params: parameter + }) +} export function TaskManageBCGetCompareResult(parameter) { return axios({ url: '/TaskManageBC/GetCompareResult', @@ -591,6 +598,14 @@ export function GetInfoByTaskIdNotice(parameter) { }) } +export function GetInfoByTaskIdPlan(parameter) { + return axios({ + url: '/TaskTransPlanHasChange/GetInfoByTaskId', + method: 'get', + params: parameter + }) +} + export function GetInfoByTaskIdRoute(parameter) { return axios({ url: '/RouteChangeAdvisory/GetInfoByTaskId', @@ -606,7 +621,13 @@ export function QueryVesselVoynoBookingOrder(parameter) { params: parameter }) } - +export function QueryBookingOrderPlan(parameter) { + return axios({ + url: '/TaskTransPlanHasChange/QueryBookingOrder', + method: 'get', + params: parameter + }) +} export function BatchSendEmailToCustomer(parameter) { return axios({ url: '/RouteChangeAdvisory/BatchSendEmailToCustomer', diff --git a/src/router/generator-routers.js b/src/router/generator-routers.js index f595908..74e100d 100644 --- a/src/router/generator-routers.js +++ b/src/router/generator-routers.js @@ -69,6 +69,7 @@ const constantRouterComponents = { cutTime: () => import('@/views/main/Taskmanage/cutTime/index'), cutChange: () => import('@/views/main/Taskmanage/cutChange/index'), cautionNotice: () => import('@/views/main/Taskmanage/cautionNotice/index'), + trnasPlan: () => import('@/views/main/Taskmanage/trnasPlan/index'), draft: () => import('@/views/main/Taskmanage/draft/index'), POD_GATEOUT_FULL: () => import('@/views/main/Taskmanage/POD_GATEOUT_FULL/index'), POD_DISCHARGE_FULL: () => import('@/views/main/Taskmanage/POD_DISCHARGE_FULL/index'), @@ -268,6 +269,17 @@ const userAccount = [ }, component: 'cautionNotice' }, + { + name: 'trnasPlan', + path: '/commontaskmanage/trnasPlan', + pid: 0, + id: 183110, + meta: { + title: '运输计划变更通知', + show: false + }, + component: 'trnasPlan' + }, { name: 'draft', path: '/commontaskmanage/draft', diff --git a/src/views/main/BookingCustomerLedger/detail/index.vue b/src/views/main/BookingCustomerLedger/detail/index.vue index aef0c8f..f23a001 100644 --- a/src/views/main/BookingCustomerLedger/detail/index.vue +++ b/src/views/main/BookingCustomerLedger/detail/index.vue @@ -704,6 +704,43 @@ + + 其他信息 +
+ + + + {{ details.contractType }} + + + + + {{ details.serviceType }} + + + + + {{ details.serviceMode }} + + + +
+
- {{ details.extendData.Account }} + {{ details.bookingAccount }} @@ -552,7 +552,7 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> - {{ details.extendData.Password }} + {{ details.bookingPassword }} @@ -562,7 +562,7 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> - {{ details.extendData.ContactName }} + {{ details.contactName }} @@ -572,7 +572,7 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> - {{ details.extendData.ContactTel }} + {{ details.contactTel }} @@ -584,7 +584,7 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> - {{ details.extendData.OpMail }} + {{ details.opMail }} @@ -594,7 +594,7 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> - {{ details.extendData.YSFS }} + {{ details.serviceType }} @@ -604,7 +604,7 @@ :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> - {{ details.extendData.YSXT }} + {{ details.serviceMode }} @@ -837,7 +837,7 @@ export default { res.data.extendData = {} } if (res.data.carrierid === 'EMC') { - res.data.contractno = res.data.extendData.ContractType + '-' + res.data.contractno + res.data.contractno = res.data.contractType ? res.data.contractType : '' + '-' + res.data.contractno } this.details = res.data if (Object.keys(this.details.files).length > 0) { diff --git a/src/views/main/CabinManagement/details.vue b/src/views/main/CabinManagement/details.vue index f7ccbde..dea05ba 100644 --- a/src/views/main/CabinManagement/details.vue +++ b/src/views/main/CabinManagement/details.vue @@ -108,7 +108,7 @@
{{ type === 'Add' ? '舱位新增' : '舱位修改' }}
- + @@ -311,6 +311,55 @@ + + + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ item.name }} + + + +
截止时间
@@ -542,6 +591,9 @@ export default { fetching: false, UserList1: [], UserList: [], + UserList2: [], + UserListAll:[], + UserList3: [], id: 0, oldBook: [], dataSource: [], @@ -732,12 +784,15 @@ export default { created() { this.type = this.$route.query.type this.id = this.$route.query.id ? this.$route.query.id : '' - DjyCustomerSuggest({ keyword: '' }).then(res => { + DjyCustomerSuggest({ keyword: '', type: 'consignor' }).then(res => { this.CustomerList = res.data.rows }) GetSysUserPage().then(res => { this.UserList = JSON.parse(JSON.stringify(res.data)) this.UserList1 = JSON.parse(JSON.stringify(res.data)) + this.UserList2 = JSON.parse(JSON.stringify(res.data)) + this.UserList3 = JSON.parse(JSON.stringify(res.data)) + this.UserListAll = JSON.parse(JSON.stringify(res.data)) }) if (this.type === 'Edit') { this.getDetail() @@ -801,6 +856,24 @@ export default { }, handlePageChange() { + }, + SearchUser(e, type) { + if (e) { + GetSysUserPage({ name: e }).then(res => { + if (type === 0) { + this.UserList = res.data + } + if (type === 1) { + this.UserList1 = res.data + } + if (type === 2) { + this.UserList2 = res.data + } + if (type === 3) { + this.UserList3 = res.data + } + }) + } }, getDetail() { this.loading = true @@ -808,6 +881,14 @@ export default { if (res.success) { this.form = res.data if (this.form.bookingSlotSaleInfoList) { + this.form.bookingSlotSaleInfoList.forEach(item => { + if (item.custserviceid) { + item.custserviceid = Number(item.custserviceid) + } + if (item.saleid) { + item.saleid = Number(item.saleid) + } + }) this.oldBook = JSON.parse(JSON.stringify(this.form.bookingSlotSaleInfoList)) } } else { @@ -863,6 +944,20 @@ export default { } }) } + if (type === 2) { + this.UserList2.forEach(item => { + if (item.id == e) { + this.form[Tname] = item.name + } + }) + } + if (type === 3) { + this.UserList3.forEach(item => { + if (item.id == e) { + this.form[Tname] = item.name + } + }) + } } else { if (type === 0) { this.UserList = JSON.parse(JSON.stringify(this.UserListAll)) @@ -932,18 +1027,6 @@ export default { } }) }, - SearchUser(e, type) { - if (e) { - GetSysUserPage({ name: e }).then(res => { - if (type === 0) { - this.UserList = res.data - } - if (type === 1) { - this.UserList1 = res.data - } - }) - } - }, handleClick(item) { item.flag = !item.flag const arr = [] diff --git a/src/views/main/Customer/index.vue b/src/views/main/Customer/index.vue index c8e80a1..49f55dc 100644 --- a/src/views/main/Customer/index.vue +++ b/src/views/main/Customer/index.vue @@ -1,8 +1,5 @@