Browse Source

供应商发货申请至灰效果

intex_online20241111
YEJIAXING-PC\lenovo 4 weeks ago
parent
commit
b5b6b3760d
  1. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 12
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue
  3. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

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

@ -446,7 +446,7 @@ const getSearchTableData = async (number,formField,searchField)=>{
defaultButtons.mainListPurchasePlanRejBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanWitBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanModBtn({ hide: isShowMainButton(row, ['5']) }), //
defaultButtons.mainListEditBtn({ hide: !isShowMainButton(row, ['2']), hasPermi: 'wms:purchase-plan-main:update' }), //
defaultButtons.mainListEditBtn({ hide: isShowMainButton(row, ['1','3','5']), hasPermi: 'wms:purchase-plan-main:update' }), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-plan-main:delete'}), //
{
label: t('ts.创建供应商发货申请'),

12
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

@ -84,12 +84,17 @@ const tableSelectionDelete = (selection) => {
}
const openFormByCreate = async ( data ) => {
SupplierdeliverRequestMain.allSchemas.formSchema.forEach((item) => {
if(item.field == 'supplierCode'){
item.componentProps.isSearchList = true
}
if(item.field == 'ppNumber'){
item.componentProps.isSearchList = true
item.componentProps.disabled = true
item.componentProps.enterSearch = false
}
if(item.field == 'asnNumber'){
item.componentProps.disabled = false
@ -149,6 +154,11 @@ const openForm = async (type: string, row?: number, defaultSupplierCode?: string
if(item.field == 'ppNumber'){
item.componentProps.isSearchList = false
item.componentProps.disabled = true
if(item.field == 'ppNumber'){
item.componentProps.isSearchList = true
item.componentProps.disabled = true
item.componentProps.enterSearch = false
}
}
if(item.field == 'asnNumber'){
item.componentProps.disabled = true
@ -165,6 +175,8 @@ const openForm = async (type: string, row?: number, defaultSupplierCode?: string
}
if(item.field == 'ppNumber'){
item.componentProps.isSearchList = true
item.componentProps.disabled = false
item.componentProps.enterSearch = true
}
if(item.field == 'asnNumber'){
item.componentProps.disabled = false

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

@ -118,6 +118,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled:true,
enterSearch:true,
dialogWidth:'1055px',//搜索出来弹窗的宽度
isSearchList: true, // 开启查询弹窗

Loading…
Cancel
Save