|
|
@ -76,11 +76,11 @@
|
|
|
|
<el-table-column label="产线名称" align="center" width="250" prop="equipmentName" />
|
|
|
|
<el-table-column label="产线名称" align="center" width="250" prop="equipmentName" />
|
|
|
|
<el-table-column label="操作者" width="110" align="center" prop="nickName" />
|
|
|
|
<el-table-column label="操作者" width="110" align="center" prop="nickName" />
|
|
|
|
<el-table-column label="子工序名称" width="110" align="center" prop="childprocessName" />
|
|
|
|
<el-table-column label="子工序名称" width="110" align="center" prop="childprocessName" />
|
|
|
|
<el-table-column label="工序单价" align="center" prop="attr1" />
|
|
|
|
<el-table-column label="工序单价" width="110" align="center" prop="attr1" />
|
|
|
|
<el-table-column label="件数" align="center" prop="totalQuantity" />
|
|
|
|
<el-table-column label="件数(PC)" width="100" align="center" prop="totalQuantity" />
|
|
|
|
<el-table-column label="薪酬(元)" width="110" align="center" prop="result" />
|
|
|
|
<el-table-column label="薪酬(元)" width="110" align="center" prop="result" />
|
|
|
|
<el-table-column label="人数" align="center" prop="headCount" />
|
|
|
|
<el-table-column label="人数" align="center" prop="headCount" />
|
|
|
|
<el-table-column label="平均工资(元)" width="110" align="center" prop="avgResult" />
|
|
|
|
<!-- <el-table-column label="平均工资(元)" width="110" align="center" prop="avgResult" />-->
|
|
|
|
<el-table-column label="实际工资(元)" width="110" align="center" prop="realWages" />
|
|
|
|
<el-table-column label="实际工资(元)" width="110" align="center" prop="realWages" />
|
|
|
|
<el-table-column label="备注" align="center" prop="remark">
|
|
|
|
<el-table-column label="备注" align="center" prop="remark">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
@ -98,7 +98,7 @@
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
icon="el-icon-edit"
|
|
|
|
icon="el-icon-edit"p
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
v-hasPermi="['unitPriceReport:report:edit']"
|
|
|
|
v-hasPermi="['unitPriceReport:report:edit']"
|
|
|
|
>工资修改</el-button>
|
|
|
|
>工资修改</el-button>
|
|
|
@ -128,8 +128,8 @@
|
|
|
|
<el-form ref="form" :model="form" label-width="100px">
|
|
|
|
<el-form ref="form" :model="form" label-width="100px">
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="实际工资" prop="attr1" >
|
|
|
|
<el-form-item label="实际工资" prop="attr2" >
|
|
|
|
<el-input v-model="form.attr1" />
|
|
|
|
<el-input v-model="form.attr2" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -166,7 +166,7 @@
|
|
|
|
<!-- <el-input v-model="form.remark" type="textarea" placeholder="请输入内容"></el-input>-->
|
|
|
|
<!-- <el-input v-model="form.remark" type="textarea" placeholder="请输入内容"></el-input>-->
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="form.remark"
|
|
|
|
v-model="form.remark"
|
|
|
|
placeholder="工单状态"
|
|
|
|
placeholder="备注"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
style="width: 240px"
|
|
|
|
style="width: 240px"
|
|
|
|
>
|
|
|
|
>
|
|
|
@ -328,10 +328,10 @@ export default {
|
|
|
|
getReport(picId).then(response => {
|
|
|
|
getReport(picId).then(response => {
|
|
|
|
this.form = response.data.MesUnitpriceReport;
|
|
|
|
this.form = response.data.MesUnitpriceReport;
|
|
|
|
this.open = true;
|
|
|
|
this.open = true;
|
|
|
|
if (response.data.attr1 === null || response.data.attr1 === undefined) {
|
|
|
|
if (response.data.attr2 === null || response.data.attr2 === undefined) {
|
|
|
|
this.form.attr1 = row.avgResult;
|
|
|
|
this.form.attr2 = row.result;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.form.attr1 = response.data.attr1;
|
|
|
|
this.form.attr2 = response.data.attr2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.MesUnitPriceInfo=response.data.MesUnitPriceInfo;
|
|
|
|
this.MesUnitPriceInfo=response.data.MesUnitPriceInfo;
|
|
|
|
});
|
|
|
|
});
|
|
|
|