|
|
@ -5,9 +5,9 @@
|
|
|
|
<a-row type="flex" :gutter="16">
|
|
|
|
<a-row type="flex" :gutter="16">
|
|
|
|
<a-col>
|
|
|
|
<a-col>
|
|
|
|
<div class="nav-box">
|
|
|
|
<div class="nav-box">
|
|
|
|
<div v-if="TabsData == 0" class="nav" @click="handleSubmit">
|
|
|
|
<!-- <div v-if="TabsData == 0" class="nav" @click="handleSubmit">
|
|
|
|
<i class="iconfont icon-icon_baocun"></i>保存
|
|
|
|
<i class="iconfont icon-icon_baocun"></i>保存
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
<div v-if="TabsData == 0" class="nav" @click="FnStop"><i class="iconfont icon-shanchu1"></i>作废订单</div>
|
|
|
|
<div v-if="TabsData == 0" class="nav" @click="FnStop"><i class="iconfont icon-shanchu1"></i>作废订单</div>
|
|
|
|
<!-- <div v-if="TabsData == 0" class="nav"><i class="iconfont icon-icon_baocun"></i>发送派车任务</div> -->
|
|
|
|
<!-- <div v-if="TabsData == 0" class="nav"><i class="iconfont icon-icon_baocun"></i>发送派车任务</div> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -630,7 +630,7 @@ import { commondbYardlist } from '@/api/modular/main/CommondbYardlist'
|
|
|
|
import { commondbCarrierlist } from '@/api/modular/main/CommondbPortlist'
|
|
|
|
import { commondbCarrierlist } from '@/api/modular/main/CommondbPortlist'
|
|
|
|
import { TruckerDriverList } from '@/api/modular/main/tmsaip/tmsTruckerCarRelation'
|
|
|
|
import { TruckerDriverList } from '@/api/modular/main/tmsaip/tmsTruckerCarRelation'
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
TmsForwarderOrderCreate,
|
|
|
|
tmsTruckerOrderUpdate,
|
|
|
|
TmsTruckerOrderInfo,
|
|
|
|
TmsTruckerOrderInfo,
|
|
|
|
listCarGroup,
|
|
|
|
listCarGroup,
|
|
|
|
listAll,
|
|
|
|
listAll,
|
|
|
@ -967,7 +967,6 @@ export default {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error(res.message)
|
|
|
|
this.$message.error(res.message)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.init()
|
|
|
|
|
|
|
|
this.AllocationCarVisible = false
|
|
|
|
this.AllocationCarVisible = false
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1020,7 +1019,7 @@ export default {
|
|
|
|
if (!errors) {
|
|
|
|
if (!errors) {
|
|
|
|
values.tmsForwarderOrderLoadingPlaceEntityList = this.tmsForwarderOrderLoadingPlaceEntityList
|
|
|
|
values.tmsForwarderOrderLoadingPlaceEntityList = this.tmsForwarderOrderLoadingPlaceEntityList
|
|
|
|
console.log(values)
|
|
|
|
console.log(values)
|
|
|
|
TmsForwarderOrderCreate(values).then(res => {
|
|
|
|
tmsTruckerOrderUpdate({ ...values, id: this.id }).then(res => {
|
|
|
|
console.log(res)
|
|
|
|
console.log(res)
|
|
|
|
if (res.success) {
|
|
|
|
if (res.success) {
|
|
|
|
this.$message.success(res.message)
|
|
|
|
this.$message.success(res.message)
|
|
|
|