退料模块,权限菜单优化
This commit is contained in:
parent
76476069d5
commit
24f60a356a
|
|
@ -742,11 +742,13 @@ export default {
|
||||||
const res = await submitRefuseBackApply(params)
|
const res = await submitRefuseBackApply(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: res.msg })
|
this.$message({ type: 'success', message: res.msg })
|
||||||
setTimeout(() => {
|
|
||||||
this.$tab.closeOpenPage({
|
this.$emit('goBackPage')
|
||||||
path: '/claimAndRefund/return/returnApply',
|
// setTimeout(() => {
|
||||||
})
|
// this.$tab.closeOpenPage({
|
||||||
}, 1000)
|
// path: '/claimAndRefund/return/returnApply',
|
||||||
|
// })
|
||||||
|
// }, 1000)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let params = {
|
let params = {
|
||||||
|
|
@ -760,11 +762,12 @@ export default {
|
||||||
const res = await submitBackApplyApi(params)
|
const res = await submitBackApplyApi(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: res.msg })
|
this.$message({ type: 'success', message: res.msg })
|
||||||
setTimeout(() => {
|
this.$emit('goBackPage')
|
||||||
this.$tab.closeOpenPage({
|
// setTimeout(() => {
|
||||||
path: '/claimAndRefund/return/returnApply',
|
// this.$tab.closeOpenPage({
|
||||||
})
|
// path: '/claimAndRefund/return/returnApply',
|
||||||
}, 1000)
|
// })
|
||||||
|
// }, 1000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['return:review']"
|
v-hasPermi="['return:apply:apply']"
|
||||||
>退料申请</el-button
|
>退料申请</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -145,6 +145,7 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
|
v-hasPermi="['return:apply:export']"
|
||||||
>导出</el-button
|
>导出</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -280,6 +281,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
@click="handleSee(scope.row, 'see')"
|
@click="handleSee(scope.row, 'see')"
|
||||||
|
v-hasPermi="['return:apply:view']"
|
||||||
>查看</el-button
|
>查看</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
|
|
@ -296,6 +298,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
v-if="scope.row.taskStatus == '101'"
|
v-if="scope.row.taskStatus == '101'"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
|
v-hasPermi="['return:apply:reject:submit']"
|
||||||
>驳回提交</el-button
|
>驳回提交</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -303,12 +306,14 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['return:apply:del']"
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handlePrint(scope.row)"
|
||||||
|
v-hasPermi="['return:apply:list']"
|
||||||
>退料单</el-button
|
>退料单</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
:rejectId="rejectId"
|
:rejectId="rejectId"
|
||||||
@returnApply="returnApply"
|
@returnApply="returnApply"
|
||||||
@rejectSubmit="rejectSubmit"
|
@rejectSubmit="rejectSubmit"
|
||||||
|
@goBackPage="goBack"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExam"
|
@click="handleExam"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
v-hasPermi="['auditing:batch']"
|
v-hasPermi="['return:auditing:auditing:batch']"
|
||||||
>批量审核</el-button
|
>批量审核</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -141,6 +141,7 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
|
v-hasPermi="['return:auditing:export']"
|
||||||
>导出</el-button
|
>导出</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -277,6 +278,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
@click="handleSee(scope.row, 'see')"
|
@click="handleSee(scope.row, 'see')"
|
||||||
|
v-hasPermi="['return:auditing:view']"
|
||||||
>查看</el-button
|
>查看</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -284,7 +286,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
v-if="scope.row.applyStatus == '0'"
|
v-if="scope.row.applyStatus == '0'"
|
||||||
v-hasPermi="['return:auditing']"
|
v-hasPermi="['return:auditing:auditing']"
|
||||||
@click="handleUpdate(scope.row, 'update')"
|
@click="handleUpdate(scope.row, 'update')"
|
||||||
>
|
>
|
||||||
审批
|
审批
|
||||||
|
|
@ -304,6 +306,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-tickets"
|
icon="el-icon-tickets"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handlePrint(scope.row)"
|
||||||
|
v-hasPermi="['return:auditing:list']"
|
||||||
>退料单</el-button
|
>退料单</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -804,7 +804,8 @@ export default {
|
||||||
endBack(param).then((response) => {
|
endBack(param).then((response) => {
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
this.$modal.msgSuccess('操作成功')
|
this.$modal.msgSuccess('操作成功')
|
||||||
this.back()
|
// this.back()
|
||||||
|
this.$$emit('goBackPage')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,7 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
|
v-hasPermi="['return:receive:export']"
|
||||||
>导出</el-button
|
>导出</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -213,6 +214,7 @@
|
||||||
size="medium"
|
size="medium"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
|
v-hasPermi="['return:receive:view']"
|
||||||
@click="handleSee(scope.row, 'see')"
|
@click="handleSee(scope.row, 'see')"
|
||||||
>查看</el-button
|
>查看</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -221,7 +223,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleReturn(scope.row, 'see')"
|
@click="handleReturn(scope.row, 'see')"
|
||||||
icon="el-icon-d-arrow-right"
|
icon="el-icon-d-arrow-right"
|
||||||
v-hasPermi="['return:btn']"
|
v-hasPermi="['return:receive:handler']"
|
||||||
v-if="scope.row.taskStatus != '40'"
|
v-if="scope.row.taskStatus != '40'"
|
||||||
>
|
>
|
||||||
退料
|
退料
|
||||||
|
|
@ -231,6 +233,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-tickets"
|
icon="el-icon-tickets"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handlePrint(scope.row)"
|
||||||
|
v-hasPermi="['return:receive:list']"
|
||||||
>退料单</el-button
|
>退料单</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
:rejectTaskId="rejectTaskId"
|
:rejectTaskId="rejectTaskId"
|
||||||
@receiveView="receiveView"
|
@receiveView="receiveView"
|
||||||
@receiveReturn="receiveReturn"
|
@receiveReturn="receiveReturn"
|
||||||
|
@goBackPage="goBack"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue