浏览代码

添加是否是促销产品查询条件

chenrui 3 月之前
父节点
当前提交
8d518b857b

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1741938042884
+  "version": 1742197089494
 }

+ 14 - 1
src/views/promotionManagement/subsidizedProducts/list.vue

@@ -30,6 +30,17 @@
                 <mallCategory id="subsidizedProducts-category" @change="changeProductsCategory" v-model="category"></mallCategory>
               </a-form-item>
             </a-col>
+            <a-col :md="6" :sm="24">
+              <a-form-item label="促销产品">
+                <v-select
+                  v-model="queryParam.isPromoProduct"
+                  ref="sourceType"
+                  id="rechargeList-isPromoProduct"
+                  code="FLAG"
+                  placeholder="请选择促销产品"
+                  allowClear></v-select>
+              </a-form-item>
+            </a-col>
           </template>
           <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
             <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="subsidizedProducts-refresh">查询</a-button>
@@ -154,7 +165,8 @@ export default {
         productTypeSn3: '', //  产品三级分类
         categorySn1: undefined, // 商城一级类目
         categorySn2: undefined, // 商城二级类目
-        categoryStatus: '1'// 状态 默认值1
+        categoryStatus: '1', // 状态 默认值1
+        isPromoProduct: undefined // 是否是促销产品
       },
       openAddModal: false, // 打开新增弹窗
       openEditModal: false, // 打开编辑弹窗
@@ -301,6 +313,7 @@ export default {
       this.queryParam.categorySn1 = undefined
       this.queryParam.categorySn2 = undefined
       this.queryParam.categoryStatus = '1'
+      this.queryParam.isPromoProduct = undefined
       this.productType = []
       this.category = []
       this.$refs.table.refresh()

+ 1 - 1
src/views/promotionManagement/subsidizedProducts/subsidyAddModal.vue

@@ -136,7 +136,7 @@ export default {
         { title: '产品名称', dataIndex: 'productName', width: '20%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '原厂编码', dataIndex: 'productOrigCode', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '商城售价', dataIndex: 'price', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
-        { title: '终端价', dataIndex: 'terminalPrice', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
+        { title: '终端价', dataIndex: 'ocsPrice', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
         { title: '品牌', dataIndex: 'productBrandName', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', width: '15%', align: 'center', scopedSlots: { customRender: 'productType' } },
         { title: '包装数', width: '10%', align: 'center', scopedSlots: { customRender: 'baozh' } },