diff --git a/.env b/.env index 33e92d4..c84d1c6 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 # 和川大简云正式 @@ -11,8 +11,8 @@ VUE_APP_TYPE = 'gangjie' # 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 @@ -23,8 +23,8 @@ VUE_APP_TYPE = 'gangjie' # VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:30814 # 港捷 -VUE_APP_API_BASE_URL=http://118.190.144.189:5001 -VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001 +# VUE_APP_API_BASE_URL=http://118.190.144.189:5001 +# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001 # 客户端正式 # VUE_APP_API_BASE_URL=http://118.190.144.189:6001 diff --git a/src/components/generation/index.vue b/src/components/generation/index.vue new file mode 100644 index 0000000..225d626 --- /dev/null +++ b/src/components/generation/index.vue @@ -0,0 +1,506 @@ + + + + + diff --git a/src/mixin/index.js b/src/mixin/index.js index f474391..91adb57 100644 --- a/src/mixin/index.js +++ b/src/mixin/index.js @@ -69,6 +69,7 @@ export const sortMixin = { const query = { typeArr: [this.sortMixinForm.column, this.sortMixinForm.page, this.sortMixinForm.sort] } + this.loading = true DjyUserConfigMulti(this.$qs.stringify(query)).then(res => { const arr = [] res.data.forEach(item => { @@ -181,6 +182,8 @@ export const sortMixin = { } this.queryParam.PageNo = currentPage this.queryParam.PageSize = pageSize + this.queryParam.pageNo = currentPage + this.queryParam.pageSize = pageSize this.getList() }, } diff --git a/src/views/main/CabinInventory/index.vue b/src/views/main/CabinInventory/index.vue index 840215c..ed77879 100644 --- a/src/views/main/CabinInventory/index.vue +++ b/src/views/main/CabinInventory/index.vue @@ -64,10 +64,11 @@ -
+
- 查询 + 查询 重置 +
@@ -160,44 +161,38 @@ export default { align: 'center', width: '160', field: 'vessel', - fixed: 'left', slots: { default: 'vessel' } }, { title: '订舱抬头', align: 'center', width: '160', - field: 'bookinG_PARTY', - fixed: 'left' + field: 'bookinG_PARTY' }, { title: '合约号', align: 'center', width: '160', - field: 'contracT_NO', - fixed: 'left' + field: 'contracT_NO' }, { title: '订舱方式', align: 'center', width: '160', - field: 'bookinG_SLOT_TYPE_NAME', - fixed: 'left' + field: 'bookinG_SLOT_TYPE_NAME' }, { title: '总库存', align: 'center', width: '100', - field: 'totaL_ORDERS', - fixed: 'left' + field: 'totaL_ORDERS' }, { title: '剩余库存', align: 'center', width: '100', field: 'remaiN_CTNS_NUM', - slots: { default: 'remaiN_CTNS_NUM' }, - fixed: 'left' + slots: { default: 'remaiN_CTNS_NUM' } }, { title: '取消库存', @@ -205,12 +200,133 @@ export default { width: '100', field: 'portdischarge' }, + { + title: '发货地', + align: 'center', + width: '100', + field: 'placedelivery' + }, + { + title: '收货地', + align: 'center', + width: '100', + field: 'placereceipt' + }, + { + title: 'WEEK', + align: 'center', + width: '150', + field: 'weeK_AT' + }, + { + title: '航线', + align: 'center', + width: '100', + field: 'lanename' + }, + { + title: '箱型箱量', + align: 'center', + width: '100', + field: 'ctN_STAT' + }, + { + title: '剩余箱型箱量', + align: 'center', + width: '110', + field: 'remaiN_CTN_STAT' + }, + { + title: 'ETD', + align: 'center', + width: '100', + field: 'etd', + slots: { default: 'etd' } + }, + { + title: 'ETA', + align: 'center', + width: '100', + field: 'eta', + slots: { default: 'eta' } + }, + { + title: '船公司', + align: 'center', + width: '150', + field: 'carrier' + }, + { + title: '操作', + align: 'center', + field: 'caozuo', + slots: { default: 'caozuo' }, + width: 100, + fixed: 'right' + } + ], + columnsAll: [ + { + title: '船名/航次', + align: 'center', + width: '160', + field: 'vessel', + slots: { default: 'vessel' } + }, + { + title: '订舱抬头', + align: 'center', + width: '160', + field: 'bookinG_PARTY' + }, + { + title: '合约号', + align: 'center', + width: '160', + field: 'contracT_NO' + }, + { + title: '订舱方式', + align: 'center', + width: '160', + field: 'bookinG_SLOT_TYPE_NAME' + }, + { + title: '总库存', + align: 'center', + width: '100', + field: 'totaL_ORDERS' + }, + { + title: '剩余库存', + align: 'center', + width: '100', + field: 'remaiN_CTNS_NUM', + slots: { default: 'remaiN_CTNS_NUM' } + }, + { + title: '取消库存', + align: 'center', + width: '100', + field: 'portdischarge' + }, + { + title: '发货地', + align: 'center', + width: '100', + field: 'placedelivery' + }, + { + title: '收货地', + align: 'center', + width: '100', + field: 'placereceipt' + }, { title: 'WEEK', align: 'center', width: '150', - field: 'weeK_AT', - fixed: 'left' + field: 'weeK_AT' }, { title: '航线', @@ -266,7 +382,7 @@ export default { }, created() { }, mounted() { - this.FnGetData() + this.getConfigStart() }, methods: { FnTurnD(data) { @@ -287,12 +403,12 @@ export default { handlePageChange({ currentPage, pageSize }) { this.queryParam.currentPage = currentPage this.queryParam.pageSize = pageSize - this.FnGetData() + this.getList() }, - FnGetData() { + getList() { this.loading = true this.form.pageSize = this.queryParam.pageSize - this.form.PageNo = this.queryParam.currentPage + this.form.PageNo = this.queryParam.PageNo if (this.form.ctN_STAT) { this.form.ctN_STAT = this.form.ctN_STAT.join(',') } @@ -317,6 +433,8 @@ export default { vessel: row.vessel, voyno: row.voyno, contracT_NO: row.contracT_NO, + placereceipt: row.placereceipt, + placedelivery: row.placedelivery, bookinG_SLOT_TYPE: row.bookinG_SLOT_TYPE, carrierid: row.carrierid } @@ -324,7 +442,7 @@ export default { BookingSlotRefreshStock(data).then(res => { if (res.success) { this.$message.success('刷新成功') - this.FnGetData() + this.getList() } else { this.$message.error(res.message) this.loading = false diff --git a/src/views/main/CabinManagement/index.vue b/src/views/main/CabinManagement/index.vue index 0b94752..d628e5e 100644 --- a/src/views/main/CabinManagement/index.vue +++ b/src/views/main/CabinManagement/index.vue @@ -230,209 +230,7 @@ - - - - - - - - - {{ item.shortName }} - - - - - - - - - - {{ item.name }} - - - - - - - - - {{ item.name }} {{ item.email }} - - - - - - - - {{ item.name }} - - - - - - - - - {{ item.name }} - - - - - - - - - {{ item.name }} - - - - - - - - - - - {{ item.name }} - - - - - - - - - {{ item.name }} - - - - - - - - - {{ item.name }} - - - - - - - - - - - - - - - - - - - - - - -
-
- {{ serive.serviceProjectName }} -
-
-
-
-
-
-
+