-
{{ type === 'Add' ? '舱位新增' : '舱位修改' }}
+ 关联订舱
+
+
+
+
+
+
+
+ {{ item1.shortName }}
+
+
+
+
+
+
+ {
+ ChangeUser(e, 'custserviceName', 0,index)
+ }
+ ">
+
+ {{ item1.name }}
+
+
+
+
+
+
+ {
+ ChangeUser(e, 'sale', 1,index)
+ }
+ ">
+
+ {{ item1.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ type === 'Add' ? '舱位新增' : '舱位修改' }}
@@ -99,16 +189,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -122,6 +202,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -147,7 +237,8 @@
- {{ item.cnName
+ {{
+ item.cnName
}}
@@ -161,18 +252,23 @@
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
@@ -218,7 +314,8 @@
费用
@@ -365,7 +462,7 @@ import { mapGetters } from 'vuex'
import events from '@/components/MultiTab/events'
import { AutoComplete } from 'ant-design-vue'
import {
- getVesselInfoService, BookingOrderDownload
+ getVesselInfoService, BookingOrderDownload, DjyCustomerSuggest, GetSysUserPage
} from '@/api/modular/main/BookingLedger'
import {
BookingSlotSave, BookingSlotDetail, BookingSlotDelete, BookingSlotGetFile
@@ -400,7 +497,10 @@ export default {
portloadidInitList: [],
portdischargeidInitList: [],
boxList: [],
+ CustomerList: [],
type: '',
+ UserList1: [],
+ UserList: [],
id: 0,
dataSource: [],
columns: [
@@ -590,6 +690,13 @@ export default {
created() {
this.type = this.$route.query.type
this.id = this.$route.query.id ? this.$route.query.id : ''
+ DjyCustomerSuggest({ keyword: '' }).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))
+ })
if (this.type === 'Edit') {
this.getDetail()
}
@@ -602,6 +709,11 @@ export default {
return ''
}
},
+ SearchCustomer(e) {
+ DjyCustomerSuggest({ keyword: e }).then(res => {
+ this.CustomerList = res.data.rows
+ })
+ },
getFileList() {
BookingSlotGetFile({ id: this.id }).then(res => {
if (res.success) {
@@ -676,6 +788,32 @@ export default {
this.loading = false
})
},
+ ChangeUser(e, Tname, type, index) {
+ if (e) {
+ if (type === 0) {
+ this.UserList.forEach(item => {
+ if (item.id == e) {
+ this.form.bookingSlotSaleInfoList[index][Tname] = item.name
+ }
+ })
+ }
+ if (type === 1) {
+ this.UserList1.forEach(item => {
+ if (item.id == e) {
+ this.form.bookingSlotSaleInfoList[index][Tname] = item.name
+ }
+ })
+ }
+ } else {
+ if (type === 0) {
+ this.UserList = JSON.parse(JSON.stringify(this.UserListAll))
+ }
+ if (type === 1) {
+ this.UserList1 = JSON.parse(JSON.stringify(this.UserListAll))
+ }
+ }
+ this.$forceUpdate()
+ },
handleSave() {
console.log(this.form)
if (this.form.bookinG_SLOT_TYPE === 'CONTRACT_ORDER') {
@@ -697,7 +835,7 @@ export default {
}
})
}
- this.form.weeK_AT = 'W' + this.etdWeek
+ // this.form.weeK_AT = 'W' + this.etdWeek
this.form.ctN_STAT = this.boxTotal
this.loading = true
BookingSlotSave(this.form).then(res => {
@@ -712,6 +850,18 @@ 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 = []
@@ -752,6 +902,7 @@ export default {
/deep/ .ant-input-number-handler-wrap {
opacity: 1;
}
+
.main {
display: flex;
}
@@ -814,13 +965,13 @@ export default {
.item-left {
background: #f59a23;
- color: white;
- text-align: center;
- height: 24px;
- line-height: 24px;
- display: inline-block;
- padding: 0 5px;
- font-size: 12px;
+ color: white;
+ text-align: center;
+ height: 24px;
+ line-height: 24px;
+ display: inline-block;
+ padding: 0 5px;
+ font-size: 12px;
}
}
}
@@ -1107,5 +1258,11 @@ export default {
}
}
}
-
+.line-bootm{
+ border-bottom: 1px dashed #696767;
+ margin-bottom: 10px;
+}
+/deep/ .ant-form-item{
+ margin-bottom: 10px !important;
+}
diff --git a/src/views/main/CabinManagement/index.vue b/src/views/main/CabinManagement/index.vue
index d628e5e..4d01fd3 100644
--- a/src/views/main/CabinManagement/index.vue
+++ b/src/views/main/CabinManagement/index.vue
@@ -9,6 +9,21 @@
+
+
+
+
+ 全部
+
+
+ 未取消
+
+
+ 已取消
+
+
+
+
@@ -20,18 +35,13 @@
-
-
-
-
-
-
-
+
+
-
-
+
+
@@ -43,18 +53,13 @@
-
-
-
-
-
-
-
+
+
-
-
+
+
@@ -68,47 +73,25 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
- 直达
-
-
- 中转
-
-
-
-
-
-
-
-
- 合约订舱
-
-
- SPOT订舱
-
-
+
+
-
-
- {{ item.name
- }}
-
+
+
@@ -135,11 +118,48 @@
+
+
+
+
+ 直达
+
+
+ 中转
+
+
+
+
+
+
+
+
+ 合约订舱
+
+
+ SPOT订舱
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name
+ }}
+
@@ -179,12 +199,32 @@
@cell-dblclick="handledbclick"
@sort-change="tableSortChange"
@resizable-change="resizableChange"
+ :expand-config="{visibleMethod: expandVisibleMethod}"
@checkbox-change="checkboxChangeEvent"
- height="600px"
+ :height="tableHeight"
empty-text="没有更多数据了!">
{{ row.vessel }}/{{ row.voyno }}
+
+ {{ row.sloT_BOOKING_NO }}
+
+
+
+
+
+
+
+
+
+
+
+
0) {
+ return true
+ } else {
+ return false
+ }
+ },
customRequest(data) {
this.isUpload = true;
this.percent = 0;
@@ -912,6 +953,7 @@ export default {
this.loading = true
this.form.pageSize = this.queryParam.pageSize
this.form.PageNo = this.queryParam.PageNo
+
if (this.form.ctN_STAT) {
this.form.ctN_STAT = this.form.ctN_STAT.join(',')
}
diff --git a/src/views/main/Taskmanage/draft/index.vue b/src/views/main/Taskmanage/draft/index.vue
index b3c3b1c..2a133a7 100644
--- a/src/views/main/Taskmanage/draft/index.vue
+++ b/src/views/main/Taskmanage/draft/index.vue
@@ -359,7 +359,10 @@
fileCategory: this.fileCategory
}
DraftDownloadFile(ApiData).then(res => {
+ console.log(res)
+ if (res.byteLength > 150) {
this.pdfUrl = window.URL.createObjectURL(new Blob([res], { type: 'application/pdf;charset=utf-8' }))
+ }
this.spinning = false
})
},
diff --git a/src/views/main/mskOrderList/index.vue b/src/views/main/mskOrderList/index.vue
index 8a67d35..5916e7b 100644
--- a/src/views/main/mskOrderList/index.vue
+++ b/src/views/main/mskOrderList/index.vue
@@ -591,6 +591,7 @@ export default {
this.copyflag = true
},
getConfigStart() {
+ this.loading = true
const arr = localStorage.getItem('mskOrderSetting') ? JSON.parse(localStorage.getItem('mskOrderSetting')) : []
if (arr.length === 0) {
this.getDict()
@@ -716,6 +717,7 @@ export default {
localStorage.setItem('mskOrderSetting', JSON.stringify(data))
this.FnGetData()
}
+ this.loading = false
})
},
handleSubmitCopyMore(e) {