Browse Source

物料变更前端字段修改

hella_online_20240829
chenfang 3 months ago
parent
commit
31d3ab999d
  1. 15
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue
  2. 2
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

15
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue

@ -585,6 +585,21 @@ const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
tableData.value = []
basicFormRef.value.open(type, row)
if(type == "update"){
RelegateRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'fromWarehouseCode') {
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
})
}else {
RelegateRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'fromWarehouseCode') {
item.componentProps.disabled = false
item.componentProps.isSearchList = true
}
})
}
}
//true0
const flag = ref(false)

2
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

@ -573,7 +573,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
key: 'itemCode',
value: 'downItemCode',
message: "请选择降级物料代码",
message: "请选择物料变更代码",
isMainValue: true
}
]

Loading…
Cancel
Save