Browse Source

YT-2029:供应商物料编辑设置

intex_online20250311
songguoqiang 4 weeks ago
parent
commit
a9066ed8d5
  1. 4
      src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue
  2. 2
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

4
src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue

@ -227,7 +227,7 @@ const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
if(type == "update"){
Supplieritem.allSchemas.formSchema.forEach((item) => {
if (item.field == 'supplierCode') {
if (item.field == 'supplierCode' || item.field == 'defaultLocationCode') {
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
@ -237,6 +237,8 @@ const openForm = (type: string, row?: any) => {
}
})
}else {
Supplieritem.allSchemas.formSchema.forEach((item) => {
if (item.field == 'supplierCode') {

2
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -152,8 +152,10 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
field: 'receivedNumber',
isForm:true,
hiddenSearchHigh:true,
form:{
componentProps:{
disabled: true
}
},
table: {
width: 180

Loading…
Cancel
Save