This commit is contained in:
BianLzhaoMin 2025-10-31 15:23:03 +08:00
parent c5f092b66e
commit f3bb480013
3 changed files with 78 additions and 3 deletions

View File

@ -72,6 +72,14 @@ export const exportThreeAndOneMonthlyWagePaymentListAPI = (data) => {
params: data, params: data,
}) })
} }
// 综合查询 导出三表一册单月农名工工资支付表获取工资信息
export const getThreeAndOneMonthlyWagePaymentInfoAPI = (data) => {
return request({
url: '/bmw/pmProject/getSalaryByWorkerId',
method: 'GET',
params: data,
})
}
// 综合查询 三表一册封档操作 // 综合查询 三表一册封档操作
export const updateProMonthTableAPI = (data) => { export const updateProMonthTableAPI = (data) => {

View File

@ -109,10 +109,10 @@
" "
> >
<AddOrEditForm <AddOrEditForm
:proId="proId"
:formType="formType" :formType="formType"
:workerId="workerId" :workerId="workerId"
:einStatus="einStatus" :einStatus="einStatus"
:proId="proId"
ref="addOrEditFormContentRef" ref="addOrEditFormContentRef"
:queryDetailsId="queryDetailsId" :queryDetailsId="queryDetailsId"
@onOpenAddOrEdit="onHandleOpenAddOrEdit" @onOpenAddOrEdit="onHandleOpenAddOrEdit"

View File

@ -86,7 +86,7 @@
v-for="item in columnData" v-for="item in columnData"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <!-- <el-input
clearable clearable
style="width: 100px" style="width: 100px"
v-model.trim="scope.row[item.prop]" v-model.trim="scope.row[item.prop]"
@ -104,7 +104,15 @@
item.prop === 'actualMoney') && item.prop === 'actualMoney') &&
isEdit isEdit
" "
/> /> -->
<span
class="cursor-blue"
@click="onHandleOpenPayMoney(scope.row)"
v-if="item.prop === 'payMoney'"
>
{{ scope.row[item.prop] }}
</span>
<template v-else-if="item.prop === 'isAccord'"> <template v-else-if="item.prop === 'isAccord'">
{{ scope.row[item.prop] == 1 ? '是' : '否' }} {{ scope.row[item.prop] == 1 ? '是' : '否' }}
@ -124,6 +132,26 @@
/> />
</div> --> </div> -->
</div> </div>
<DialogModel
:dialogConfig="dialogConfig"
@closeDialogOuter="handleCloseDialogOuter"
>
<template slot="outerContent">
<el-table border stripe :data="wagePayInfoListData">
<el-table-column
align="center"
label="考勤日期"
prop="attDay"
/>
<el-table-column
align="center"
label="日工资"
prop="priceWage"
/>
</el-table>
</template>
</DialogModel>
</div> </div>
</template> </template>
@ -131,9 +159,15 @@
import { import {
exportThreeAndOneMonthlyWagePaymentListAPI, exportThreeAndOneMonthlyWagePaymentListAPI,
saveThreeAndOneMonthlyWagePaymentAPI, saveThreeAndOneMonthlyWagePaymentAPI,
getThreeAndOneMonthlyWagePaymentInfoAPI,
} from '@/api/synthesize-query/three-and-one' } from '@/api/synthesize-query/three-and-one'
import DialogModel from '@/components/DialogModel/index.vue'
export default { export default {
name: 'WagePay', name: 'WagePay',
components: {
DialogModel,
},
props: { props: {
id: { id: {
type: [Number, String], type: [Number, String],
@ -143,6 +177,10 @@ export default {
type: [Number, String], type: [Number, String],
default: '', default: '',
}, },
month: {
type: [Number, String],
default: '',
},
}, },
data() { data() {
return { return {
@ -219,6 +257,14 @@ export default {
prop: 'bankNumber', prop: 'bankNumber',
}, },
], ],
dialogConfig: {
outerTitle: '工资信息',
outerWidth: '40%',
outerVisible: false,
minHeight: '50vh',
maxHeight: '90vh',
},
wagePayInfoListData: [],
} }
}, },
created() { created() {
@ -373,6 +419,27 @@ export default {
} }
} }
}, },
//
async onHandleOpenPayMoney(row) {
console.log(row)
const params = {
workerId: row.userId,
tableMonth: row.month,
proId: row.proId,
}
const res = await getThreeAndOneMonthlyWagePaymentInfoAPI(params)
this.wagePayInfoListData = res?.data
this.dialogConfig.outerVisible = true
},
//
handleCloseDialogOuter() {
this.dialogConfig.outerVisible = false
},
}, },
} }
</script> </script>