فهرست منبع

【ID1005458】订单列表更换订单编号字段名

chenrui 4 سال پیش
والد
کامیت
acc14f77bd
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      src/views/shop/shopOrder.vue

+ 5 - 5
src/views/shop/shopOrder.vue

@@ -21,7 +21,7 @@
           </a-col>
           <a-col :span="6">
             <a-form-item label="订单编号" :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
-              <a-input id="shopOrder-orderNo" allowClear :maxLength="30" v-model="queryParam.orderNo" placeholder="请输入订单编号" />
+              <a-input id="shopOrder-orderSn" allowClear :maxLength="30" v-model="queryParam.orderSn" placeholder="请输入订单编号" />
             </a-form-item>
           </a-col>
           <a-col :span="6">
@@ -92,7 +92,7 @@ export default {
         beginDate: null, // 开始时间
         endDate: null, // 结束时间
         customerMobile: '', //  用户手机
-        orderNo: '', //  订单编号
+        orderSn: '', //  订单编号
         orderState: null // 订单状态
       },
       loading: false, // 导出loading
@@ -101,7 +101,7 @@ export default {
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
         { title: '下单时间', dataIndex: 'orderTime', width: 200, align: 'center' },
         { title: '用户手机', dataIndex: 'userMoblie', width: 200, align: 'center' },
-        { title: '订单编号', dataIndex: 'orderNo', width: 200, align: 'center' },
+        { title: '订单编号', dataIndex: 'orderSn', width: 200, align: 'center' },
         { title: '订单状态', dataIndex: 'orderStateDictValue', width: 200, align: 'center' },
         { title: '订单总额', scopedSlots: { customRender: 'originalGold' }, width: 200, align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
@@ -162,7 +162,7 @@ export default {
         moment(getDate.getToday().endtime, this.dateFormat)
       ]
       this.queryParam.customerMobile = ''
-      this.queryParam.orderNo = ''
+      this.queryParam.orderSn = ''
       this.queryParam.orderState = null
       this.$refs.table.refresh(true)
     },
@@ -172,7 +172,7 @@ export default {
         beginDate: this.queryParam.beginDate == null ? getDate.getToday().starttime : this.queryParam.beginDate,
         endDate: this.queryParam.endDate == null ? getDate.getToday().endtime : this.queryParam.endDate,
         customerMobile: this.queryParam.customerMobile,
-        orderNo: this.queryParam.orderNo,
+        orderSn: this.queryParam.orderSn,
         orderState: this.queryParam.orderState
       }
       if (!params.beginDate && !params.endDate) {