上传BC文件

szh-new
sunzehua 3 months ago
parent 11f5b6f324
commit 621f6a024e

@ -298,8 +298,9 @@ export const fileForm: FormSchema[] = [
immediate: false,
onChange: (e, obj) => {
if (e && obj) {
console.log(obj)
formModel.carrierId = obj.id
formModel.carrierCode = obj.codeName
formModel.carrierCode = obj.code
}
if (!e && !obj) {
formModel.carrierId = ''

@ -84,7 +84,7 @@
<a-button type="link"><i class="iconfont icon-52"></i>页数计算</a-button>
</a-popconfirm>
</template>
<template v-if="taskType === 'WAIT_SPACE_RELEASE'">
<template v-if="taskType === 'WAIT_BC'">
<a-button @click="openFile" type="link"><i class="iconfont icon-52"></i>上传BC并放舱</a-button>
</template>
<template v-if="taskType === 'ORIGINAL_DOWN'">
@ -346,7 +346,7 @@ router.afterEach((to, from) => {
});
const fileLoad = ref(false)
function handleSaveFile() {
if (!getFieldsValueL().carrierCode) {
if (!getFieldsValueL().carrierId) {
createMessage.warning('请选择船公司')
return false
}

Loading…
Cancel
Save