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'){
item.componentProps.disabled = false
}
if (item.field == 'poNumber') {
item.componentProps.isSearchList = true
item.componentProps.disabled = false
item.componentProps.enterSearch = true
}
})
}else if('update'==type){
PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
@ -518,6 +523,11 @@ const getSearchTableData = async (number,formField,searchField)=>{
if(item.field == 'supplierCode'){
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
if (item.field == 'poNumber') {
item.componentProps.isSearchList = false
item.componentProps.disabled = true
item.componentProps.enterSearch = false
}
// if(item.field == 'deliveryDate'){
// item.componentProps.disabled = true

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

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

Loading…
Cancel
Save