This commit is contained in:
曹辉 2023-05-24 10:38:33 +08:00
parent f5dbdd3a82
commit 3e783862f8

View File

@ -51,9 +51,9 @@
</el-form> </el-form>
<el-table v-loading="loading" :data="goodsOrderList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="goodsOrderList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" align="center" />
<el-table-column label="所属护理站" align="center" prop="nurseStationName" /> <el-table-column label="所属护理站" align="center" prop="nurseStationName" />
<el-table-column label="订单编号" align="center" prop="orderNo" width="190" /> <el-table-column label="订单编号" align="center" prop="orderNo" />
<el-table-column label="商品名称" align="center" prop="goodsName" /> <el-table-column label="商品名称" align="center" prop="goodsName" />
<el-table-column label="订单总金额" align="center" prop="totalPrice" /> <el-table-column label="订单总金额" align="center" prop="totalPrice" />
@ -72,7 +72,7 @@
v-if="scope.row.orderStatus == 'WAIT_RECEIVED_GOODS'&&scope.row.orderType =='HEALTH_CONSULTATION'" v-if="scope.row.orderStatus == 'WAIT_RECEIVED_GOODS'&&scope.row.orderType =='HEALTH_CONSULTATION'"
>待咨询</el-button> >待咨询</el-button>
<el-button type="primary" v-if="scope.row.orderStatus == 'RECEIVED_GOODS'">待评价</el-button> <el-button type="primary" v-if="scope.row.orderStatus == 'RECEIVED_GOODS'">待评价</el-button>
<el-button type="success" v-if="scope.row.orderStatus == 'EVALUATED'">交易完成</el-button> <el-button type="success" v-if="scope.row.orderStatus == 'EVALUATED'">完成</el-button>
<el-button type="warning" v-if="scope.row.orderStatus == 'WAIT_REFUND'">退款中</el-button> <el-button type="warning" v-if="scope.row.orderStatus == 'WAIT_REFUND'">退款中</el-button>
<el-button type="warning" v-if="scope.row.orderStatus == 'WAIT_RETURNED_GOODS'">待退货</el-button> <el-button type="warning" v-if="scope.row.orderStatus == 'WAIT_RETURNED_GOODS'">待退货</el-button>
<el-button type="danger" v-if="scope.row.orderStatus == 'REFUNDED'">已退款</el-button> <el-button type="danger" v-if="scope.row.orderStatus == 'REFUNDED'">已退款</el-button>
@ -101,7 +101,7 @@
<el-button <el-button
v-if=" v-if="
scope.row.orderStatus == 'WAIT_RECEIVED_GOODS' && scope.row.orderStatus == 'WAIT_RECEIVED_GOODS' &&
scope.row.expressNo scope.row.expressNo&&scope.row.orderType !='HEALTH_CONSULTATION'
" "
size="mini" size="mini"
type="text" type="text"
@ -112,7 +112,7 @@
<el-button <el-button
v-if=" v-if="
scope.row.orderStatus == 'WAIT_RECEIVED_GOODS' && scope.row.orderStatus == 'WAIT_RECEIVED_GOODS' &&
scope.row.expressNo == '' scope.row.expressNo == ''&&scope.row.orderType !='HEALTH_CONSULTATION'
" "
size="mini" size="mini"
type="text" type="text"
@ -123,7 +123,7 @@
<el-button <el-button
v-if=" v-if="
scope.row.orderStatus == 'WAIT_RECEIVED_GOODS' && scope.row.orderStatus == 'WAIT_RECEIVED_GOODS' &&
scope.row.expressNo == null scope.row.expressNo == null&&scope.row.orderType !='HEALTH_CONSULTATION'
" "
size="mini" size="mini"
type="text" type="text"
@ -142,7 +142,6 @@
@click="seeOrder(scope.row)" @click="seeOrder(scope.row)"
v-hasPermi="['system:goodsOrder:goodsOrderByOrder']" v-hasPermi="['system:goodsOrder:goodsOrderByOrder']"
>订单详情</el-button> >订单详情</el-button>
<el-button <el-button
v-if="scope.row.orderStatus == 'WAIT_REFUND'" v-if="scope.row.orderStatus == 'WAIT_REFUND'"
size="mini" size="mini"
@ -309,7 +308,6 @@
style="width: 23%; height: 100%; margin: 1%" style="width: 23%; height: 100%; margin: 1%"
v-for="(item, index) in ratelist" v-for="(item, index) in ratelist"
:src="baseurl + item.evaluatePictureUrl" :src="baseurl + item.evaluatePictureUrl"
alt
:key="index" :key="index"
/> />
</div> </div>