|
|
@@ -197,7 +197,6 @@ export default { |
|
|
|
methods: { |
|
|
|
getList() { |
|
|
|
getOutInRecordRecord({ ...this.listQuery }).then((res) => { |
|
|
|
console.log(res) |
|
|
|
if (res.code === 0) { |
|
|
|
this.total = res.data.total |
|
|
|
this.tableData = res.data.records |
|
|
@@ -205,7 +204,6 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
selectChanged(val) { |
|
|
|
console.log(val) |
|
|
|
if (val.value) { |
|
|
|
let id = null |
|
|
|
let line = JSON.parse(localStorage.getItem('publicList')).proLineVoList |
|
|
@@ -217,6 +215,8 @@ export default { |
|
|
|
}) |
|
|
|
sideLibraryList({ id }).then((res) => { |
|
|
|
if (res.code === 0) { |
|
|
|
this.formConfig[0].defaultSelect = |
|
|
|
this.$refs.searchBarForm.formInline.timeVal |
|
|
|
this.formConfig[3].selectOptions = res.data |
|
|
|
this.formConfig[3].defaultSelect = null |
|
|
|
} |
|
|
@@ -225,14 +225,12 @@ export default { |
|
|
|
}, |
|
|
|
getMaterialList() { |
|
|
|
materialList().then((res) => { |
|
|
|
console.log(res) |
|
|
|
if (res.code === 0) { |
|
|
|
this.formConfig[4].selectOptions = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
buttonClick(val) { |
|
|
|
console.log(val) |
|
|
|
if (val.btnName === 'search') { |
|
|
|
this.listQuery.startTime = val.timeVal ? val.timeVal[0] : '' |
|
|
|
this.listQuery.endTime = val.timeVal ? val.timeVal[1] : '' |
|
|
|