Browse Source

要货计划

master_hella_20240701
wangyufei 5 months ago
parent
commit
9426617be0
  1. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts
  3. 8
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue
  4. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

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

@ -334,7 +334,7 @@ const getSearchTableData = async (number,formField,searchField)=>{
} }
return [ return [
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['2']) }), // defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['2']) }), //
defaultButtons.mainListPurchasePlanCloBtn({ hide: isShowMainButton(row, ['1']) }), // defaultButtons.mainListPurchasePlanCloBtn({ hide: !(row.status==6&&row.type=='SCHEDULE') }), //
defaultButtons.mainListPurchasePlanPubBtn({ hide: isShowMainButton(row, ['1']) }), // defaultButtons.mainListPurchasePlanPubBtn({ hide: isShowMainButton(row, ['1']) }), //
defaultButtons.mainListPurchasePlanAccBtn({ hide: isShowMainButton(row, ['3']) }), // defaultButtons.mainListPurchasePlanAccBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanRejBtn({ hide: isShowMainButton(row, ['3']) }), // defaultButtons.mainListPurchasePlanRejBtn({ hide: isShowMainButton(row, ['3']) }), //

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

@ -162,7 +162,6 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
isForm:true, isForm:true,
isSearch: true,
table: { table: {
width: 150 width: 150
}, },

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

@ -103,7 +103,7 @@ const openFormByCreate = async ( data ) => {
setV['ppNumber'] = data['number'] // setV['ppNumber'] = data['number'] //
searchPage: SupplierApi.getSupplierPage searchPage: SupplierApi.getSupplierPage
//-- //--
getSearchTableData(data['number'],'ppNumber','number') getSearchTableData(data['number'],'ppNumber','number',0)
// //
let beginTime = data['endTime'] let beginTime = data['endTime']
@ -234,7 +234,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
//-- //--
setV['poNumber'] = val[0]['poNumber'] // setV['poNumber'] = val[0]['poNumber'] //
getSearchTableData(val[0]['number'],formField,searchField) getSearchTableData(val[0]['number'],formField,searchField,1)
// //
@ -258,9 +258,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
}) })
} }
const getSearchTableData = async (number,formField,searchField)=>{ const getSearchTableData = async (number,formField,searchField,isAll)=>{
const {tableObject ,tableMethods} = useTable({ const {tableObject ,tableMethods} = useTable({
defaultParams:{number,flag:1}, defaultParams:{number,flag:1,isAll},
getListApi: PurchasePlanDetailApi.getPurchasePlanDetailPage // getListApi: PurchasePlanDetailApi.getPurchasePlanDetailPage //
}) })
tableObject.pageSize = 500 tableObject.pageSize = 500

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

@ -642,6 +642,16 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
},
{
key: 'flag',
value: '1',
isMainValue: false
},
{
key: 'isAll',
value: '1',
isMainValue: false
}] }]
} }
}, },

Loading…
Cancel
Save