-
@@ -635,7 +606,7 @@ export default {
return (
)
@@ -1919,6 +1890,12 @@ export default {
this.tableData = []
const lastNum = this.tableData.length > 0 ? Number(this.tableData[this.tableData.length - 1].rowKey) + 1 : 0
const yardSetArr = localStorage.getItem('booking_form_yard') ? JSON.parse(localStorage.getItem('booking_form_yard')) : []
+ const arr = []
+ yardSetArr.forEach(item => {
+ if (item.code === 'VESSEL' || item.code === 'VOYNO') {
+ arr.push(1)
+ }
+ })
const ctnSetArr = []
const infoSetArr = []
yardSetArr.forEach(item => {
@@ -1967,19 +1944,42 @@ export default {
})
}
this.tableData = [...this.tableData, ...addTable]
- if (infoSetArr.length > 0) {
- const arr = []
- infoSetArr.forEach(item => {
- for (const key in data[0]) {
- if (item.code === key) {
- item.value = data[0][key]
- arr.push(item)
+ if ((data[0].VESSEL || data[0].VOYNO) && (this.details.vessel || this.details.voyno) && arr.length > 0) {
+ const that = this
+ this.$confirm({
+ title: '提示',
+ content: '已经录入船名航次,是否要覆盖',
+ onOk() {
+ if (infoSetArr.length > 0) {
+ const arr = []
+ infoSetArr.forEach(item => {
+ for (const key in data[0]) {
+ if (item.code === key) {
+ item.value = data[0][key]
+ arr.push(item)
+ }
+ }
+ })
+ that.$emit('getInfoSet', arr)
}
+ that.$forceUpdate()
}
- })
- this.$emit('getInfoSet', arr)
+ });
+ } else {
+ if (infoSetArr.length > 0) {
+ const arr = []
+ infoSetArr.forEach(item => {
+ for (const key in data[0]) {
+ if (item.code === key) {
+ item.value = data[0][key]
+ arr.push(item)
+ }
+ }
+ })
+ this.$emit('getInfoSet', arr)
+ }
+ this.$forceUpdate()
}
- this.$forceUpdate()
} else {
this.$message.error(res.message)
}
diff --git a/src/views/main/BookingGangjie/list/index.vue b/src/views/main/BookingGangjie/list/index.vue
index 7d6741f..e6928e2 100644
--- a/src/views/main/BookingGangjie/list/index.vue
+++ b/src/views/main/BookingGangjie/list/index.vue
@@ -317,7 +317,7 @@
-
+
@@ -332,14 +332,19 @@
{{ item.fcopTime }}
-
+
提箱
-
+
返场
+
未提:{{ row.txopNumber }}/{{ row.statuslogs1.length }}
@@ -2828,6 +2833,15 @@ export default {
})
})
}
+ if (item.statuslogs1.length > 0) {
+ let num1 = item.statuslogs1.length
+ item.statuslogs1.forEach(item => {
+ if (item.txopTime) {
+ num1 -= 1
+ }
+ })
+ item.txopNumber = num1
+ }
if (item.bsstatusname) {
if (this.statusDIct) {
this.statusDIct.forEach(ite => {
diff --git a/src/views/main/BookingLedger/detail/modules/preOrder.vue b/src/views/main/BookingLedger/detail/modules/preOrder.vue
index ce2bf9a..012a7b9 100644
--- a/src/views/main/BookingLedger/detail/modules/preOrder.vue
+++ b/src/views/main/BookingLedger/detail/modules/preOrder.vue
@@ -156,19 +156,21 @@
:xl="4">
+ @change="getSelectViewRes"
+ >
@@ -1974,6 +1976,7 @@ export default {
yard: $details.yard,
ediCtn: []
}
+ console.log($data)
if (!isHBL || type === 'enter') {
$details.ctnInputs.forEach((item) => {
$data.ediCtn.push({
@@ -2328,7 +2331,7 @@ export default {
},
getSelectViewRes({ type, res }) {
if (['shipagency'].includes(type)) {
- this.orderDetails.forwarder = res.name || ''
+ this.orderDetails.forwarder = res.name || res.forwarder || ''
} else if (['shippername', 'notifypartyname', 'consigneename'].includes(type)) {
this.orderDetails[type] = res.title || ''
this.orderDetails[type.replace('name', 'addR1')] = res.content || ''
@@ -2387,6 +2390,7 @@ export default {
} else if (['portloadid', 'portdischargeid', 'placedeliveryid'].includes(type)) {
this.orderDetails[type] = res['ediCode'] || ''
this.orderDetails[type.replace('id', '')] = res['enName'] || ''
+ this.orderDetails.forwarder = ''
}
console.log('== 模糊搜索后的预定舱 ==', this.orderDetails)
},
diff --git a/src/views/main/BookingLedger/list/index.vue b/src/views/main/BookingLedger/list/index.vue
index 0812038..0e85678 100644
--- a/src/views/main/BookingLedger/list/index.vue
+++ b/src/views/main/BookingLedger/list/index.vue
@@ -311,7 +311,7 @@
-
+
@@ -338,6 +338,7 @@
+
未提:{{ row.txopNumber }}/{{ row.statuslogs1.length }}
@@ -1355,7 +1356,7 @@ export default {
return {
spinning: false,
isUpload: false,
- deletLoad:false,
+ deletLoad: false,
webDataTitle: '',
serviceFlag: false,
serviceFd: '',
@@ -2836,6 +2837,15 @@ export default {
})
})
}
+ if (item.statuslogs1.length > 0) {
+ let num1 = item.statuslogs1.length
+ item.statuslogs1.forEach(item => {
+ if (item.txopTime) {
+ num1 -= 1
+ }
+ })
+ item.txopNumber = num1
+ }
if (item.bsstatusname) {
if (this.statusDIct) {
this.statusDIct.forEach(ite => {
diff --git a/src/views/main/CommondbPortFoward/addForm.vue b/src/views/main/CommondbPortFoward/addForm.vue
index 1cb49e6..7f28f8e 100644
--- a/src/views/main/CommondbPortFoward/addForm.vue
+++ b/src/views/main/CommondbPortFoward/addForm.vue
@@ -41,7 +41,7 @@
:not-found-content="null"
>
- {{ item.name }}
+ {{ item.name }} / {{ item.showCode }}
diff --git a/src/views/main/Taskmanage/BCModify/index.vue b/src/views/main/Taskmanage/BCModify/index.vue
index 510b425..efe18ed 100644
--- a/src/views/main/Taskmanage/BCModify/index.vue
+++ b/src/views/main/Taskmanage/BCModify/index.vue
@@ -297,6 +297,11 @@
完成任务
+
+
+ 生 成
+
+
取消任务
@@ -330,7 +335,7 @@
-
+
直接生成舱位和订舱
@@ -344,6 +349,7 @@
匹配已有订舱
+ 是否直接发送邮件给订舱联系人
订舱录入
@@ -368,13 +374,14 @@
+ >
{{ item.name }}
@@ -445,6 +452,26 @@
+
+
+ {
+ ChangeUser(e, 'custserviceName')
+ }
+ ">
+
+ {{ item.name }}
+
+
+
+
{
+ if (item.id == this.userInfo.id) {
+ this.CreateData.opId = item.id
+ this.CreateData.opName = item.name
+ }
+ })
+ this.visible = true
+ },
getList() {
this.spinning = true
const ApiData = {