|
|
@ -13,9 +13,9 @@
|
|
|
|
@change="changeTab"
|
|
|
|
@change="changeTab"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-tab-pane key="1" tab="主单信息" :forceRender="true" class="main-bill">
|
|
|
|
<a-tab-pane key="1" tab="主单信息" :forceRender="true" class="main-bill">
|
|
|
|
<div class="flex">
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
<div class="main-bill-box">
|
|
|
|
<div class="flex">
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
<div class="main-bill-box">
|
|
|
|
<div class="flex" style="position: relative;">
|
|
|
|
<div class="flex" style="position: relative;">
|
|
|
|
<ActionBar
|
|
|
|
<ActionBar
|
|
|
|
v-if="source == 'edit'"
|
|
|
|
v-if="source == 'edit'"
|
|
|
@ -102,43 +102,43 @@
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
</ApproveBtns>
|
|
|
|
</ApproveBtns>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-spin>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 其他信息 -->
|
|
|
|
|
|
|
|
<transition name="slide" v-if="source == 'edit'">
|
|
|
|
|
|
|
|
<otherInfo
|
|
|
|
|
|
|
|
class="sea-other-info"
|
|
|
|
|
|
|
|
v-if="source == 'edit'"
|
|
|
|
|
|
|
|
ref="OtherInfo"
|
|
|
|
|
|
|
|
:details="bookingDetails"
|
|
|
|
|
|
|
|
@openFlag="otherOpenFlag"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<Divider type="horizontal" />
|
|
|
|
|
|
|
|
<!-- 联系人信息 -->
|
|
|
|
|
|
|
|
<ContactList v-if="source == 'edit' && id" :id="id"></ContactList>
|
|
|
|
|
|
|
|
</otherInfo>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
<transition name="slide" v-if="source == 'edit'">
|
|
|
|
|
|
|
|
<rightContent
|
|
|
|
|
|
|
|
class="right-content"
|
|
|
|
|
|
|
|
ref="RefrightContent"
|
|
|
|
|
|
|
|
:id="id"
|
|
|
|
|
|
|
|
:details="bookingDetails"
|
|
|
|
|
|
|
|
:PexcuteRules="excuteRules"
|
|
|
|
|
|
|
|
:PexcuteRulesType="excuteRulesType"
|
|
|
|
|
|
|
|
@fileNewUpadte="fileNewUpadte"
|
|
|
|
|
|
|
|
@changeAtd="changeAtd"
|
|
|
|
|
|
|
|
@changeDetail="changeDetailFun"
|
|
|
|
|
|
|
|
@handleComplete="handleComplete"
|
|
|
|
|
|
|
|
@rules="getRules"
|
|
|
|
|
|
|
|
@upDateRight="upDateRightFun"
|
|
|
|
|
|
|
|
@inGoodsSave="inGoodsSaveFun"
|
|
|
|
|
|
|
|
@handleRefsh="handleRefshRight"
|
|
|
|
|
|
|
|
@openFlag="setOpenFlag"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</rightContent>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 其他信息 -->
|
|
|
|
</a-spin>
|
|
|
|
<transition name="slide" v-if="source == 'edit'">
|
|
|
|
|
|
|
|
<otherInfo
|
|
|
|
|
|
|
|
class="sea-other-info"
|
|
|
|
|
|
|
|
v-if="source == 'edit'"
|
|
|
|
|
|
|
|
ref="OtherInfo"
|
|
|
|
|
|
|
|
:details="bookingDetails"
|
|
|
|
|
|
|
|
@openFlag="otherOpenFlag"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<Divider type="horizontal" />
|
|
|
|
|
|
|
|
<!-- 联系人信息 -->
|
|
|
|
|
|
|
|
<ContactList v-if="source == 'edit' && id" :id="id"></ContactList>
|
|
|
|
|
|
|
|
</otherInfo>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
<transition name="slide" v-if="source == 'edit'">
|
|
|
|
|
|
|
|
<rightContent
|
|
|
|
|
|
|
|
class="right-content"
|
|
|
|
|
|
|
|
ref="RefrightContent"
|
|
|
|
|
|
|
|
:id="id"
|
|
|
|
|
|
|
|
:details="bookingDetails"
|
|
|
|
|
|
|
|
:PexcuteRules="excuteRules"
|
|
|
|
|
|
|
|
:PexcuteRulesType="excuteRulesType"
|
|
|
|
|
|
|
|
@fileNewUpadte="fileNewUpadte"
|
|
|
|
|
|
|
|
@changeAtd="changeAtd"
|
|
|
|
|
|
|
|
@changeDetail="changeDetailFun"
|
|
|
|
|
|
|
|
@handleComplete="handleComplete"
|
|
|
|
|
|
|
|
@rules="getRules"
|
|
|
|
|
|
|
|
@upDateRight="upDateRightFun"
|
|
|
|
|
|
|
|
@inGoodsSave="inGoodsSaveFun"
|
|
|
|
|
|
|
|
@handleRefsh="handleRefshRight"
|
|
|
|
|
|
|
|
@openFlag="setOpenFlag"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</rightContent>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a-tab-pane>
|
|
|
|
</a-tab-pane>
|
|
|
|
<a-tab-pane key="3" tab="提单信息">
|
|
|
|
<a-tab-pane key="3" tab="提单信息">
|
|
|
|
<LadingInfo :id="id" :details="bookingDetails"></LadingInfo>
|
|
|
|
<LadingInfo :id="id" :details="bookingDetails"></LadingInfo>
|
|
|
@ -193,7 +193,6 @@
|
|
|
|
SetTaskStatus
|
|
|
|
SetTaskStatus
|
|
|
|
} from '../api/BookingLedger'
|
|
|
|
} from '../api/BookingLedger'
|
|
|
|
const appStore = useAppStore()
|
|
|
|
const appStore = useAppStore()
|
|
|
|
// const go = useGo()
|
|
|
|
|
|
|
|
const { notification, createMessage } = useMessage()
|
|
|
|
const { notification, createMessage } = useMessage()
|
|
|
|
import operationArea from './modules/operationArea.vue'
|
|
|
|
import operationArea from './modules/operationArea.vue'
|
|
|
|
import basicInfo from './modules/basicInfo.vue'
|
|
|
|
import basicInfo from './modules/basicInfo.vue'
|
|
|
@ -520,6 +519,12 @@
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
createMessage.success('新增成功!')
|
|
|
|
createMessage.success('新增成功!')
|
|
|
|
id.value = res.data
|
|
|
|
id.value = res.data
|
|
|
|
|
|
|
|
// 关闭当前页面
|
|
|
|
|
|
|
|
const { fullPath } = route //获取当前路径
|
|
|
|
|
|
|
|
tabStore.closeTabByKey(fullPath, router)
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
|
|
|
go(`/BookingDetail?id=${res.data}&source=edit`)
|
|
|
|
|
|
|
|
}, 50)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
init()
|
|
|
|
init()
|
|
|
|
}
|
|
|
|
}
|
|
|
|