This commit is contained in:
cun-nan 2024-03-12 09:59:08 +08:00
parent cad70e53c6
commit e1bc8c7072
2 changed files with 2 additions and 4 deletions

View File

@ -154,7 +154,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作人" align="center" prop="staffId"> <el-table-column label="操作人" align="center" prop="staffId">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ getRealName(staffList,scope.row.staffId) }}</span> <span>{{ getRealName(staffList,scope.row.staffId) || "--" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
@ -539,10 +539,8 @@ import {refundApi} from "@/api/order/refund";
}, },
// //
getOrdersInfo(id){ getOrdersInfo(id){
console.log(id,111)
cashierOrder(id).then( response => { cashierOrder(id).then( response => {
this.cashierOrder = response.data this.cashierOrder = response.data
console.log(response)
this.getOilList(this.cashierOrder.orderNo) this.getOilList(this.cashierOrder.orderNo)
this.getGoodsLists(this.cashierOrder.goodsOrderId) this.getGoodsLists(this.cashierOrder.goodsOrderId)
this.dialogVisible = true; this.dialogVisible = true;

View File

@ -165,7 +165,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作人" align="center" prop="staffId"> <el-table-column label="操作人" align="center" prop="staffId">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ getRealName(staffList,scope.row.staffId) }}</span> <span>{{ getRealName(staffList,scope.row.staffId) || '--' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="240" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" width="240" class-name="small-padding fixed-width">