|
|
@ -1463,6 +1463,78 @@ export default { |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120 |
|
|
columnWidth: 120 |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 106002, |
|
|
|
|
|
serialNumber: '106002Table1PrNo', |
|
|
|
|
|
tableId: "106002Table1", |
|
|
|
|
|
tableName: "刀具申请主表", |
|
|
|
|
|
columnProp: "prNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "IFS PR编号", |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 106002, |
|
|
|
|
|
serialNumber: '106002Table1PoNo', |
|
|
|
|
|
tableId: "106002Table1", |
|
|
|
|
|
tableName: "刀具申请主表", |
|
|
|
|
|
columnProp: "poNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "采购订单号", |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 106002, |
|
|
|
|
|
serialNumber: '106002Table1SupplierName', |
|
|
|
|
|
tableId: "106002Table1", |
|
|
|
|
|
tableName: "刀具申请主表", |
|
|
|
|
|
columnProp: "supplierName", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "厂商名称", |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 106002, |
|
|
|
|
|
serialNumber: '106002Table1AllCost', |
|
|
|
|
|
tableId: "106002Table1", |
|
|
|
|
|
tableName: "刀具申请主表", |
|
|
|
|
|
columnProp: "allCost", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "总成本(元)", |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 100 |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 106002, |
|
|
functionId: 106002, |
|
|
@ -3216,7 +3288,7 @@ export default { |
|
|
fieldColumn() { |
|
|
fieldColumn() { |
|
|
if (!this.accessField('10601001')) { |
|
|
if (!this.accessField('10601001')) { |
|
|
this.columnList2 = this.columnList2.filter(item => item.columnProp !== 'standardCost'); |
|
|
this.columnList2 = this.columnList2.filter(item => item.columnProp !== 'standardCost'); |
|
|
this.columnList1 = this.columnList1.filter(item => item.columnProp !== 'totalCost'); |
|
|
|
|
|
|
|
|
this.columnList1 = this.columnList1.filter(item => !['totalCost', 'allCost'].includes(item.columnProp)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|