Browse Source

YT-901客户物料,新增,物料代码输入带不出客户计量单位,应输入能带出客户计量单位

intex
zhang_li 3 days ago
parent
commit
01288c67f2
  1. 22
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

22
src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

@ -37,8 +37,19 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}],
// verificationPage: CustomerApi.getCustomerPage, // tableForm下方输入框校验失去焦点之后是否正确的方法
// 失去焦点校验参数
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: 'true',
isFormModel: true,
}] }]
} },
}, },
isSearch: true isSearch: true
}, },
@ -63,6 +74,15 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}],
// 失去焦点校验参数
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: 'true',
isFormModel: true,
}] }]
} }
}, },

Loading…
Cancel
Save