소스 검색

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