Merge branch 'material-ui' of http://192.168.0.56:3000/bonus/bonus-ui into material-ui

This commit is contained in:
zzyuan 2024-12-27 10:16:55 +08:00
commit 40a290936d
6 changed files with 56 additions and 39 deletions

View File

@ -864,7 +864,7 @@ import {
} from "@/api/lease/out"; } from "@/api/lease/out";
import vueEasyPrint from "vue-easy-print"; import vueEasyPrint from "vue-easy-print";
// import chapter from '../../../../utils/chapter'; // import chapter from '../../../../utils/chapter';
// import printJS from 'print-js'; import printJS from 'print-js';
export default { export default {
dicts: ["lease_task_status"], dicts: ["lease_task_status"],
components: { vueEasyPrint }, components: { vueEasyPrint },

View File

@ -81,11 +81,17 @@
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="已修数量" label="已修数量"
align="center" align="center"
prop="typeRepairedNum" prop="typeRepairedNum"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column
label="报废数量"
align="center"
prop="typeScrapNum"
show-overflow-tooltip
></el-table-column>
<el-table-column <el-table-column
label="待修数量" label="待修数量"
align="center" align="center"
@ -174,7 +180,7 @@ export default {
const res = await getAppRepairMaTypeList(param); const res = await getAppRepairMaTypeList(param);
this.equipmentList = res.data; this.equipmentList = res.data;
this.equipmentList.forEach((e) => { this.equipmentList.forEach((e) => {
e.disrepairNum = Number(e.typeRepairNum) - Number(e.typeRepairedNum); e.disrepairNum = Number(e.typeRepairNum) - Number(e.typeRepairedNum) - Number(e.typeScrapNum);
}); });
}, },
}, },

View File

@ -131,11 +131,17 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
label="维修单号" label="维修审核单号"
align="center" align="center"
prop="repairNum" prop="repairNum"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column
label="任务单号"
align="center"
prop="repairTaskCode"
:show-overflow-tooltip="true"
/>
<el-table-column <el-table-column
label="物资类型" label="物资类型"
align="center" align="center"

View File

@ -80,15 +80,20 @@
prop="repairedNum" prop="repairedNum"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column
label="报废数量"
align="center"
prop="scrapNum"
:show-overflow-tooltip="true"
/>
<el-table-column <el-table-column
label="待修数量" label="待修数量"
align="center" align="center"
prop="waitNum"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
{{ scope.row.repairNum - scope.row.repairedNum }} {{ scope.row.repairNum - scope.row.repairedNum - scope.row.scrapNum }}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -95,7 +95,7 @@
<el-table-column label="入库单号" align="center" prop="inputCode" :show-overflow-tooltip="true"> <el-table-column label="入库单号" align="center" prop="inputCode" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="clickText" v-if="scope.row.inputType=='新购入库'" @click="jumpInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span> <span class="clickText" v-if="scope.row.inputType=='新购入库'" @click="jumpInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span>
<span class="clickText" v-if="scope.row.inputType=='修试入库'" @click="jumpRepairInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span> <span class="clickText" v-if="scope.row.inputType=='修试入库'" @click="jumpRepairInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="入库类型" align="center" prop="inputType" :show-overflow-tooltip="true"></el-table-column> <el-table-column label="入库类型" align="center" prop="inputType" :show-overflow-tooltip="true"></el-table-column>
@ -133,7 +133,7 @@ export default {
multiple: true, multiple: true,
// //
showSearch: true, showSearch: true,
inputTypeList:[{id:'新购入库',name:'新购入库'},{id:'修试入库',name:'修试入库'},{id:'盘点入库',name:'盘点入库'}], inputTypeList:[{id:'新购入库',name:'新购入库'},{id:'修试入库',name:'修试入库'},{id:'盘点入库',name:'盘点入库'}],
// //
total: 0, total: 0,
// //