chenrui 7 mesiacov pred
rodič
commit
154448ce85

+ 10 - 0
src/views/salesManagement/salesQueryNew/comps/productList.vue

@@ -493,6 +493,16 @@ export default {
       }
       salesDetailInsertBatchBorrow(params).then(res => {
         if (res.status == 200) {
+          if (res.data && res.data.length) {
+            const tipInfo = res.data.map((item, i) => { return <p>{item}+',无法添加!'</p> })
+            this.$info({
+              title: '提示',
+              content: tipInfo,
+              centered: true,
+              okText: '知道了'
+            })
+            return
+          }
           this.$message.success('产品添加成功', 2.5)
           this.resetSearchForm(true)
           this.$emit('refash', 'promo')