查询
重置
@@ -1125,7 +1130,9 @@
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange, type: 'radio', }"
:scroll="{ x: 1200, y: 500 }"
size="small"
- :pagination="false"
+ :pagination="paginationCab"
+ :loading="cabLoad"
+ @change="tablePaginationChangeCab"
:columns="cabinColums"
:data-source="cabinList">
{{ record.vessel }}/{{ record.voyno }}
@@ -1225,6 +1232,7 @@ export default {
cabinLoad: false,
cabinShow: true,
boxRemaining: '',
+ cabLoad: false,
boxTotal: '',
selectedRowKeys: [],
tearFlag: false,
@@ -1408,6 +1416,13 @@ export default {
pageSizeOptions: ['1', '10', '20', '40', '80', '100'],
pageSize: 10
},
+ paginationCab: {
+ current: 1,
+ total: 0, // 总数
+ showSizeChanger: true,
+ pageSizeOptions: ['1', '10', '20', '40', '80', '100'],
+ pageSize: 20
+ },
hisColums: [
{
title: '创建人',
@@ -1847,9 +1862,12 @@ export default {
if (this.cabinQueryForm.ctN_STAT) {
this.cabinQueryForm.ctN_STAT = this.cabinQueryForm.ctN_STAT.join(',')
}
+ this.cabLoad = true
+ this.cabinQueryForm.PageSize = this.paginationCab.PageSize
+ this.cabinQueryForm.PageNo = this.paginationCab.current
BookingSlotGetAvailableSlots(this.cabinQueryForm).then(res => {
if (res.success) {
- res.data.forEach(item => {
+ res.data.items.forEach(item => {
item.ctN_STAT = ''
if (item.ctnList) {
item.ctnListCopy = JSON.parse(JSON.stringify(item.ctnList))
@@ -1859,10 +1877,12 @@ export default {
ite.maxNum = JSON.parse(JSON.stringify(ite.ctnnum))
})
})
- this.cabinList = res.data
+ this.cabinList = res.data.items
+ this.paginationCab.total = res.data.totalCount
} else {
this.$message.error(res.message)
}
+ this.cabLoad = false
})
},
onSelectChange(selectedRowKeys) {
@@ -1980,6 +2000,11 @@ export default {
this.pagination.pageSize = pagination.pageSize
this.getList()
},
+ tablePaginationChangeCab(pagination) {
+ this.paginationCab.current = pagination.current
+ this.paginationCab.pageSize = pagination.pageSize
+ this.getCabinList()
+ },
handleSearch() {
this.getList()
},
@@ -2413,6 +2438,7 @@ export default {
this.getVgmLink()
} else if (type === 'cabinSpace') {
this.cabinSpaceFlag = true
+ this.cabinList = []
this.getCabinList()
}
},
@@ -2881,7 +2907,15 @@ export default {
this.$emit('copy')
},
addChild() {
- this.$emit('addSedList')
+ if (process.env.VUE_APP_TYPE === 'hechuan') {
+ if (!this.details.hblno) {
+ this.$message.error('请输入分提单号')
+ } else {
+ this.$emit('addSedList')
+ }
+ } else {
+ this.$emit('addSedList')
+ }
},
downLoadFile(type, type2) {
if (!this.id || !this.initCabinFrom.id) {
diff --git a/src/views/main/BookingLedger/detail/modules/sedOrder.vue b/src/views/main/BookingLedger/detail/modules/sedOrder.vue
index db19323..58c0a5f 100644
--- a/src/views/main/BookingLedger/detail/modules/sedOrder.vue
+++ b/src/views/main/BookingLedger/detail/modules/sedOrder.vue
@@ -657,6 +657,10 @@ export default {
this.$message.error('请输入分提单号')
return false
}
+ if (!this.editDetails.foreignAgent) {
+ this.$message.error('请输入境外代理')
+ return false
+ }
let basicFrom = true
this.$refs.basicInfo.$refs.basicFrom.validate((valid, err) => {
console.log(err)
diff --git a/src/views/main/CabinInventory/index.vue b/src/views/main/CabinInventory/index.vue
index 2023c4f..2576769 100644
--- a/src/views/main/CabinInventory/index.vue
+++ b/src/views/main/CabinInventory/index.vue
@@ -194,7 +194,7 @@ export default {
},
form: {},
firstFlag: false,
- country:[],
+ country: [],
sortMixinForm: {
column: 'CabinInventory_list_column',
setting: 'CabinInventorySetting',
@@ -248,7 +248,7 @@ export default {
title: '取消库存',
align: 'center',
width: '100',
- field: 'portdischarge'
+ field: 'canceL_NUM'
},
{
title: '收货地',
@@ -274,6 +274,12 @@ export default {
width: '100',
field: 'placedelivery'
},
+ {
+ title: '卸货港国家',
+ align: 'center',
+ width: '100',
+ field: 'portdischargE_COUNTRY'
+ },
{
title: 'WEEK',
align: 'center',
@@ -370,7 +376,7 @@ export default {
title: '取消库存',
align: 'center',
width: '100',
- field: 'portdischarge'
+ field: 'canceL_NUM'
},
{
title: '收货地',
@@ -396,6 +402,12 @@ export default {
width: '100',
field: 'placedelivery'
},
+ {
+ title: '卸货港国家',
+ align: 'center',
+ width: '100',
+ field: 'portdischargE_COUNTRY'
+ },
{
title: 'WEEK',
align: 'center',
@@ -549,7 +561,6 @@ export default {
contracT_NO: row.contracT_NO,
portloadid: row.portloadid,
portdischargeid: row.portdischargeid,
- placedelivery: row.placedelivery,
bookinG_SLOT_TYPE: row.bookinG_SLOT_TYPE,
carrierid: row.carrierid
}
diff --git a/src/views/main/CabinManagement/details.vue b/src/views/main/CabinManagement/details.vue
index b096aca..f10fde2 100644
--- a/src/views/main/CabinManagement/details.vue
+++ b/src/views/main/CabinManagement/details.vue
@@ -94,7 +94,7 @@
-
+
@@ -261,7 +261,7 @@
-
+
@@ -271,7 +271,7 @@
-
+
diff --git a/src/views/main/CabinManagement/index.vue b/src/views/main/CabinManagement/index.vue
index a7d800a..8927edb 100644
--- a/src/views/main/CabinManagement/index.vue
+++ b/src/views/main/CabinManagement/index.vue
@@ -162,6 +162,20 @@
+
+
+
+
+ {{ item.name }}
+
+
+
+
@@ -179,6 +193,7 @@
-
船名/航次:{{ item.fromShip.vessel }} / {{ item.fromShip.voyNo }}
+
船名/航次:{{ item.fromShip.vessel }} / {{
+ item.fromShip.voyNo }}
{{ item.fromShip.port }}
-
ETD:{{ item.fromShip.etd }}
+
ETD:{{ item.fromShip.etd
+ }}
{{ item.fromShip.terminal }}
@@ -391,6 +393,51 @@
+
+
+
+
+
+
+
+ {{ item.displayName }}
+
+
+
+
+
+
+ 原船
+ 船名/航次:{{ sendShip.fromShip.vessel }} / {{ sendShip.fromShip.voyNo }}
+ ETD:{{ sendShip.fromShip.etd ? sendShip.fromShip.etd.substring(0, 10) : ''
+ }}
+ {{ sendShip.fromShip.terminal }}
+
+
+
+ 新船:{{ index + 1 }}VslCode:{{ toData.vslCode }} String:{{
+ toData.shipString }}
+ 船名/航次:{{ toData.vessel }} / {{ toData.voyNo }}
+ {{ toData.terminal }}
+ ETD:{{ toData.etd ? toData.etd.substring(0, 10) : '' }}
+
+
+
+
+ 预甩通知
+
+
+
+
+
+ 取消
+ 发送
+
+