|
|
@ -38,6 +38,16 @@
|
|
|
|
end-placeholder="结束时间"
|
|
|
|
end-placeholder="结束时间"
|
|
|
|
></el-date-picker>
|
|
|
|
></el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="上传ERP标识" prop="isErp">
|
|
|
|
|
|
|
|
<el-select v-model="queryParams.isErp" placeholder="请选择打卡类型" clearable>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in dict.type.is_erp"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</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>
|
|
|
@ -114,7 +124,15 @@
|
|
|
|
<el-table-column label="扣罚金额" align="center" prop="fineAmount" v-if="columns[9].visible"/>
|
|
|
|
<el-table-column label="扣罚金额" align="center" prop="fineAmount" v-if="columns[9].visible"/>
|
|
|
|
<el-table-column label="扣罚理由" align="center" prop="fineReason" v-if="columns[10].visible"/>
|
|
|
|
<el-table-column label="扣罚理由" align="center" prop="fineReason" v-if="columns[10].visible"/>
|
|
|
|
<el-table-column label="任务编号" align="center" prop="taskCode" v-if="columns[12].visible" width="120"/>
|
|
|
|
<el-table-column label="任务编号" align="center" prop="taskCode" v-if="columns[12].visible" width="120"/>
|
|
|
|
<el-table-column label="工资系数" align="center" prop="salaryCoefficient" v-if="columns[13].visible"/>
|
|
|
|
<el-table-column label="上传ERP标识" align="center" prop="isErp" width="100" v-if="columns[18].visible">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag :options="dict.type.is_erp" :value="scope.row.isErp"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="订单编号" align="center" prop="orderCode" v-if="columns[20].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="工单编号" align="center" prop="planCode" v-if="columns[21].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="生产米数" align="center" prop="prodNumber" v-if="columns[19].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="工资系数" align="center" prop="prodNumber" v-if="columns[13].visible"/>
|
|
|
|
<el-table-column label="开始日期" align="center" prop="beginDate" width="100" v-if="columns[14].visible">
|
|
|
|
<el-table-column label="开始日期" align="center" prop="beginDate" width="100" v-if="columns[14].visible">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.beginDate, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.beginDate, '{y}-{m}-{d}') }}</span>
|
|
|
@ -240,6 +258,7 @@ import { parseTime } from '@/utils/ruoyi'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'RecordStaffSalary',
|
|
|
|
name: 'RecordStaffSalary',
|
|
|
|
|
|
|
|
dicts: ['is_erp'],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
// 遮罩层
|
|
|
|
// 遮罩层
|
|
|
@ -279,7 +298,8 @@ export default {
|
|
|
|
taskCode: null,
|
|
|
|
taskCode: null,
|
|
|
|
salaryCoefficient: null,
|
|
|
|
salaryCoefficient: null,
|
|
|
|
beginDate: null,
|
|
|
|
beginDate: null,
|
|
|
|
endDate: null
|
|
|
|
endDate: null,
|
|
|
|
|
|
|
|
isErp: null,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
@ -307,7 +327,11 @@ export default {
|
|
|
|
{ key: 14, label: `开始日期`, visible: true },
|
|
|
|
{ key: 14, label: `开始日期`, visible: true },
|
|
|
|
{ key: 15, label: `结束日期`, visible: true },
|
|
|
|
{ key: 15, label: `结束日期`, visible: true },
|
|
|
|
{ key: 16, label: `员工名称`, visible: true },
|
|
|
|
{ key: 16, label: `员工名称`, visible: true },
|
|
|
|
{ key: 17, label: `班组名称`, visible: true }
|
|
|
|
{ key: 17, label: `班组名称`, visible: true },
|
|
|
|
|
|
|
|
{ key: 18, label: `上传ERP标识`, visible: true },
|
|
|
|
|
|
|
|
{ key: 19, label: `生产米数`, visible: false },
|
|
|
|
|
|
|
|
{ key: 21, label: `订单编号`, visible: false },
|
|
|
|
|
|
|
|
{ key: 22, label: `工单编号`, visible: false },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// 班组选项
|
|
|
|
// 班组选项
|
|
|
|
teamMembersList: []
|
|
|
|
teamMembersList: []
|
|
|
|