liuchen864 11 months ago
parent
commit
0342c713ae
  1. 6
      src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts
  2. 1
      src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts
  3. 6
      src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts

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

@ -415,6 +415,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const ProductrepairRequestMainRules = reactive({ export const ProductrepairRequestMainRules = reactive({
workshopCode: [
{ required: true, message: '请选择车间代码', trigger: 'change' }
],
dueTime: [
{ required: true, message: '请选择截止时间', trigger: 'change' }
],
fromWarehouseCode: [ fromWarehouseCode: [
{ required: true, message: '请选择从仓库代码', trigger: 'change' } { required: true, message: '请选择从仓库代码', trigger: 'change' }
], ],

1
src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts

@ -688,6 +688,7 @@ export const ProdcutscrapRecordBomDismantle = useCrudSchemas(reactive<CrudSchema
label: '数量', label: '数量',
field: 'qty', field: 'qty',
tableForm: { tableForm: {
disabled: true,
type: 'InputNumber', type: 'InputNumber',
min: 0, min: 0,
precision: 6 precision: 6

6
src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts

@ -417,6 +417,12 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const ProductscrapRequestMainRules = reactive({ export const ProductscrapRequestMainRules = reactive({
workshopCode: [
{ required: true, message: '请选择车间代码', trigger: 'change' }
],
dueTime: [
{ required: true, message: '请选择截止时间', trigger: 'change' }
],
fromWarehouseCode: [ fromWarehouseCode: [
{ required: true, message: '请选择从仓库代码', trigger: 'change' } { required: true, message: '请选择从仓库代码', trigger: 'change' }
], ],

Loading…
Cancel
Save