瀏覽代碼

订单详情-退款优化

panyong 3 年之前
父節點
當前提交
d1b45953ea

+ 2 - 0
htmldev/manage/src/views/business/oms/detail/index.vue

@@ -11,6 +11,7 @@
           </el-button>
           <el-button size="mini"
                      type="primary"
+                     :disabled="![1,3].findIndex(item => item === order.order_status) > -1"
                      v-permission="'business_oms_detail_refund'"
                      @click="refundDialogVisible = true">退款
           </el-button>
@@ -229,6 +230,7 @@ export default {
       if (code === 200) {
         this.$message.success('退款成功')
         this.fetchOrderDetail()
+        this.refundDialogVisible = false
       }
     }
   },

+ 7 - 0
htmldev/manage/src/views/business/place/set/index.vue

@@ -42,6 +42,13 @@
       <el-table-column label="说明" prop="place_desc"></el-table-column>
       <el-table-column label="总数量" prop="place_num" width="80"></el-table-column>
       <el-table-column label="已预定" prop="place_pre_num" width="80"></el-table-column>
+      <el-table-column label="单桌人数" prop="place_user_max" width="80"></el-table-column>
+      <el-table-column label="单价(元)" width="100">
+        <template slot-scope="scope">
+          <p>{{ scope.row.place_price | fen2Yuan }}</p>
+        </template>
+      </el-table-column>
+      <el-table-column label="已预定" prop="place_pre_num" width="80"></el-table-column>
       <el-table-column label="日期" prop="place_time" width="140"></el-table-column>
       <el-table-column label="操作" width="120">
         <template slot-scope="scope">

二進制
static/downloadapp/imgs/logo@2x.png