Browse Source

Merge branch 'master' of http://git.whgxhx.com:53000/HHPW/clearticket_ota

LaveyD 3 ngày trước cách đây
mục cha
commit
51c890900f

+ 8 - 0
src/views/dashboard/dataTables/OrderStatistics.vue

@@ -10,6 +10,14 @@
         prop="otaSourceName"
         label="销售渠道">
       </el-table-column>
+      <el-table-column
+        prop="ticketTypeName"
+        label="票种">
+      </el-table-column>
+      <el-table-column
+        prop="unitPrice"
+        label="单价">
+      </el-table-column>
       <el-table-column
         prop="saleNum"
         label="张数">

+ 3 - 2
src/views/goodsCenter/priceList.vue

@@ -440,12 +440,13 @@ export default {
         this.$message.error('请先选择批量删除的产品记录')
         return
       }
-      this.$confirm(`将删除这${this.multipleSelection.length}条记录, 是否继续?`, '提示', {
+      const ids = this.multipleSelection.map(item => item.id)
+      this.$confirm(`将删除这${ids.length}条记录, 是否继续?`, '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
-        deleteOTATicketSale({ idList: this.multipleSelection }).then(res => {
+        deleteOTATicketSale({ idList: ids }).then(res => {
           this.$message.success('批量删除成功')
           this.multipleSelection = [] // 清空选中待删记录
           this.getList()