Sfoglia il codice sorgente

管理后台-订单详情新增:下单位置

panyong 3 anni fa
parent
commit
b1057490d5
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      htmldev/manage/src/views/business/oms/detail/index.vue

+ 6 - 1
htmldev/manage/src/views/business/oms/detail/index.vue

@@ -11,7 +11,7 @@
           </el-button>
           <el-button size="mini"
                      type="primary"
-                     :disabled="![1,3].findIndex(item => item === order.order_status) > -1"
+                     :disabled="!([1,3].findIndex(item => item === order.order_status) > -1)"
                      v-permission="'business_oms_detail_refund'"
                      @click="refundDialogVisible = true">退款
           </el-button>
@@ -67,6 +67,11 @@
         </el-table-column>
         <el-table-column label="商品名称" prop="product_name"></el-table-column>
         <el-table-column label="商品sku" prop="product_sku"></el-table-column>
+        <el-table-column label="出单位置">
+          <template slot-scope="scope">
+            <p>{{ ['', '厨房', '柜台'][scope.row.product_place] }}</p>
+          </template>
+        </el-table-column>
         <el-table-column label="商品附加">
           <template slot-scope="scope">
             <el-tag v-for="(item, index) in scope.row.product_attach.split(',')"