chenrui %!s(int64=3) %!d(string=hai) anos
pai
achega
3627cdddc5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 => {