Browse Source

Merge branch 'hella_online_20240803' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into hella_online_20240803

hella_online_20240821
宋国强 6 months ago
parent
commit
1c65740900
  1. 12
      src/views/qms/inspectionJob/index.vue
  2. 2
      src/views/wms/inventoryjobManage/sparepartReturn/sparepartReturnRecordMain/sparepartReturnRecordMain.data.ts
  3. 60
      src/views/wms/inventoryjobManage/sparepartReturn/sparepartReturnRequestMain/sparepartReturnRequestMain.data.ts

12
src/views/qms/inspectionJob/index.vue

@ -238,6 +238,14 @@ const isShowMainButton = (row, val) => {
} }
} }
const isShowMainButton3 = (row) => {
if (row.asnNumber) {
return false
} else {
return true
}
}
// //
const isShowMainButton2 = (row, val) => { const isShowMainButton2 = (row, val) => {
if (val.indexOf(row.isStaging) > -1) { if (val.indexOf(row.isStaging) > -1) {
@ -283,7 +291,9 @@ const butttondata = (row) => {
hasPermi: 'qms:inspection-job-main:execute' hasPermi: 'qms:inspection-job-main:execute'
}), // }), //
defaultButtons.mainListPackageBtn(null), // defaultButtons.mainListPackageBtn(null), //
defaultButtons.mainListPlanCheckQualityReportBtn({}) // defaultButtons.mainListPlanCheckQualityReportBtn({
hide: isShowMainButton3(row)
}) //
] ]
} }
const listTableRef = ref() const listTableRef = ref()

2
src/views/wms/inventoryjobManage/sparepartReturn/sparepartReturnRecordMain/sparepartReturnRecordMain.data.ts

@ -42,7 +42,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 180 width: 180
}, },
isSearch: true isSearch: false
}, },
{ {
label: '申请时间', label: '申请时间',

60
src/views/wms/inventoryjobManage/sparepartReturn/sparepartReturnRequestMain/sparepartReturnRequestMain.data.ts

@ -801,9 +801,63 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
isSearch: true, isSearch: true,
isMainValue: false isMainValue: false
},{ },{
key: 'businessTypeCode', key: 'type',
value: 'UnplannedReceipt', value: 'ZZBZ',
action: '==', action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'WGJ',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'Q&J',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'PRHC',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'ONBZ',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'DZYH',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'CCP',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'BCP',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'QJ',
action: '!=',
isSearch: true,
isMainValue: false
},{
key: 'type',
value: 'YCL',
action: '!=',
isSearch: true, isSearch: true,
isMainValue: false isMainValue: false
} }

Loading…
Cancel
Save