瀏覽代碼

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

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>