diff --git a/src/views/modules/pms/order/components/ListSectionWithHead.vue b/src/views/modules/pms/order/components/ListSectionWithHead.vue index 4b02408..fd6fcb8 100644 --- a/src/views/modules/pms/order/components/ListSectionWithHead.vue +++ b/src/views/modules/pms/order/components/ListSectionWithHead.vue @@ -37,17 +37,7 @@ ref="order-dialog" v-if="renderDialog" fullscreen - :configs="dialogConfig" - @destroy-dialog="renderDialog = false" - @refreshDataList="getAList(Object.assign({}, listQuery, extraSearchConditions, params))" /> - - - + @closed="$emit('destroy')" + :close-on-click-modal="false" + v-loading="optionsLoading || formLoading">

- {{ detailMode ? "查看详情" : dataForm.id ? "修改订单" : "新增订单" }} + {{ mode.includes("detail") ? "查看详情" : dataForm.id ? "修改订单" : "新增订单" }}

- + - {{ dataForm.statusDictValue }} + {{ dataForm.statusDictValue }} @@ -41,7 +41,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -76,9 +76,15 @@ filterable clearable v-bind="{ placeholder: '选择压机', filterable: true }"> - + {{ opt.label }} - + {{ opt.code }} @@ -95,9 +101,15 @@ filterable clearable v-bind="{ placeholder: '选择混料机', filterable: true }"> - + {{ opt.label }} - + {{ opt.code }} @@ -111,9 +123,15 @@ filterable clearable v-bind="{ placeholder: '选择隧道窑', filterable: true }"> - + {{ opt.label }} - + {{ opt.code }} @@ -128,29 +146,51 @@ - + - - {{ opt.label }} - - {{ opt.undefined }} + @change="handleBomChange" + v-bind="{ placeholder: '选择配方号', filterable: true }"> + + {{ opt.label }} + + {{ opt.name }} - - {{ dataForm.bomCode }} + + {{ dataForm.brand }} - {{ dataForm.ai }} + + + + {{ opt.label }} + + @@ -160,9 +200,15 @@ filterable clearable v-bind="{ placeholder: '选择包装代码', filterable: true }"> - + {{ opt.label }} - + {{ opt.code }} @@ -178,9 +224,15 @@ filterable clearable v-bind="{ placeholder: '选择物料', filterable: true }"> - + {{ opt.label }} - + {{ opt.code }} @@ -194,9 +246,15 @@ filterable clearable v-bind="{ placeholder: '选择砖型', filterable: true }"> - + {{ opt.label }} - + {{ opt.code }} @@ -213,7 +271,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -229,7 +287,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -255,7 +313,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -270,7 +328,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -286,7 +344,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -317,7 +375,7 @@ type: 'number', message: '输入正确的数字类型', trigger: 'blur', - transform: '<<(val) => Number(val)>>', + transform: (val) => Number(val), }, ]"> @@ -339,9 +397,15 @@ prop="customerId" :rules="{ required: true, message: '必填项不能为空', trigger: 'blur' }"> - + {{ opt.label }} - + {{ opt.name }} @@ -350,7 +414,7 @@ - {{ dataForm.shortDesc }} + {{ dataForm.shortDesc }} @@ -368,23 +432,17 @@
- - 取消 + + 保存 + 更新 + 重置 + 取消