维修审核

This commit is contained in:
mashuai 2025-02-28 14:33:00 +08:00
parent b03be7a391
commit c585e3aa0c
1 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@
v-if="dict.value == 0 || dict.value == 1 || dict.value == 2" v-if="dict.value == 0 || dict.value == 1 || dict.value == 2"
:key="dict.value" :label="dict.label" :value="dict.value"/> :key="dict.value" :label="dict.label" :value="dict.value"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
@ -62,7 +62,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="300" fixed="right"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="300" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" plain icon="el-icon-zoom-in" @click="handleSee(scope.row)" >查看</el-button> <el-button size="mini" plain icon="el-icon-zoom-in" @click="handleSee(scope.row)" >查看</el-button>
<el-button size="mini" type="primary" plain icon="el-icon-edit" v-if="scope.row.repairStatusCode=='0'" @click="handleUpdate(scope.row)">维修</el-button> <el-button size="mini" type="primary" plain icon="el-icon-edit" v-if="scope.row.repairStatusCode=='0' ||scope.row.repairStatusCode=='3'" @click="handleUpdate(scope.row)">维修</el-button>
<el-button size="mini" type="danger" icon="el-icon-delete" v-if="scope.row.repairStatusCode=='0'||scope.row.repairStatusCode=='12'" @click="handleReject(scope.row)">驳回</el-button> <el-button size="mini" type="danger" icon="el-icon-delete" v-if="scope.row.repairStatusCode=='0'||scope.row.repairStatusCode=='12'" @click="handleReject(scope.row)">驳回</el-button>
<el-button size="mini" type="success" @click="handlePrint(scope.row)">维修单</el-button> <el-button size="mini" type="success" @click="handlePrint(scope.row)">维修单</el-button>
</template> </template>
@ -108,7 +108,7 @@
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;"> <div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
<span>委托单位</span> <span>委托单位</span>
{{ repairTicketlLevelOne.backUnit }} {{ repairTicketlLevelOne.backUnit }}
</div> </div>
<!-- <div class="item" style="width: 50%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px;"> <!-- <div class="item" style="width: 50%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px;">
<span>验收人</span> <span>验收人</span>
</div> --> </div> -->
@ -139,7 +139,7 @@
<div v-if="scope.row.fileList.length!=0" style="color: blue;" @click="picturesPreview(scope.row)">{{scope.row.fileList.length}}</div> <div v-if="scope.row.fileList.length!=0" style="color: blue;" @click="picturesPreview(scope.row)">{{scope.row.fileList.length}}</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="tabelAll"> <div class="tabelAll">
<div class="columnAllNum">总计</div> <div class="columnAllNum">总计</div>
<div class="columnAll">{{ repairNum1 }}</div> <div class="columnAll">{{ repairNum1 }}</div>
@ -147,12 +147,12 @@
<div class="columnAll">{{ repairNum3 }}</div> <div class="columnAll">{{ repairNum3 }}</div>
<div class="columnAll">{{ "¥"+" "+repairNum4 }}</div> <div class="columnAll">{{ "¥"+" "+repairNum4 }}</div>
<div class="columnAll"></div> <div class="columnAll"></div>
</div> </div>
<div class="fillIn" style="margin-top: 20px;display: flex;justify-content: space-between;"> <div class="fillIn" style="margin-top: 20px;display: flex;justify-content: space-between;">
<div class="item" style="text-align: center;width: 100% ;font-weight: 600; font-size: 14px" > <div class="item" style="text-align: center;width: 100% ;font-weight: 600; font-size: 14px" >
<div><span>维修内容</span></div> <div><span>维修内容</span></div>
</div> </div>
</div> </div>
<el-table :data="repairTicketPart" class="table" style="margin-top: 20px; width: 1000px; " border> <el-table :data="repairTicketPart" class="table" style="margin-top: 20px; width: 1000px; " border>
<el-table-column label="修理项目" align="center" prop="repairName" > <el-table-column label="修理项目" align="center" prop="repairName" >
<template slot-scope="scope"> <template slot-scope="scope">
@ -164,11 +164,11 @@
<div>{{ scope.row.partName + " " }}*{{ " "+scope.row.partNum + " " }}/{{" ¥"+" "}}{{ scope.row.partPrice }}</div> <div>{{ scope.row.partName + " " }}*{{ " "+scope.row.partNum + " " }}/{{" ¥"+" "}}{{ scope.row.partPrice }}</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="tabelAll"> <div class="tabelAll">
<div class="columnAllNumTwo">合计</div> <div class="columnAllNumTwo">合计</div>
<div class="columnAllNumThree">{{ "¥"+" "+acountAll }}</div> <div class="columnAllNumThree">{{ "¥"+" "+acountAll }}</div>
</div> </div>
<div class="fillIn" style=" margin-top: 20px; display: flex; justify-content: space-between;"> <div class="fillIn" style=" margin-top: 20px; display: flex; justify-content: space-between;">
<div class="item" style="width: 50%"> <div class="item" style="width: 50%">
<div> <div>
@ -183,7 +183,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="fillIn" style="margin-top: 20px; display: flex; justify-content: space-between;"> <div class="fillIn" style="margin-top: 20px; display: flex; justify-content: space-between;">
<div class="item" style="width: 33%"> <div class="item" style="width: 33%">
<div> <div>
@ -415,7 +415,7 @@ export default {
}).then(() => { }).then(() => {
this.getList(); this.getList();
this.$modal.msgSuccess("驳回成功"); this.$modal.msgSuccess("驳回成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {