diff --git a/src/views/taskmanage/columns.tsx b/src/views/taskmanage/columns.tsx
index aa10e24f..1f0a696e 100644
--- a/src/views/taskmanage/columns.tsx
+++ b/src/views/taskmanage/columns.tsx
@@ -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 = ''
diff --git a/src/views/taskmanage/index.vue b/src/views/taskmanage/index.vue
index 5c79dfb6..6e4505d6 100644
--- a/src/views/taskmanage/index.vue
+++ b/src/views/taskmanage/index.vue
@@ -84,7 +84,7 @@
页数计算
-
+
上传BC并放舱
@@ -346,7 +346,7 @@ router.afterEach((to, from) => {
});
const fileLoad = ref(false)
function handleSaveFile() {
- if (!getFieldsValueL().carrierCode) {
+ if (!getFieldsValueL().carrierId) {
createMessage.warning('请选择船公司')
return false
}