Browse Source

要货计划编辑页面不应该可以编辑采购订单

intex_online20241111
YEJIAXING-PC\lenovo 4 weeks ago
parent
commit
49499dfc1e
  1. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

10
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -511,6 +511,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
if(item.field == 'deliveryDate'){ if(item.field == 'deliveryDate'){
item.componentProps.disabled = false item.componentProps.disabled = false
} }
if (item.field == 'poNumber') {
item.componentProps.isSearchList = true
item.componentProps.disabled = false
item.componentProps.enterSearch = true
}
}) })
}else if('update'==type){ }else if('update'==type){
PurchasePlanMain.allSchemas.formSchema.forEach((item) => { PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
@ -519,6 +524,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
item.componentProps.disabled = true item.componentProps.disabled = true
item.componentProps.isSearchList = false item.componentProps.isSearchList = false
} }
if (item.field == 'poNumber') {
item.componentProps.isSearchList = false
item.componentProps.disabled = true
item.componentProps.enterSearch = false
}
// if(item.field == 'deliveryDate'){ // if(item.field == 'deliveryDate'){
// item.componentProps.disabled = true // item.componentProps.disabled = true
// } // }

1
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -159,6 +159,7 @@ export const PurchasePlanMain = useCrudSchemas(
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
disabled:true,
enterSearch: true, enterSearch: true,
dialogWidth: '1085px', //搜索出来弹窗的宽度 dialogWidth: '1085px', //搜索出来弹窗的宽度
isSearchList: true, isSearchList: true,

Loading…
Cancel
Save