|
|
|
@ -5,7 +5,8 @@
|
|
|
|
|
<a-col :span="pdfUrl ? 11 : 24">
|
|
|
|
|
<div class="LeftHead">
|
|
|
|
|
<p>Booking Amendment({{ form.carrierId }})
|
|
|
|
|
<a-icon @click="reload" type="reload" style="cursor: pointer;"></a-icon></p>
|
|
|
|
|
<a-icon @click="reload" type="reload" style="cursor: pointer;"></a-icon>
|
|
|
|
|
</p>
|
|
|
|
|
<p>订舱时间:{{ form.bookingConfirmDate }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<a-form class="Editing">
|
|
|
|
@ -235,7 +236,7 @@
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="4">
|
|
|
|
|
<span class="CsSee" v-if="form.bookingSlotId" @click="FnSee">查看</span>
|
|
|
|
|
<span class="CsSee" v-if="form.bookingSlotId" @click="FnSee1">查看</span>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="5">
|
|
|
|
|
<a-form-item
|
|
|
|
@ -334,8 +335,12 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-spin>
|
|
|
|
|
<a-modal v-model="visible" title="生成方式选择" @ok="handleOk" width="40%">
|
|
|
|
|
<a-modal v-model="visible" title="生成方式选择" @ok="handleOk" width="800px">
|
|
|
|
|
<a-spin :spinning="openLoading">
|
|
|
|
|
<a-radio-group v-model="CreateData.generateMethod">
|
|
|
|
|
<a-radio value="UPD_BOOKING">
|
|
|
|
|
更新订舱
|
|
|
|
|
</a-radio>
|
|
|
|
|
<a-radio value="GEN_BOOKING_SLOT">
|
|
|
|
|
直接生成舱位和订舱
|
|
|
|
|
</a-radio>
|
|
|
|
@ -354,7 +359,10 @@
|
|
|
|
|
<a-form class="Editing">
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="16">
|
|
|
|
|
<a-form-item label="委托单位:" :label-col="formItemLayout.labelCol3" :wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="委托单位:"
|
|
|
|
|
:label-col="formItemLayout.labelCol3"
|
|
|
|
|
:wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-select
|
|
|
|
|
show-search
|
|
|
|
|
v-model="CreateData.customerId"
|
|
|
|
@ -380,8 +388,7 @@
|
|
|
|
|
:show-arrow="false"
|
|
|
|
|
:filter-option="false"
|
|
|
|
|
:not-found-content="null"
|
|
|
|
|
@search="SearchUser"
|
|
|
|
|
>
|
|
|
|
|
@search="SearchUser">
|
|
|
|
|
<a-select-option v-for="item in customerByList" :key="item.id" :value="item.id">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</a-select-option>
|
|
|
|
@ -456,14 +463,14 @@
|
|
|
|
|
<a-form-item label="客服:" :label-col="formItemLayout.labelCol2" :wrapper-col="formItemLayout.wrapperCol2">
|
|
|
|
|
<a-select
|
|
|
|
|
show-search
|
|
|
|
|
v-model="CreateData.custserviceId"
|
|
|
|
|
v-model="CreateData.custServiceId"
|
|
|
|
|
:default-active-first-option="false"
|
|
|
|
|
:show-arrow="false"
|
|
|
|
|
:filter-option="false"
|
|
|
|
|
:not-found-content="null"
|
|
|
|
|
@search="SearchUser"
|
|
|
|
|
@change="e => {
|
|
|
|
|
ChangeUser(e, 'custserviceName')
|
|
|
|
|
ChangeUser(e, 'custServiceName')
|
|
|
|
|
}
|
|
|
|
|
">
|
|
|
|
|
<a-select-option v-for="item in UserList" :key="item.id" :value="item.id">
|
|
|
|
@ -473,7 +480,10 @@
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="航线操作:" :label-col="formItemLayout.labelCol2" :wrapper-col="formItemLayout.wrapperCol2">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="航线操作:"
|
|
|
|
|
:label-col="formItemLayout.labelCol2"
|
|
|
|
|
:wrapper-col="formItemLayout.wrapperCol2">
|
|
|
|
|
<a-select
|
|
|
|
|
show-search
|
|
|
|
|
v-model="CreateData.routeID"
|
|
|
|
@ -493,7 +503,10 @@
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="航线管理:" :label-col="formItemLayout.labelCol2" :wrapper-col="formItemLayout.wrapperCol2">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="航线管理:"
|
|
|
|
|
:label-col="formItemLayout.labelCol2"
|
|
|
|
|
:wrapper-col="formItemLayout.wrapperCol2">
|
|
|
|
|
<a-select
|
|
|
|
|
show-search
|
|
|
|
|
v-model="CreateData.lineManageID"
|
|
|
|
@ -515,21 +528,30 @@
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="16">
|
|
|
|
|
<a-form-item label="操作备注:" :label-col="formItemLayout.labelCol3" :wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="操作备注:"
|
|
|
|
|
:label-col="formItemLayout.labelCol3"
|
|
|
|
|
:wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-input v-model="CreateData.czRemark" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="16">
|
|
|
|
|
<a-form-item label="申请箱使:" :label-col="formItemLayout.labelCol3" :wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="申请箱使:"
|
|
|
|
|
:label-col="formItemLayout.labelCol3"
|
|
|
|
|
:wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-input v-model="CreateData.shenQingXiangShi" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="16">
|
|
|
|
|
<a-form-item label="服务项目:" :label-col="formItemLayout.labelCol3" :wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="服务项目:"
|
|
|
|
|
:label-col="formItemLayout.labelCol3"
|
|
|
|
|
:wrapper-col="formItemLayout.wrapperCol3">
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div
|
|
|
|
|
class="items"
|
|
|
|
@ -544,6 +566,7 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-form>
|
|
|
|
|
</a-spin>
|
|
|
|
|
</a-modal>
|
|
|
|
|
<a-modal v-model="UserVisible" title="转移任务" @ok="UserhandleOk">
|
|
|
|
|
<a-form>
|
|
|
|
@ -584,7 +607,8 @@ import {
|
|
|
|
|
TaskManageBCSendEmai1,
|
|
|
|
|
TaskManageBCGetCompareResult,
|
|
|
|
|
BcSearchAndConnectBookingInfo,
|
|
|
|
|
ReCompareResult
|
|
|
|
|
ReCompareResult,
|
|
|
|
|
GetBookingOrder
|
|
|
|
|
} from '@/api/modular/main/TaskmanageList'
|
|
|
|
|
import { mapGetters } from 'vuex'
|
|
|
|
|
import { DjyCustomerSuggest, GetSysUserPage, DjyCustomerContacts } from '@/api/modular/main/BookingLedger'
|
|
|
|
@ -596,6 +620,7 @@ export default {
|
|
|
|
|
UserId: '',
|
|
|
|
|
value: '',
|
|
|
|
|
customerByList: [],
|
|
|
|
|
openLoading: false,
|
|
|
|
|
compareResultFlag: false,
|
|
|
|
|
formItemLayout: {
|
|
|
|
|
labelCol1: { span: 6 },
|
|
|
|
@ -819,6 +844,9 @@ export default {
|
|
|
|
|
FnSee() {
|
|
|
|
|
this.$router.push({ path: '/BookingDetail?id=' + this.form.bookingOrderId })
|
|
|
|
|
},
|
|
|
|
|
FnSee1() {
|
|
|
|
|
this.$router.push({ path: '/CabinManagementDetails?type=Edit&id=' + this.form.bookingSlotId })
|
|
|
|
|
},
|
|
|
|
|
FnCompleteTask() {
|
|
|
|
|
const ApiData = [this.$route.query.taskPKId]
|
|
|
|
|
CompleteTask(ApiData).then(res => {
|
|
|
|
@ -854,18 +882,25 @@ export default {
|
|
|
|
|
data.isYield = !data.isYield
|
|
|
|
|
},
|
|
|
|
|
OpenModal() {
|
|
|
|
|
this.visible = true
|
|
|
|
|
this.openLoading = true
|
|
|
|
|
GetBookingOrder({ taskPkId: this.$route.query.taskPKId }).then(res => {
|
|
|
|
|
if (res.data.ext) {
|
|
|
|
|
this.CreateData = {
|
|
|
|
|
generateMethod: 'GEN_BOOKING',
|
|
|
|
|
generateMethod: 'UPD_BOOKING',
|
|
|
|
|
customerList: [],
|
|
|
|
|
isDirectSend: false,
|
|
|
|
|
...res.data.ext
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.CreateData = {
|
|
|
|
|
generateMethod: 'UPD_BOOKING',
|
|
|
|
|
customerList: [],
|
|
|
|
|
isDirectSend: false
|
|
|
|
|
}
|
|
|
|
|
this.UserList.forEach(item => {
|
|
|
|
|
if (item.id == this.userInfo.id) {
|
|
|
|
|
this.CreateData.opId = item.id
|
|
|
|
|
this.CreateData.opName = item.name
|
|
|
|
|
}
|
|
|
|
|
this.openLoading = false
|
|
|
|
|
})
|
|
|
|
|
this.visible = true
|
|
|
|
|
},
|
|
|
|
|
getList() {
|
|
|
|
|
this.spinning = true
|
|
|
|
@ -907,18 +942,6 @@ export default {
|
|
|
|
|
this.CustomerList = res.data.rows
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
OpenModal() {
|
|
|
|
|
this.CreateData = {
|
|
|
|
|
generateMethod: 'GEN_BOOKING_SLOT'
|
|
|
|
|
}
|
|
|
|
|
this.UserList.forEach(item => {
|
|
|
|
|
if (item.id == this.userInfo.id) {
|
|
|
|
|
this.CreateData.opId = item.id
|
|
|
|
|
this.CreateData.opName = item.name
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.visible = true
|
|
|
|
|
},
|
|
|
|
|
OpenUser() {
|
|
|
|
|
this.UserId = ''
|
|
|
|
|
this.UserVisible = true
|
|
|
|
|