소스 검색

【修改】家用工程信息单 限制货品删除

howie 2 년 전
부모
커밋
6d68c50d36
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/supply/engin/components/engin_form.vue

+ 4 - 0
src/views/supply/engin/components/engin_form.vue

@@ -751,7 +751,11 @@ export default {
     // 确定 添加产品
     submitAddGoods() {
       // this.goodsList = this.delRepeat(this.rightGoodsList, this.goodsList);
+
       this.goodsList = this.goodsList.concat(this.rightGoodsList)
+      this.goodsList.forEach(k => {
+        k.id = ''
+      })
       this.isShowGoodsDialog = false
       this.leftGoodsList = []
       this.rightGoodsList = []