chenrui 1 年間 前
コミット
93feabb432

+ 3 - 2
src/views/salesReturnManagement/custConfirm/setPriceModal.vue

@@ -150,7 +150,8 @@ export default {
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
         return new Promise((res, rej) => {
-          const ret = this.chooseData.filter(item => {
+          const chooseList = JSON.parse(JSON.stringify(this.chooseData))
+          const ret = chooseList.filter(item => {
             return item.productEntity.code.indexOf(this.queryParam.productCode) >= 0 &&
             item.productEntity.name.indexOf(this.queryParam.productName) >= 0
           })
@@ -218,7 +219,7 @@ export default {
             const flag = newList.some(item => Object.keys(item).length > 2)
             if (flag) {
               _this.listInfo = newList.filter(con => Object.keys(con).length > 2)
-               _this.openGrabOrderModal = !!_this.isShow
+              _this.openGrabOrderModal = !!_this.isShow
               const noShowList = newList.filter(con => Object.keys(con).length <= 2)
               _this.noShowBillSnList = _this.getNewSalesBillList(noShowList)
               _this.salesBillSnList = _this.noShowBillSnList ? _this.noShowBillSnList : []