|
|
|
@ -13,9 +13,9 @@
|
|
|
|
|
@change="changeTab"
|
|
|
|
|
>
|
|
|
|
|
<a-tab-pane key="1" tab="主单信息" :forceRender="true" class="main-bill">
|
|
|
|
|
<div class="flex">
|
|
|
|
|
<div class="main-bill-box">
|
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
|
<a-spin :spinning="loading">
|
|
|
|
|
<div class="flex">
|
|
|
|
|
<div class="main-bill-box">
|
|
|
|
|
<div class="flex" style="position: relative;">
|
|
|
|
|
<ActionBar
|
|
|
|
|
v-if="source == 'edit'"
|
|
|
|
@ -102,43 +102,43 @@
|
|
|
|
|
</a-button>
|
|
|
|
|
</ApproveBtns>
|
|
|
|
|
</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>
|
|
|
|
|
<!-- 其他信息 -->
|
|
|
|
|
<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-spin>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
|
<a-tab-pane key="3" tab="提单信息">
|
|
|
|
|
<LadingInfo :id="id" :details="bookingDetails"></LadingInfo>
|
|
|
|
@ -193,7 +193,6 @@
|
|
|
|
|
SetTaskStatus
|
|
|
|
|
} from '../api/BookingLedger'
|
|
|
|
|
const appStore = useAppStore()
|
|
|
|
|
// const go = useGo()
|
|
|
|
|
const { notification, createMessage } = useMessage()
|
|
|
|
|
import operationArea from './modules/operationArea.vue'
|
|
|
|
|
import basicInfo from './modules/basicInfo.vue'
|
|
|
|
@ -520,6 +519,12 @@
|
|
|
|
|
} else {
|
|
|
|
|
createMessage.success('新增成功!')
|
|
|
|
|
id.value = res.data
|
|
|
|
|
// 关闭当前页面
|
|
|
|
|
const { fullPath } = route //获取当前路径
|
|
|
|
|
tabStore.closeTabByKey(fullPath, router)
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
go(`/BookingDetail?id=${res.data}&source=edit`)
|
|
|
|
|
}, 50)
|
|
|
|
|
}
|
|
|
|
|
init()
|
|
|
|
|
}
|
|
|
|
|