|
|
|
@ -75,7 +75,7 @@ |
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
<!-- <el-tabs style="font-size: 12px;min-height: 200px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick">--> |
|
|
|
<!-- <el-tabs style="font-size: 12px;min-height: 200px" class="customer-tab" v-model="searchData2" type="border-card" @tab-click="tabClick">--> |
|
|
|
<!-- <el-tab-pane label="卷明细" name="detail">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="dataList2"--> |
|
|
|
@ -146,6 +146,14 @@ export default { |
|
|
|
id:'', |
|
|
|
site: '', |
|
|
|
}, |
|
|
|
searchData2: { |
|
|
|
transNo:'', |
|
|
|
rollNo:'', |
|
|
|
sum:'', |
|
|
|
manufactureDate:'', |
|
|
|
userName:'', |
|
|
|
enterDate:'' |
|
|
|
}, |
|
|
|
// 导出 end |
|
|
|
searchData: { |
|
|
|
transNo:'', |
|
|
|
@ -499,26 +507,98 @@ export default { |
|
|
|
fixed: '', |
|
|
|
}, |
|
|
|
], |
|
|
|
// columnList2:[ |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 200003, |
|
|
|
// serialNumber: '200003TableTransType', |
|
|
|
// tableId: "200003Table", |
|
|
|
// tableName: "出入库类型", |
|
|
|
// columnWidth: 100, |
|
|
|
// columnProp: 'transType', |
|
|
|
// headerAlign: 'center', |
|
|
|
// align: "center", |
|
|
|
// columnLabel: '出入库类型', |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: false, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '', |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
columnList2:[ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 200003, |
|
|
|
serialNumber: '200003TableTransNo', |
|
|
|
tableId: "200003Table", |
|
|
|
tableName: "出入库单号", |
|
|
|
columnWidth: 200, |
|
|
|
columnProp: 'transNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: "center", |
|
|
|
columnLabel: '出入库单号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 200003, |
|
|
|
serialNumber: '200003TableRollNo', |
|
|
|
tableId: "200003Table", |
|
|
|
tableName: "卷号", |
|
|
|
columnWidth: 200, |
|
|
|
columnProp: 'rollNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: "center", |
|
|
|
columnLabel: '卷号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 200003, |
|
|
|
serialNumber: '200003TableNum', |
|
|
|
tableId: "200003Table", |
|
|
|
tableName: "数量", |
|
|
|
columnWidth: 200, |
|
|
|
columnProp: 'num', |
|
|
|
headerAlign: 'center', |
|
|
|
align: "center", |
|
|
|
columnLabel: '数量', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 200003, |
|
|
|
serialNumber: '200003TableManufactureDate', |
|
|
|
tableId: "200003Table", |
|
|
|
tableName: "生产日期", |
|
|
|
columnWidth: 200, |
|
|
|
columnProp: 'manufactureDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: "center", |
|
|
|
columnLabel: '生产日期', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 200003, |
|
|
|
serialNumber: '200003TableEnterDate', |
|
|
|
tableId: "200003Table", |
|
|
|
tableName: "录入时间", |
|
|
|
columnWidth: 200, |
|
|
|
columnProp: 'enterDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: "center", |
|
|
|
columnLabel: '录入时间', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
}, |
|
|
|
], |
|
|
|
rules: { |
|
|
|
warehouseId:[ |
|
|
|
{ |
|
|
|
@ -586,6 +666,10 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
tabClick (tab, event) { |
|
|
|
// 刷新列表数据 |
|
|
|
this.refreshCurrentTabTable() |
|
|
|
}, |
|
|
|
changeData(row){ |
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row)); |
|
|
|
this.headerData=row; |
|
|
|
|