Browse Source

要货计划修改

master
zhaoxuebing 10 months ago
parent
commit
a20a839697
  1. 6
      src/api/wms/purchaseDetail/index.ts
  2. 17
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

6
src/api/wms/purchaseDetail/index.ts

@ -46,16 +46,10 @@ export const getPurchaseDetailPage = async (params) => {
// 查询采购订单子列表
export const getPurchaseDetailPagePoNumber = async (params) => {
if (params.isSearch) {
if(params.number == ''){
return;
}
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchase-detail/senior', data })
} else {
if(params.number == ''){
return;
}
return await request.get({ url: `/wms/purchase-detail/page`, params })
}
}

17
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -559,6 +559,23 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm: false,
isForm: false,
},
{
label: '已计划数量',
field: 'plannedQty',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 1,
precision: 6
},
value: 1
},
isTableForm: false,
isForm: false,
},
{
label: '已发货数量',
field: 'shippedQty',

Loading…
Cancel
Save