'修改bug'

This commit is contained in:
Fanzink
2022-03-10 21:15:33 +08:00
parent 95afd175a3
commit 7afe3c3ec7
25 changed files with 419 additions and 156 deletions

View File

@@ -4,7 +4,7 @@
* @Author: fzq
* @Date: 2022-03-06 17:06:51
* @LastEditors: fzq
* @LastEditTime: 2022-03-06 17:10:16
* @LastEditTime: 2022-03-07 10:35:29
-->
<template>
<el-form :inline="true" @keyup.enter.native="getDataList()">
@@ -14,7 +14,7 @@
<el-form-item>
<el-button type="primary" @click="getDataList()">{{ 'btn.search' | i18nFilter }}</el-button>
<el-button v-if="showAdd" type="primary" @click="add()">{{ 'btn.add' | i18nFilter }}</el-button>
<el-button type="success" @click="downl()">{{ '导出' | i18nFilter }}</el-button>
<el-button type="success" @click="downl()">{{ 'btn.export' | i18nFilter }}</el-button>
</el-form-item>
</el-form>
</template>

View File

@@ -4,7 +4,7 @@
* @Author: fzq
* @Date: 2022-03-05 17:45:46
* @LastEditors: fzq
* @LastEditTime: 2022-03-06 16:46:54
* @LastEditTime: 2022-03-07 09:19:34
-->
<template>
<!-- <el-dialog
@@ -112,6 +112,7 @@ export default {
this.dataForm.storageBoxId = this.$route.query.id
this.dataForm.storageCode = this.$route.query.code
this.visible = true
// console.log(this.dataForm)
listSubstrate(this.dataForm).then(res => {
console.log(res.data[0])
this.dataForm.id = res.data[0].id

View File

@@ -4,7 +4,7 @@
* @Author: fzq
* @Date: 2022-03-05 15:55:45
* @LastEditors: fzq
* @LastEditTime: 2022-03-05 19:44:47
* @LastEditTime: 2022-03-07 09:28:21
-->
<template>
<div class="app-container">
@@ -112,12 +112,14 @@ export default {
listQuery: {
current: 1,
size: 10,
substrateCode: ''
storageBoxCode: '',
storageBoxId: ''
}
}
},
created() {
this.listQuery.substrateCode = this.$route.query.code
this.listQuery.storageBoxCode = this.$route.query.code
this.listQuery.storageBoxId = this.$route.query.id
this.getList()
},
methods: {
@@ -150,6 +152,7 @@ export default {
this.listQuery.code = this.$route.query.code
console.log(this.listQuery)
listSubstrate(this.listQuery).then(response => {
console.log(response)
if (response.data) {
this.list = response.data
console.log(this.list)