zhangdan 4 年 前
コミット
5e4cd7cb26
1 ファイル変更9 行追加9 行削除
  1. 9 9
      src/views/releaseRecord/releaseRecordList.vue

+ 9 - 9
src/views/releaseRecord/releaseRecordList.vue

@@ -24,14 +24,14 @@
               <a-select
                 placeholder="请选择"
                 allowClear
-                v-model="queryParam.officialPartnerNo"
+                v-model="queryParam.stationNo"
                 :showSearch="true"
                 option-filter-prop="children"
                 :filter-option="filterOption"
                 @focus="handleFocus"
                 @blur="handleBlur"
                 @change="handleChange">
-                <a-select-option v-for="item in optionData" :key="item.officialPartnerNo" :value="item.officialPartnerNo">{{ item.name }}</a-select-option>
+                <a-select-option v-for="item in optionData" :key="item.stationNo" :value="item.stationNo">{{ item.name }}</a-select-option>
               </a-select>
             </a-form-item>
           </a-col>
@@ -99,18 +99,18 @@ export default {
         labelCol: { span: 4 },
         wrapperCol: { span: 16 }
       },
-	  queryOrderDate: undefined,
+      queryOrderDate: undefined,
       // 查询参数
       queryParam: {
         beginDate: null, // 开始时间
         endDate: null, // 结束时间
         customerMobile: '', //  用户手机
         srcDeviceCode: '', //  设备编号
-        orderStatus: null // 网点名称
+        stationNo: undefined // 网点名称
       },
-			 optionData: [],
-	  orderTotal: 0,	// 总单数
-	  amountTotal: 0,	// 总金额
+      optionData: [],
+      orderTotal: 0,	// 总单数
+      amountTotal: 0,	// 总金额
       // 表头
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
@@ -205,7 +205,7 @@ export default {
         beginDate: this.queryParam.beginDate,
         endDate: this.queryParam.endDate,
         srcDeviceCode: this.queryParam.srcDeviceCode, //  设备编号
-        orderStatus: this.queryParam.orderStatus // 网点名称
+        stationNo: this.queryParam.stationNo // 网点名称
       }
       if (this.queryOrderDate && this.queryOrderDate.length) {
         params.beginDate = moment(this.queryOrderDate[0]).format('YYYY-MM-DD')
@@ -231,7 +231,7 @@ export default {
       this.queryOrderDate = undefined
       this.queryParam.customerMobile = ''
       this.queryParam.srcDeviceCode = ''
-      this.queryParam.orderStatus = null
+      this.queryParam.stationNo = undefined
       this.$refs.table.refresh(true)
     }
   }