fix 物品仓库数量显示
This commit is contained in:
parent
78c5882961
commit
ecfa2edaf6
@ -442,7 +442,7 @@ export default {
|
|||||||
saveEdit() {
|
saveEdit() {
|
||||||
this.$refs['modalForm'].validate(valid => {
|
this.$refs['modalForm'].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.modalForm.codes = this.codesStr.split(',')
|
this.modalForm.codes = this.codesStr ? this.codesStr.split(',') : []
|
||||||
this.modalForm.used_codes =
|
this.modalForm.used_codes =
|
||||||
this.modalForm.used_codes.length > 0
|
this.modalForm.used_codes.length > 0
|
||||||
? this.usedCodesStr.split(',')
|
? this.usedCodesStr.split(',')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user