chenrui 3 lat temu
rodzic
commit
3627cdddc5

+ 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 => {