소스 검색

订单管理清除搜索值及商品总价展示修复

Eratosici 3 년 전
부모
커밋
a7c905fc6c
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      mall4v/src/views/modules/order/order.vue
  2. 1 1
      mall4v/src/views/modules/order/orderInfo.vue

+ 2 - 1
mall4v/src/views/modules/order/order.vue

@@ -253,7 +253,8 @@ export default {
     },
     // 清除数据
     clearDatas () {
-      this.dataForm = []
+      this.dataForm = {}
+      this.dateRange = []
     },
     // 每页数
     sizeChangeHandle (val) {

+ 1 - 1
mall4v/src/views/modules/order/orderInfo.vue

@@ -114,7 +114,7 @@
                   </el-table-column>
                   <el-table-column prop="totalPrice" label="总价" width="180" align="center">
                     <template slot-scope="scope">
-                      <span>{{scope.row.productTotalAmout}}</span>
+                      <span>{{scope.row.productTotalAmount}}</span>
                     </template>
                   </el-table-column>
                 </el-table>