修复出入库类型错误
This commit is contained in:
parent
bf0da42707
commit
77f75bbbeb
|
|
@ -304,7 +304,6 @@ export default {
|
||||||
this.inTabValue = value
|
this.inTabValue = value
|
||||||
this.shopTypesActive = 0
|
this.shopTypesActive = 0
|
||||||
this.resetHandle()
|
this.resetHandle()
|
||||||
this.queryForm.type = type
|
|
||||||
},
|
},
|
||||||
// 计算耗材总价
|
// 计算耗材总价
|
||||||
consCountTotal(cvalue, row, key1, key2 = undefined) {
|
consCountTotal(cvalue, row, key1, key2 = undefined) {
|
||||||
|
|
@ -415,6 +414,11 @@ export default {
|
||||||
resetHandle() {
|
resetHandle() {
|
||||||
this.showResult = false
|
this.showResult = false
|
||||||
this.queryForm = { ...this.resetForm }
|
this.queryForm = { ...this.resetForm }
|
||||||
|
if (this.inTabValue == 'goods') {
|
||||||
|
this.queryForm.type = this.shopTypes[this.shopTypesActive].value
|
||||||
|
} else {
|
||||||
|
this.queryForm.type = this.inTabs.find(item => item.value == this.inTabValue).type
|
||||||
|
}
|
||||||
this.tableData.list = []
|
this.tableData.list = []
|
||||||
this.$refs.queryForm.resetFields()
|
this.$refs.queryForm.resetFields()
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -409,6 +409,11 @@ export default {
|
||||||
resetHandle() {
|
resetHandle() {
|
||||||
this.showResult = false
|
this.showResult = false
|
||||||
this.queryForm = { ...this.resetForm }
|
this.queryForm = { ...this.resetForm }
|
||||||
|
if (this.inTabValue == 'goods') {
|
||||||
|
this.queryForm.type = this.shopTypes[this.shopTypesActive].value
|
||||||
|
} else {
|
||||||
|
this.queryForm.type = this.inTabs.find(item => item.value == this.inTabValue).type
|
||||||
|
}
|
||||||
this.tableData.list = []
|
this.tableData.list = []
|
||||||
this.$refs.queryForm.resetFields()
|
this.$refs.queryForm.resetFields()
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue