@ -85,6 +85,11 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
form: {
componentProps:{
disabled: true
}
{
label: '转换率',
@ -183,7 +188,8 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
activeValue: 'TRUE',
isSearch: true
@ -179,6 +179,10 @@ const formsSuccess = async (formType,data) => {
const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
const setV = {}
if(formField == 'itemCode'){
console.log(val);
setV['cusotmerUom'] = val[0]['uom']
setV[formField] = val[0][searchField]
formRef.setValues(setV)
})