Browse Source

缺陷:HL-5834 M型订单退货开发

hella_online_20240924
zhaoxuebing 2 months ago
parent
commit
2d037aaadd
  1. 11
      src/api/wms/purchasereturnRecordDetail/index.ts
  2. 4
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMOrderTypeMain/index.vue
  3. 3
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMOrderTypeMain/purchasereturnRecordMOrderTypeMain.data.ts
  4. 2
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/index.vue

11
src/api/wms/purchasereturnRecordDetail/index.ts

@ -60,6 +60,17 @@ export const getPurchasereturnRecordDetailPageSpare = async (params) => {
}
}
export const getPurchasereturnRecordDetailPageMorderType = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchasereturn-record-detail/seniorMorderType', data })
} else {
return await request.get({ url: `/wms/purchasereturn-record-detail/pageMorderType`, params })
}
}
export const getPurchasereturnRecordDetailPageSCP = async (params) => {
if (params.isSearch) {
delete params.isSearch

4
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMOrderTypeMain/index.vue

@ -57,7 +57,7 @@
:allSchemas="PurchasereturnRecordMOrderTypeMain.allSchemas"
:detailAllSchemas="PurchasereturnRecordMOrderTypeDetail.allSchemas"
:detailAllSchemasRules="PurchasereturnRecordMOrderTypeDetailRules"
:apiPage="routeName.includes('SCP')?PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPageSCP:PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPage"
:apiPage="routeName.includes('SCP')?PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPageSCP:PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPageMorderType"
/>
</template>
@ -90,7 +90,7 @@ const updataTableColumns = (val) => {
}
const { tableObject, tableMethods } = useTable({
getListApi: routeName.value.includes('SCP')?PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPageSCP:PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPage //
getListApi: routeName.value.includes('SCP')?PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPageSCP:PurchasereturnRecordDetailApi.getPurchasereturnRecordDetailPageMorderType //
})
//

3
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMOrderTypeMain/purchasereturnRecordMOrderTypeMain.data.ts

@ -441,7 +441,8 @@ export const PurchasereturnRecordMOrderTypeMain = useCrudSchemas(
table: {
width: 150,
fixed: 'right'
}
},
isTable:false,
}
])
)

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

@ -588,7 +588,7 @@ const butttondata = (row, $index) => {
hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:purchasereturn-request-main:update'
}),//
defaultButtons.mainListDocumentPrintBtn(null)//
//defaultButtons.mainListDocumentPrintBtn(null)//
// {
// label: '',
// name: 'ssbq',

Loading…
Cancel
Save