Browse Source

编辑修改

hella_online_20240924
zhaoxuebing 4 months ago
parent
commit
1ae07b9793
  1. 6
      src/api/wms/purchasereturnRequestDetail/index.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/index.vue
  3. 4
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/purchasereturnRequestMOrderTypeMain.data.ts

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

@ -42,6 +42,12 @@ export const getPurchasereturnRequestDetailPage = async (params) => {
export const getPurchasereturnRequestDetailEditData = async (params) => {
return await request.get({ url: `/wms/purchasereturn-request-main/editReturnNew`, params })
}
// 查询M类型采购退货申请子列表
export const getPurchasereturnRequestDetailEditDataMOrderType = async (params) => {
return await request.get({ url: `/wms/purchasereturn-request-main/editReturnNewMtype`, params })
}
// 物料供应商查询
export const getPurchasereturnSupplierByCode = async (params) => {
return await request.get({ url: `/wms/supplieritem/querySupplierByCode`, params })

2
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/index.vue

@ -673,7 +673,7 @@ const openForm = async (type: string, row?: Object) => {
}
if (type == 'update') {
let updateData = await PurchasereturnRequestDetailApi.getPurchasereturnRequestDetailEditData({
let updateData = await PurchasereturnRequestDetailApi.getPurchasereturnRequestDetailEditDataMOrderType({
masterId:row.masterId
})
if(updateData){

4
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/purchasereturnRequestMOrderTypeMain.data.ts

@ -270,7 +270,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
},
{
label: '收货数量',
field: 'qty',
field: 'receivedQty',
sort: 'custom',
table: {
width: 150
@ -301,7 +301,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
form: {
component: 'InputNumber',
componentProps: {
min: 1,
min: 0,
precision: 6
},
},

Loading…
Cancel
Save