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') {
data.subList = tableData.value //
await ProductionMainApi.createProductionMain(data).then((res) => {
// console.log(565,res)
if (res.status == '6') {
autoCreatePlanRequest(res)
}
message.success(t('common.createSuccess'))
})
// message.success(t('common.createSuccess'))
} else {
await ProductionMainApi.updateProductionMain(data)
message.success(t('common.updateSuccess'))

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

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

Loading…
Cancel
Save