|
|
@@ -107,16 +107,23 @@ export default defineComponent({
|
|
|
|
|
|
tabList.value = [0, 4, 6].includes(props.selectedRow.contracctstatus)
|
|
|
? [{ key: 1, name: '合同详情' }]
|
|
|
- : [
|
|
|
- { key: 1, name: '合同详情' },
|
|
|
- { key: 2, name: '点价记录' },
|
|
|
- { key: 3, name: '交收记录' },
|
|
|
- { key: 4, name: '款项记录' },
|
|
|
- { key: 5, name: '发票记录' },
|
|
|
- { key: 6, name: '入库记录' },
|
|
|
- { key: 7, name: '出库记录' },
|
|
|
- { key: 8, name: '变更记录' },
|
|
|
- ];
|
|
|
+ : (props.selectedRow.contracttype === 1 ? [
|
|
|
+ { key: 1, name: '合同详情' },
|
|
|
+ { key: 2, name: '点价记录' },
|
|
|
+ { key: 3, name: '交收记录' },
|
|
|
+ { key: 4, name: '款项记录' },
|
|
|
+ { key: 5, name: '发票记录' },
|
|
|
+ { key: 6, name: '入库记录' },
|
|
|
+ { key: 8, name: '变更记录' },
|
|
|
+ ]:[
|
|
|
+ { key: 1, name: '合同详情' },
|
|
|
+ { key: 2, name: '点价记录' },
|
|
|
+ { key: 3, name: '交收记录' },
|
|
|
+ { key: 4, name: '款项记录' },
|
|
|
+ { key: 5, name: '发票记录' },
|
|
|
+ { key: 7, name: '出库记录' },
|
|
|
+ { key: 8, name: '变更记录' },
|
|
|
+ ]);
|
|
|
activeKey.value = 1;
|
|
|
}
|
|
|
});
|