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