浏览代码

bug修复

chenrui 3 年之前
父节点
当前提交
3627cdddc5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/numsGoodsShelves/shelfSet/bindProductModal.vue

+ 1 - 1
src/views/numsGoodsShelves/shelfSet/bindProductModal.vue

@@ -161,7 +161,7 @@ export default {
           const form = JSON.parse(JSON.stringify(_this.form))
           form.shelfPlaceSn = _this.nowData && _this.nowData.shelfPlaceSn
           if (this.type != 'bind') { // 修改信息、更换产品
-            form.shelfProductSn = _this.nowData && _this.nowData.shelfProductSn
+            form.shelfProductSn = _this.nowData && _this.nowData.shelfProductApiEntity && _this.nowData.shelfProductApiEntity.shelfProductSn
           }
           _this.spinning = true
           shelfProductSave(form).then(res => {