Ver Fonte

fix: 获取有效的价格销售类型

zh há 2 anos atrás
pai
commit
536c4c55d9

+ 5 - 0
src/views/sales_policy/components/AddPolicy.vue

@@ -1125,6 +1125,11 @@ export default {
             'param': 'b.sale_code',
             'compare': 'like',
             'value': val
+          },
+          {
+            'param': 'a.status',
+            'compare': '=',
+            'value': true
           }
         ]
       }).then(res => {

+ 5 - 0
src/views/sales_policy/components/editPolicy.vue

@@ -1220,6 +1220,11 @@ export default {
             'param': 'b.sale_code',
             'compare': 'like',
             'value': val
+          },
+          {
+            'param': 'a.status',
+            'compare': '=',
+            'value': true
           }
         ]
       }).then(res => {