Browse Source

展示供应商

dev
nizongfeng 3 years ago
parent
commit
a1b1c69c84
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      application/admin/service/OrderMainService.php
  2. +1
    -0
      application/admin/view/order_main/index.html

+ 1
- 1
application/admin/service/OrderMainService.php View File

@@ -306,7 +306,7 @@ class OrderMainService
*/ */
public function getOrderList($param){ public function getOrderList($param){
$orderMainDao = new OrderMainDao(); $orderMainDao = new OrderMainDao();
$where = ["id"=>["neq",""]];
$where = ["del_flag"=>0];
if (!empty($param['order_id'])) { if (!empty($param['order_id'])) {
$where["id"]=$param['order_id']; $where["id"]=$param['order_id'];
} }


+ 1
- 0
application/admin/view/order_main/index.html View File

@@ -180,6 +180,7 @@
<div v-if="scope.row.profit<=0" v-html="scope.row.profit" style="color: red"></div> <div v-if="scope.row.profit<=0" v-html="scope.row.profit" style="color: red"></div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="supplier_name" label="供应商" min-width="30" ></el-table-column>
<el-table-column label="发单状态" min-width="30" :formatter="confirmStatusName"></el-table-column> <el-table-column label="发单状态" min-width="30" :formatter="confirmStatusName"></el-table-column>
<el-table-column prop="payment_order_name" label="付款单" min-width="40" > <el-table-column prop="payment_order_name" label="付款单" min-width="40" >
<template slot-scope="scope"> <template slot-scope="scope">


Loading…
Cancel
Save