diff --git a/src/views/wms/basicDataManage/factoryModeling/workshop/workshop.data.ts b/src/views/wms/basicDataManage/factoryModeling/workshop/workshop.data.ts index 9290a46a0..ac2dccee5 100644 --- a/src/views/wms/basicDataManage/factoryModeling/workshop/workshop.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/workshop/workshop.data.ts @@ -139,6 +139,7 @@ export const WorkshopRules = reactive({ { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} ], name: [ + { required: true, message: '请输入代码', trigger: 'blur' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], remark: [ diff --git a/src/views/wms/basicDataManage/factoryModeling/workstation/workstation.data.ts b/src/views/wms/basicDataManage/factoryModeling/workstation/workstation.data.ts index 4e3b6a855..7dae0132b 100644 --- a/src/views/wms/basicDataManage/factoryModeling/workstation/workstation.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/workstation/workstation.data.ts @@ -291,6 +291,7 @@ export const WorkstationRules = reactive({ { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} ], name: [ + { required: true, message: '请输入名称', trigger: 'change' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], remark: [ diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts index 5fa888a32..5ad9b5c71 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts @@ -534,6 +534,9 @@ export const TransferissueRequestMainRules = reactive({ remark: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], + dueTime: [ + { required: true, message: '请选择截止时间', trigger: 'change' } + ], }) /** diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts index 14699c0c1..8cad3f9ab 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts @@ -837,21 +837,21 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive([ sortTableDefault: 18, hiddenInMain:true, }, - { - label: '数量', - field: 'qty', - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'InputNumber', - }, - sortTableDefault: 12, - }, + // { + // label: '数量', + // field: 'qty', + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // component: 'InputNumber', + // }, + // sortTableDefault: 12, + // }, { label: '退货数量', - field: 'returnedQty', + field: 'qty', sort: 'custom', table: { width: 150 diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts index 9b8147bd6..23eae21a2 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts @@ -484,7 +484,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive( }, { label: '退货数量', - field: 'returnedQty', + field: 'qty', sort: 'custom', table: { width: 150 @@ -733,19 +733,19 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive( sortSearchDefault: 7, hiddenInMain: true }, - { - label: '数量', - field: 'qty', - sort: 'custom', - table: { - width: 150 - }, - isTable:true, - sortTableDefault: 1005, - form: { - component: 'InputNumber', - } - }, + // { + // label: '数量', + // field: 'qty', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable:true, + // sortTableDefault: 1005, + // form: { + // component: 'InputNumber', + // } + // }, { label: '计量单位', field: 'uom',