Browse Source

制品返修,新增提示选择包装号,应不用选包装号 YT-257

syhx
YEJIAXING-PC\lenovo 1 month ago
parent
commit
82abbba81b
  1. 3
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  2. 6
      src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

3
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -599,12 +599,11 @@ const submitForm = async (formType, submitData) => {
if (formType === 'create') { if (formType === 'create') {
data.subList = tableData.value // data.subList = tableData.value //
await ProductionMainApi.createProductionMain(data).then((res) => { await ProductionMainApi.createProductionMain(data).then((res) => {
// console.log(565,res)
if (res.status == '6') { if (res.status == '6') {
autoCreatePlanRequest(res) autoCreatePlanRequest(res)
} }
message.success(t('common.createSuccess'))
}) })
// message.success(t('common.createSuccess'))
} else { } else {
await ProductionMainApi.updateProductionMain(data) await ProductionMainApi.updateProductionMain(data)
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))

6
src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

@ -1114,9 +1114,9 @@ export const ProductrepairRequestDetailaRules = reactive({
productionLineCode: [ productionLineCode: [
{ required: true, message: '请选择生产线代码', trigger: 'change' } { required: true, message: '请选择生产线代码', trigger: 'change' }
], ],
packingNumber: [ // packingNumber: [
{ required: true, message: '请选择包装号', trigger: 'change' } // { required: true, message: '请选择包装号', trigger: 'change' }
], // ],
batch: [ batch: [
{ required: true, message: '请输入批次', trigger: 'blur' } { required: true, message: '请输入批次', trigger: 'blur' }
], ],

Loading…
Cancel
Save