Browse Source

拒收明细修改

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
757a3cc41a
  1. 6
      src/utils/disposition/tabsList.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue
  3. 6
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordRefuseMain/index.vue

6
src/utils/disposition/tabsList.ts

@ -38,3 +38,9 @@ export const PurchasereceiptRequestTabsList = [{
}
]
export const PurchasereceiptRefuseRequestTabsList = [{
label: "拒收明细",
prop: 'receiptDetail',
}
]

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

@ -220,7 +220,7 @@ const butttondata = (row,$index) => {
{
label: '拒收',
name: 'mainJobRefusal',
hide: isShowMainButton(row, ['1']),
hide: isShowMainButton(row, ['2']),
type: 'primary',
icon: '',
color: '',

6
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordRefuseMain/index.vue

@ -58,7 +58,7 @@
:detailAllSchemas="detailAllSchemas"
:detailAllSchemasRules="PurchasereceiptRecordDetailRules"
:apiPage="apiPage"
:tabs="PurchasereceiptRequestTabsList"
:tabs="PurchasereceiptRefuseRequestTabsList"
@changeTabs="changeTabs"
:buttondataTable="buttondataTable"
@tableFormButton="tableFormButton"
@ -112,7 +112,7 @@ import { PurchasereceiptRecordMain,
import * as PurchasereceiptRecordMainApi from '@/api/wms/purchasereceiptRecordMain'
import * as PurchasereceiptRecordDetailApi from '@/api/wms/purchasereceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { PurchasereceiptRequestTabsList } from '@/utils/disposition/tabsList'
import { PurchasereceiptRefuseRequestTabsList } from '@/utils/disposition/tabsList'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { getReportUrl } from '@/utils/systemParam'
//
@ -314,7 +314,7 @@ const searchFormClick = (searchData) => {
const changeTabs = (data) =>{
if(data.prop == 'receiptDetail'){
console.log(data)
apiPage.value = routeName.value.includes('SCP')?PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPageSCP:PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPage
apiPage.value = routeName.value.includes('SCP')?PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPageSCP:PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailRefusePage
detailAllSchemas.value = PurchasereceiptRecordDetail.allSchemas
tabeKey.value = 'receiptDetail'
}else if(data.prop == 'scarceGoodsDetail'){

Loading…
Cancel
Save