Compare commits

...

2 Commits

Author SHA1 Message Date
BianLzhaoMin 6329fc3251 代码优化 2024-08-27 14:35:41 +08:00
sxu 2c170fd903 待退料数量 2024-08-27 09:31:43 +08:00
3 changed files with 10 additions and 3 deletions

View File

@ -49,10 +49,11 @@ export function submitRepairApplyApi(data) {
})
}
// 用户下拉选
export function getUserSelectApi() {
export function getUserSelectApi(params) {
return request({
url: '/system/user/getUserByRoleList',
method: 'get',
params
})
}
// 工程下拉选

View File

@ -157,6 +157,12 @@
prop="preNum"
:show-overflow-tooltip="true"
/>
<el-table-column
label="已完成退料数量"
align="center"
prop="finishedBackNum"
:show-overflow-tooltip="true"
/>
<el-table-column
label="待退料数量"
align="center"
@ -230,7 +236,7 @@
@click="handleBackup(scope.row)"
v-if="
!isView &&
scope.row.num < scope.row.preNum &&
scope.row.num < scope.row.preNum - scope.row.finishedBackNum &&
(userId == scope.row.userId || userId == 1)
"
>

View File

@ -492,7 +492,7 @@ export default {
this.dynamicValidateFormTwo.premiumListTwo = []
this.addDomainTwo()
}
getUserSelectApi().then((response) => {
getUserSelectApi({ roleIds: [133] }).then((response) => {
this.userSelectList = response.data
})
getInfo().then((res) => {