领料管理菜单权限增加

This commit is contained in:
BianLzhaoMin 2024-06-04 16:15:12 +08:00
parent e4c4a9fd33
commit 76476069d5
8 changed files with 49 additions and 25 deletions

View File

@ -717,9 +717,11 @@ export default {
type: 'success', type: 'success',
message: res.msg, message: res.msg,
}) })
this.$tab.closeOpenPage({ // this.$tab.closeOpenPage({
path: '/claimAndRefund/receive/receiveApply', // path: '/claimAndRefund/receive/receiveApply',
}) // })
this.$emit('goBackPage')
} }
} }
}) })

View File

@ -94,7 +94,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['picking:auditing']" v-hasPermi="['picking:apply:apply']"
>新建</el-button >新建</el-button
> >
</el-col> </el-col>
@ -105,6 +105,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['picking:apply:export']"
>导出</el-button >导出</el-button
> >
</el-col> </el-col>
@ -256,6 +257,7 @@
type="text" type="text"
icon="el-icon-zoom-in" icon="el-icon-zoom-in"
@click="handleView(scope.row)" @click="handleView(scope.row)"
v-hasPermi="['picking:apply:view']"
>查看</el-button >查看</el-button
> >
<el-button <el-button
@ -264,6 +266,7 @@
icon="el-icon-edit" icon="el-icon-edit"
v-if="scope.row.taskStatus == 30" v-if="scope.row.taskStatus == 30"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['picking:apply:edit']"
>编辑</el-button >编辑</el-button
> >
<el-button <el-button
@ -275,6 +278,7 @@
scope.row.taskStatus == 100 scope.row.taskStatus == 100
" "
@click="handleUpdate2(scope.row)" @click="handleUpdate2(scope.row)"
v-hasPermi="['picking:apply:reject:submit']"
>驳回提交</el-button >驳回提交</el-button
> >
<el-button <el-button
@ -283,6 +287,7 @@
icon="el-icon-delete" icon="el-icon-delete"
v-if="scope.row.taskStatus == 30" v-if="scope.row.taskStatus == 30"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['picking:apply:del']"
>删除</el-button >删除</el-button
> >
</template> </template>

View File

@ -14,6 +14,7 @@
@addPicking="addPicking" @addPicking="addPicking"
@viewPicking="viewPicking" @viewPicking="viewPicking"
@editPicking="editPicking" @editPicking="editPicking"
@goBackPage="goBack"
/> />
</div> </div>
</template> </template>

View File

@ -216,14 +216,14 @@
type="primary" type="primary"
@click="subAuditLeaseByCompany(9)" @click="subAuditLeaseByCompany(9)"
v-if="queryParams.taskStatus == 30" v-if="queryParams.taskStatus == 30"
v-hasPermi="['receive:examine:fgs']" v-hasPermi="['picking:auditing:fgs']"
> </el-button > </el-button
> >
<el-button <el-button
type="primary" type="primary"
@click="subAuditLeaseByCompany(5)" @click="subAuditLeaseByCompany(5)"
v-if="queryParams.taskStatus == 31" v-if="queryParams.taskStatus == 31"
v-hasPermi="['receive:examine:sgb']" v-hasPermi="['picking:auditing:sgb']"
> </el-button > </el-button
> >
<el-button <el-button
@ -237,14 +237,14 @@
type="primary" type="primary"
@click="subAuditLeaseByCompany(1)" @click="subAuditLeaseByCompany(1)"
v-if="queryParams.taskStatus == 32" v-if="queryParams.taskStatus == 32"
v-hasPermi="['receive:examine:nbry-jjfgs']" v-hasPermi="['picking:auditing:jjnb']"
> </el-button > </el-button
> >
<el-button <el-button
type="primary" type="primary"
@click="subAuditLeaseByCompany(3)" @click="subAuditLeaseByCompany(3)"
v-if="queryParams.taskStatus == 32" v-if="queryParams.taskStatus == 32"
v-hasPermi="['receive:examine:nbry-sbfgs']" v-hasPermi="['picking:auditing:tsnb']"
> </el-button > </el-button
> >
</div> </div>
@ -269,14 +269,14 @@
type="primary" type="primary"
@click="refuseAuditLeaseByCompany(10)" @click="refuseAuditLeaseByCompany(10)"
v-if="queryParams.taskStatus == 30" v-if="queryParams.taskStatus == 30"
v-hasPermi="['receive:examine:fgs']" v-hasPermi="['picking:auditing:fgs']"
> </el-button > </el-button
> >
<el-button <el-button
type="primary" type="primary"
@click="refuseAuditLeaseByCompany(6)" @click="refuseAuditLeaseByCompany(6)"
v-if="queryParams.taskStatus == 31" v-if="queryParams.taskStatus == 31"
v-hasPermi="['receive:examine:sgb']" v-hasPermi="['picking:auditing:sgb']"
> </el-button > </el-button
> >
<el-button <el-button
@ -290,14 +290,14 @@
type="primary" type="primary"
@click="refuseAuditLeaseByCompany(2)" @click="refuseAuditLeaseByCompany(2)"
v-if="queryParams.taskStatus == 32" v-if="queryParams.taskStatus == 32"
v-hasPermi="['receive:examine:nbry-jjfgs']" v-hasPermi="['picking:auditing:jjnb']"
> </el-button > </el-button
> >
<el-button <el-button
type="primary" type="primary"
@click="refuseAuditLeaseByCompany(4)" @click="refuseAuditLeaseByCompany(4)"
v-if="queryParams.taskStatus == 32" v-if="queryParams.taskStatus == 32"
v-hasPermi="['receive:examine:nbry-sbfgs']" v-hasPermi="['picking:auditing:tsnb']"
> </el-button > </el-button
> >
</div> </div>
@ -509,9 +509,10 @@ export default {
const res = await auditLeaseByCompany(params) const res = await auditLeaseByCompany(params)
if (res.code == 200) { if (res.code == 200) {
this.examineVisible = false this.examineVisible = false
this.$tab.closeOpenPage({ // this.$tab.closeOpenPage({
path: '/claimAndRefund/receive/receiveManage', // path: '/claimAndRefund/receive/receiveManage',
}) // })
this.$emit('goBackPage')
} }
// console.log('subAuditLeaseByCompany ==================', res) // console.log('subAuditLeaseByCompany ==================', res)
}, },
@ -560,9 +561,10 @@ export default {
const res = await rejectLeaseByCompany(params) const res = await rejectLeaseByCompany(params)
if (res.code == 200) { if (res.code == 200) {
this.examineVisible = false this.examineVisible = false
this.$tab.closeOpenPage({ // this.$tab.closeOpenPage({
path: '/claimAndRefund/receive/receiveManage', // path: '/claimAndRefund/receive/receiveManage',
}) // })
this.$emit('goBackPage')
} }
console.log('subAuditLeaseByCompany ==================', res) console.log('subAuditLeaseByCompany ==================', res)
}, },

View File

@ -102,6 +102,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['picking:auditing:export']"
>导出</el-button >导出</el-button
> >
</el-col> </el-col>
@ -203,14 +204,17 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="250" align="center"> <el-table-column label="操作" width="250" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" @click="handleView(scope.row)" <el-button
size="mini"
@click="handleView(scope.row)"
v-hasPermi="['picking:auditing:view']"
>查看</el-button >查看</el-button
> >
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
@click="handleExamine(scope.row)" @click="handleExamine(scope.row)"
v-hasPermi="['receive:examine:fgs']" v-hasPermi="['picking:auditing:fgs']"
v-if=" v-if="
Number(scope.row.examineStatusId) == 30 && Number(scope.row.examineStatusId) == 30 &&
scope.row.deptId == currentDeptId scope.row.deptId == currentDeptId
@ -221,7 +225,7 @@
size="mini" size="mini"
type="primary" type="primary"
@click="handleExamine(scope.row)" @click="handleExamine(scope.row)"
v-hasPermi="['receive:examine:sgb']" v-hasPermi="['picking:auditing:sgb']"
v-if=" v-if="
Number(scope.row.examineStatusId) == 31 && Number(scope.row.examineStatusId) == 31 &&
(scope.row.leaseApplyInfoList[0].status == '0' || (scope.row.leaseApplyInfoList[0].status == '0' ||
@ -249,7 +253,7 @@
size="mini" size="mini"
type="primary" type="primary"
@click="handleExamine(scope.row, 'jjfgs')" @click="handleExamine(scope.row, 'jjfgs')"
v-hasPermi="['receive:examine:nbry-jjfgs']" v-hasPermi="['picking:auditing:jjnb']"
v-if=" v-if="
Number(scope.row.examineStatusId) == 32 && Number(scope.row.examineStatusId) == 32 &&
(scope.row.leaseApplyInfoList[0].status == '5' || (scope.row.leaseApplyInfoList[0].status == '5' ||
@ -263,7 +267,7 @@
size="mini" size="mini"
type="primary" type="primary"
@click="handleExamine(scope.row, 'sbfgs')" @click="handleExamine(scope.row, 'sbfgs')"
v-hasPermi="['receive:examine:nbry-sbfgs']" v-hasPermi="['picking:auditing:tsnb']"
v-if=" v-if="
Number(scope.row.examineStatusId) == 32 && Number(scope.row.examineStatusId) == 32 &&
(scope.row.leaseApplyInfoList[0].status == '5' || (scope.row.leaseApplyInfoList[0].status == '5' ||
@ -278,6 +282,7 @@
size="mini" size="mini"
type="info" type="info"
@click="openLld(scope.row)" @click="openLld(scope.row)"
v-hasPermi="['picking:auditing:list']"
>领料单</el-button >领料单</el-button
> >
</template> </template>

View File

@ -12,6 +12,7 @@
:auditingTaskId="auditingTaskId" :auditingTaskId="auditingTaskId"
@pickingView="pickingView" @pickingView="pickingView"
@pickingAuditing="pickingAuditing" @pickingAuditing="pickingAuditing"
@goBackPage="goBack"
/> />
</div> </div>
</template> </template>

View File

@ -89,6 +89,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['picking:outbound:export']"
>导出</el-button >导出</el-button
> >
</el-col> </el-col>
@ -157,7 +158,10 @@
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" @click="handleView(scope.row)" <el-button
size="mini"
@click="handleView(scope.row)"
v-hasPermi="['picking:outbound:view']"
>查看</el-button >查看</el-button
> >
<el-button <el-button
@ -165,7 +169,7 @@
type="primary" type="primary"
v-if="scope.row.taskStatus != 35" v-if="scope.row.taskStatus != 35"
@click="handleOut(scope.row)" @click="handleOut(scope.row)"
v-hasPermi="['picking:outbound']" v-hasPermi="['picking:outbound:out']"
> >
出库 出库
</el-button> </el-button>

View File

@ -84,6 +84,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['picking:protocol:add']"
>新建</el-button >新建</el-button
> >
</el-col> </el-col>
@ -117,6 +118,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['picking:protocol:export']"
>导出</el-button >导出</el-button
> >
</el-col> </el-col>
@ -239,6 +241,7 @@
type="primary" type="primary"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['picking:protocol:edit']"
>编辑</el-button >编辑</el-button
> >
<el-button <el-button
@ -246,6 +249,7 @@
type="danger" type="danger"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['picking:protocol:del']"
>删除</el-button >删除</el-button
> >
</template> </template>