|
|
@ -11,7 +11,7 @@
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
class="customer-input"
|
|
|
|
class="customer-input"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
v-model="details.customername"
|
|
|
|
v-model="details.customername"
|
|
|
|
:data-source="customerDataArr"
|
|
|
|
:data-source="customerDataArr"
|
|
|
|
@select="customerSelect"
|
|
|
|
@select="customerSelect"
|
|
|
@ -62,7 +62,7 @@
|
|
|
|
:allowClear="true"
|
|
|
|
:allowClear="true"
|
|
|
|
class="customer-input"
|
|
|
|
class="customer-input"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
v-model="details.forwarder"
|
|
|
|
v-model="details.forwarder"
|
|
|
|
:data-source="forwarderDataArr"
|
|
|
|
:data-source="forwarderDataArr"
|
|
|
|
@select="forwarderSelect"
|
|
|
|
@select="forwarderSelect"
|
|
|
@ -129,7 +129,7 @@
|
|
|
|
v-model="details.vessel"
|
|
|
|
v-model="details.vessel"
|
|
|
|
:data-source="vesselDataArr"
|
|
|
|
:data-source="vesselDataArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="vesselSelect"
|
|
|
|
@select="vesselSelect"
|
|
|
|
@change="vesselChange"
|
|
|
|
@change="vesselChange"
|
|
|
|
@focus="vesselChange"
|
|
|
|
@focus="vesselChange"
|
|
|
@ -175,7 +175,7 @@
|
|
|
|
v-model="details.voynoinner"
|
|
|
|
v-model="details.voynoinner"
|
|
|
|
:data-source="voynoinnerDataArr"
|
|
|
|
:data-source="voynoinnerDataArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="voynoinnerSelect"
|
|
|
|
@select="voynoinnerSelect"
|
|
|
|
@change="voynoinnerChange"
|
|
|
|
@change="voynoinnerChange"
|
|
|
|
@focus="voynoinnerChange"
|
|
|
|
@focus="voynoinnerChange"
|
|
|
@ -224,7 +224,7 @@
|
|
|
|
v-model="details.lanename"
|
|
|
|
v-model="details.lanename"
|
|
|
|
:data-source="lanenameDataArr"
|
|
|
|
:data-source="lanenameDataArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="lanenameSelect"
|
|
|
|
@select="lanenameSelect"
|
|
|
|
@change="lanenameChange"
|
|
|
|
@change="lanenameChange"
|
|
|
|
@focus="lanenameChange"
|
|
|
|
@focus="lanenameChange"
|
|
|
@ -239,7 +239,7 @@
|
|
|
|
v-model="details.shipagency"
|
|
|
|
v-model="details.shipagency"
|
|
|
|
:data-source="shipagencyDataArr"
|
|
|
|
:data-source="shipagencyDataArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="shipagencySelect"
|
|
|
|
@select="shipagencySelect"
|
|
|
|
@change="shipagencyChange"
|
|
|
|
@change="shipagencyChange"
|
|
|
|
@focus="shipagencyChange"
|
|
|
|
@focus="shipagencyChange"
|
|
|
@ -276,7 +276,7 @@
|
|
|
|
v-model="details.sale"
|
|
|
|
v-model="details.sale"
|
|
|
|
:data-source="saleUserListArr"
|
|
|
|
:data-source="saleUserListArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="saleSelect"
|
|
|
|
@select="saleSelect"
|
|
|
|
@change="saleChange"
|
|
|
|
@change="saleChange"
|
|
|
|
@focus="saleChange"
|
|
|
|
@focus="saleChange"
|
|
|
@ -297,7 +297,7 @@
|
|
|
|
v-model="details.op"
|
|
|
|
v-model="details.op"
|
|
|
|
:data-source="opUserListArr"
|
|
|
|
:data-source="opUserListArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="opSelect"
|
|
|
|
@select="opSelect"
|
|
|
|
@change="opChange"
|
|
|
|
@change="opChange"
|
|
|
|
@focus="opChange"
|
|
|
|
@focus="opChange"
|
|
|
@ -318,7 +318,7 @@
|
|
|
|
v-model="details.doc"
|
|
|
|
v-model="details.doc"
|
|
|
|
:data-source="docUserListArr"
|
|
|
|
:data-source="docUserListArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="docSelect"
|
|
|
|
@select="docSelect"
|
|
|
|
@change="docChange"
|
|
|
|
@change="docChange"
|
|
|
|
@focus="docChange"
|
|
|
|
@focus="docChange"
|
|
|
@ -339,7 +339,7 @@
|
|
|
|
v-model="details.custservice"
|
|
|
|
v-model="details.custservice"
|
|
|
|
:data-source="custserviceUserListArr"
|
|
|
|
:data-source="custserviceUserListArr"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-match-select-width="false"
|
|
|
|
:dropdown-style="{ width: '200px'}"
|
|
|
|
:dropdown-style="{ width: '200px' }"
|
|
|
|
@select="custserviceSelect"
|
|
|
|
@select="custserviceSelect"
|
|
|
|
@change="custserviceChange"
|
|
|
|
@change="custserviceChange"
|
|
|
|
@focus="custserviceChange"
|
|
|
|
@focus="custserviceChange"
|
|
|
@ -601,7 +601,8 @@ export default {
|
|
|
|
{ field: 'email', key: 'email', title: '邮箱', edit: true },
|
|
|
|
{ field: 'email', key: 'email', title: '邮箱', edit: true },
|
|
|
|
{ field: 'tel', key: 'tel', title: '电话', edit: true },
|
|
|
|
{ field: 'tel', key: 'tel', title: '电话', edit: true },
|
|
|
|
{ field: 'remark', key: 'remark', title: '备注', edit: true },
|
|
|
|
{ field: 'remark', key: 'remark', title: '备注', edit: true },
|
|
|
|
{ field: 'roleCode',
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'roleCode',
|
|
|
|
key: 'roleCode',
|
|
|
|
key: 'roleCode',
|
|
|
|
title: '角色',
|
|
|
|
title: '角色',
|
|
|
|
edit: false,
|
|
|
|
edit: false,
|
|
|
@ -623,7 +624,8 @@ export default {
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</a-select>
|
|
|
|
</a-select>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
} }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
tableData: [],
|
|
|
|
tableData: [],
|
|
|
|
etdWeek: '',
|
|
|
|
etdWeek: '',
|
|
|
@ -924,6 +926,18 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
customerSelect(value) {
|
|
|
|
customerSelect(value) {
|
|
|
|
|
|
|
|
this.customerData.forEach(item => {
|
|
|
|
|
|
|
|
if (item.shortName == value) {
|
|
|
|
|
|
|
|
this.details.op = item.op
|
|
|
|
|
|
|
|
this.details.opid = item.opid
|
|
|
|
|
|
|
|
this.details.sale = item.sale
|
|
|
|
|
|
|
|
this.details.saleid = item.saleid
|
|
|
|
|
|
|
|
this.details.doc = item.doc
|
|
|
|
|
|
|
|
this.details.docid = item.docid
|
|
|
|
|
|
|
|
this.details.custservice = item.custservice
|
|
|
|
|
|
|
|
this.details.custserviceid = item.custserviceid
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
this.details.customername = value
|
|
|
|
this.details.customername = value
|
|
|
|
const index = this['customerDataArr'].indexOf(value)
|
|
|
|
const index = this['customerDataArr'].indexOf(value)
|
|
|
|
this.details.customerid = this.customerData[index].id
|
|
|
|
this.details.customerid = this.customerData[index].id
|
|
|
@ -1173,7 +1187,8 @@ export default {
|
|
|
|
DjyCustomerdetail({ id: this.details.customerid }).then(res => {
|
|
|
|
DjyCustomerdetail({ id: this.details.customerid }).then(res => {
|
|
|
|
this.customerContactsData = res.data.contacts
|
|
|
|
this.customerContactsData = res.data.contacts
|
|
|
|
})
|
|
|
|
})
|
|
|
|
BookingOrderContactPage({ id: this.details.customerid, BookingId: this.$route.query.id, pageSize: 999 }).then(res => {
|
|
|
|
BookingOrderContactPage({ id: this.details.customerid, BookingId: this.$route.query.id, pageSize: 999 }).then(
|
|
|
|
|
|
|
|
res => {
|
|
|
|
res.data.rows.forEach(item => {
|
|
|
|
res.data.rows.forEach(item => {
|
|
|
|
let WroleCode = []
|
|
|
|
let WroleCode = []
|
|
|
|
if (item.roleCode) {
|
|
|
|
if (item.roleCode) {
|
|
|
@ -1197,7 +1212,8 @@ export default {
|
|
|
|
item.rowKey = index
|
|
|
|
item.rowKey = index
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.tableData = res.data.rows
|
|
|
|
this.tableData = res.data.rows
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.warning('请先选择客户!')
|
|
|
|
this.$message.warning('请先选择客户!')
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1330,7 +1346,7 @@ export default {
|
|
|
|
.table-no-data {
|
|
|
|
.table-no-data {
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/deep/ .date-box{
|
|
|
|
/deep/ .date-box {
|
|
|
|
padding-top: 7px !important;
|
|
|
|
padding-top: 7px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|