Browse Source

客户物料展示样式

master
chenfang 10 months ago
parent
commit
7f0a3c8533
  1. 8
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts
  2. 4
      src/views/wms/basicDataManage/customerManage/customeritem/index.vue

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

@ -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',
disabled: true
}
},
isSearch: true

4
src/views/wms/basicDataManage/customerManage/customeritem/index.vue

@ -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)
})

Loading…
Cancel
Save