Browse Source

要货计划修改

master
zhaoxuebing 10 months ago
parent
commit
a20a839697
  1. 6
      src/api/wms/purchaseDetail/index.ts
  2. 41
      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 })
}
}

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

@ -545,19 +545,36 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false,
},
{
label: '转换率',
field: 'convertRate',
form: {
component: 'InputNumber',
componentProps: {
min: 0
}
},
table: {
width: 150
label: '转换率',
field: 'convertRate',
form: {
component: 'InputNumber',
componentProps: {
min: 0
}
},
table: {
width: 150
},
isTableForm: false,
isForm: false,
},
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: '已发货数量',

Loading…
Cancel
Save