bug-fix:
1. 修复仓库管理-库位管理列表双击时弹出的窗口显示的不是库位的库存信息.
正在显示
3 个修改的文件
包含
7 行增加
和
6 行删除
@@ -1164,7 +1164,7 @@ | @@ -1164,7 +1164,7 @@ | ||
1164 | this.$message.success(res.msg) | 1164 | this.$message.success(res.msg) |
1165 | this.getList() | 1165 | this.getList() |
1166 | }).catch(error => { | 1166 | }).catch(error => { |
1167 | - this.$message.error(res.msg) | 1167 | + this.$message.error(error) |
1168 | }) | 1168 | }) |
1169 | }).catch(() => { | 1169 | }).catch(() => { |
1170 | }) | 1170 | }) |
@@ -1180,10 +1180,11 @@ | @@ -1180,10 +1180,11 @@ | ||
1180 | }, | 1180 | }, |
1181 | watch: { | 1181 | watch: { |
1182 | parentLoId(value) { | 1182 | parentLoId(value) { |
1183 | - if (jsutil.checkNull(this.parentLoId)){ | ||
1184 | - this.queryInfo.locationno = this.parentLoId; | 1183 | + if (value && jsutil.checkNull(this.parentLoId)){ |
1184 | + this.queryInfo.locationno = this.parentLoId; | ||
1185 | + this.getList(); | ||
1185 | } | 1186 | } |
1186 | - this.getList(); | 1187 | + |
1187 | } | 1188 | } |
1188 | } | 1189 | } |
1189 | 1190 |
@@ -231,7 +231,7 @@ | @@ -231,7 +231,7 @@ | ||
231 | </el-row> | 231 | </el-row> |
232 | </el-card> | 232 | </el-card> |
233 | <el-dialog title="库存" :visible.sync="dialogVisible" fullscreen > | 233 | <el-dialog title="库存" :visible.sync="dialogVisible" fullscreen > |
234 | - <INVENTROY :parent-locations-id="selectedLoId" /> | 234 | + <INVENTROY :parentLoId="selectedLoId" /> |
235 | <span slot="footer" class="dialog-footer"> | 235 | <span slot="footer" class="dialog-footer"> |
236 | <el-button type="info" @click="dialogVisible = false">关 闭</el-button> | 236 | <el-button type="info" @click="dialogVisible = false">关 闭</el-button> |
237 | </span> | 237 | </span> |
@@ -191,7 +191,7 @@ | @@ -191,7 +191,7 @@ | ||
191 | </el-table-column> | 191 | </el-table-column> |
192 | <el-table-column | 192 | <el-table-column |
193 | prop="opter" | 193 | prop="opter" |
194 | - label="入库经办人" | 194 | + label="出入库经办人" |
195 | width="100"> | 195 | width="100"> |
196 | </el-table-column> | 196 | </el-table-column> |
197 | <el-table-column | 197 | <el-table-column |
-
请 注册 或 登录 后发表评论