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: '拒收', label: '拒收',
name: 'mainJobRefusal', name: 'mainJobRefusal',
hide: isShowMainButton(row, ['1']), hide: isShowMainButton(row, ['2']),
type: 'primary', type: 'primary',
icon: '', icon: '',
color: '', color: '',

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

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

Loading…
Cancel
Save