|
|
@@ -62,29 +62,29 @@ export default {
|
|
|
pageName: '',
|
|
|
repairTabsOptions: [
|
|
|
{
|
|
|
- key: 'outerStoremanOut',
|
|
|
+ name: 'outerStoremanOut',
|
|
|
isOutOrIn: 'outerStore',
|
|
|
- name: '物品出库给外协'
|
|
|
+ label: '物品出库给外协'
|
|
|
},
|
|
|
{
|
|
|
- key: 'outerStoremanIn',
|
|
|
+ name: 'outerStoremanIn',
|
|
|
isOutOrIn: 'outerStore',
|
|
|
- name: '外协返修物品入库'
|
|
|
+ label: '外协返修物品入库'
|
|
|
},
|
|
|
{
|
|
|
- key: 'outerInQC',
|
|
|
+ name: 'outerInQC',
|
|
|
isOutOrIn: 'outerStore',
|
|
|
- name: '外协返修入库质检'
|
|
|
+ label: '外协返修入库质检'
|
|
|
},
|
|
|
{
|
|
|
- key: 'innerStoremanIn',
|
|
|
+ name: 'innerStoremanIn',
|
|
|
isOutOrIn: 'innerStore',
|
|
|
- name: '内部生产物品入库'
|
|
|
+ label: '内部生产物品入库'
|
|
|
},
|
|
|
{
|
|
|
- key: 'innerInQC',
|
|
|
+ name: 'innerInQC',
|
|
|
isOutOrIn: 'innerStore',
|
|
|
- name: '内部生产入库质检'
|
|
|
+ label: '内部生产入库质检'
|
|
|
}
|
|
|
],
|
|
|
activeComp: '',
|
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
//返修节点中有可能多流程
|
|
|
let find =
|
|
|
this.repairTabsOptions.find(
|
|
|
- (item) => item.key == this.taskDefinitionKey
|
|
|
+ (item) => item.name == this.taskDefinitionKey
|
|
|
)?.isOutOrIn || '';
|
|
|
let optionKey = find || this.taskDefinitionKey;
|
|
|
this.activeComp = optionKey || 'stater';
|