chenrui před 8 měsíci
rodič
revize
7bf33ddd1a

+ 7 - 7
src/views/promotionManagement/promotionInfo/list.vue

@@ -12,7 +12,7 @@
             </a-col>
             <a-col :md="5" :sm="24">
               <a-form-item label="促销名称">
-                <a-input id="promotionInfoList-name" v-model.trim="queryParam.name" allowClear placeholder="请输入促销名称"/>
+                <a-input id="promotionInfoList-promoName" v-model.trim="queryParam.promoName" allowClear placeholder="请输入促销名称"/>
               </a-form-item>
             </a-col>
             <a-col :md="5" :sm="24">
@@ -29,9 +29,9 @@
             <a-col :md="5" :sm="24">
               <a-form-item label="促销状态">
                 <v-select
-                  v-model="queryParam.dealerPublishState"
+                  v-model="queryParam.promoState"
                   ref="sourceType"
-                  id="promotionInfoList-dealerPublishState"
+                  id="promotionInfoList-promoState"
                   code="SHOP_PROMO_PROMO_STATE"
                   placeholder="请选择促销状态"
                   allowClear></v-select>
@@ -130,9 +130,9 @@ export default {
       queryParam: { //  查询条件
         beginDate: undefined,
         endDate: undefined,
-        name: '', //  促销名称
+        promoName: '', //  促销名称
         promoType: '', // 促销类型
-        dealerPublishState: undefined// 促销状态
+        promoState: undefined// 促销状态
       },
       descInfo: '', // 促销描述
       disabled: false, //  查询、重置按钮是否可操作
@@ -260,9 +260,9 @@ export default {
       this.$refs.rangeDate.resetDate(this.time)
       this.queryParam.beginDate = undefined
       this.queryParam.endDate = undefined
-      this.queryParam.name = ''
+      this.queryParam.promoName = ''
       this.queryParam.promoType = undefined
-      this.queryParam.dealerPublishState = undefined
+      this.queryParam.promoState = undefined
       this.$refs.table.refresh(true)
     },
     pageInit () {