|
@@ -1,7 +1,7 @@
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
import { apisystemdzbcOrderlist,apisystemdzbcOrderexport,apisystemdzbcOrderDel,apisystemdzbcOrderUpdate } from '../../request/api.js'
|
|
import { apisystemdzbcOrderlist,apisystemdzbcOrderexport,apisystemdzbcOrderDel,apisystemdzbcOrderUpdate } from '../../request/api.js'
|
|
|
import type { ComponentSize, FormInstance, FormRules } from 'element-plus'
|
|
import type { ComponentSize, FormInstance, FormRules } from 'element-plus'
|
|
|
-import { ElMessage } from 'element-plus'
|
|
|
|
|
|
|
+import { ElMessage, SCOPE } from 'element-plus'
|
|
|
interface RuleForm {
|
|
interface RuleForm {
|
|
|
id: any,
|
|
id: any,
|
|
|
name: string,
|
|
name: string,
|
|
@@ -220,7 +220,7 @@ onMounted(()=>{
|
|
|
<div class="right-part">
|
|
<div class="right-part">
|
|
|
|
|
|
|
|
<el-button :loading="excellloading" @click="downExcell" :icon="Download">{{ excellloading?'正在导出':'导出' }}</el-button>
|
|
<el-button :loading="excellloading" @click="downExcell" :icon="Download">{{ excellloading?'正在导出':'导出' }}</el-button>
|
|
|
- <el-button :icon="Tools">设置</el-button>
|
|
|
|
|
|
|
+ <!-- <el-button :icon="Tools">设置</el-button> -->
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-table element-loading-text='加载中' header-row-class-name="reset-gray-head" :data="tableData" style="width: 100%" v-loading="loading">
|
|
<el-table element-loading-text='加载中' header-row-class-name="reset-gray-head" :data="tableData" style="width: 100%" v-loading="loading">
|
|
@@ -231,15 +231,16 @@ onMounted(()=>{
|
|
|
|
|
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
|
|
- <el-table-column prop="role" label="发车时间">
|
|
|
|
|
-
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column prop="status" label="支付状态">
|
|
<el-table-column prop="status" label="支付状态">
|
|
|
- <template #default>
|
|
|
|
|
- <div style="background:#DCFCE7;width:64px;height:20px;border-radius:9999px;display:flex;align-items: center;justify-content: center;">
|
|
|
|
|
- 已支付
|
|
|
|
|
|
|
+ <template #default="scope">
|
|
|
|
|
+ <div v-if="scope.row.status==1" style="background:#DCFCE7;width:64px;height:20px;border-radius:9999px;display:flex;align-items: center;justify-content: center;">
|
|
|
|
|
+ 已支付
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-else style="background:#f5f5f5;width:64px;height:20px;border-radius:9999px;display:flex;align-items: center;justify-content: center;">
|
|
|
|
|
+ 未支付
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -258,6 +259,12 @@ onMounted(()=>{
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column prop="price" label="单价">
|
|
|
|
|
+
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column prop="totalPrice" label="总价">
|
|
|
|
|
+
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column fixed="right" label="操作" min-width="120">
|
|
<el-table-column fixed="right" label="操作" min-width="120">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-button link type="primary" @click="addItem(scope.row)" size="small">
|
|
<el-button link type="primary" @click="addItem(scope.row)" size="small">
|