|
|
@@ -121,9 +121,9 @@
|
|
|
</template>
|
|
|
|
|
|
<!-- 领料人 -->
|
|
|
- <template v-slot:deliveryName="{ row }">
|
|
|
+ <template v-slot:createUserName="{ row }">
|
|
|
<div class="deviceName">
|
|
|
- <p class="n-p">{{ getUserName(row.fromUser) }}</p>
|
|
|
+ <p class="n-p">{{ row.createUserName }}</p>
|
|
|
<!-- <p class="col">出库:{{ row.createTime }}</p> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -133,6 +133,15 @@
|
|
|
</template>
|
|
|
<!-- 操作列 -->
|
|
|
<template v-slot:action="{ row }">
|
|
|
+ <el-link
|
|
|
+ type="success"
|
|
|
+ :underline="false"
|
|
|
+ icon="el-icon-position"
|
|
|
+ v-if="row.verifyStatus == 0 || row.verifyStatus == 3"
|
|
|
+ @click="submit(row)"
|
|
|
+ >
|
|
|
+ 提交
|
|
|
+ </el-link>
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
@@ -200,14 +209,14 @@
|
|
|
showOverflowTooltip: true,
|
|
|
width: 150
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'verifyStatus',
|
|
|
- label: '状态',
|
|
|
- align: 'center',
|
|
|
- slot: 'verifyStatus',
|
|
|
- showOverflowTooltip: true,
|
|
|
- width: 120
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // prop: 'verifyStatus',
|
|
|
+ // label: '状态',
|
|
|
+ // align: 'center',
|
|
|
+ // slot: 'verifyStatus',
|
|
|
+ // showOverflowTooltip: true,
|
|
|
+ // width: 120
|
|
|
+ // },
|
|
|
|
|
|
{
|
|
|
prop: 'sourceBizNo',
|
|
|
@@ -224,10 +233,10 @@
|
|
|
width: 120
|
|
|
},
|
|
|
{
|
|
|
- prop: 'deliveryName',
|
|
|
+ prop: 'createUserName',
|
|
|
label: '领料人',
|
|
|
align: 'center',
|
|
|
- slot: 'deliveryName',
|
|
|
+ slot: 'createUserName',
|
|
|
showOverflowTooltip: true,
|
|
|
width: 200
|
|
|
},
|
|
|
@@ -241,7 +250,7 @@
|
|
|
{
|
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
|
- width: 100,
|
|
|
+ width: 200,
|
|
|
align: 'center',
|
|
|
slot: 'action',
|
|
|
showOverflowTooltip: true
|
|
|
@@ -253,6 +262,21 @@
|
|
|
this.getUser();
|
|
|
},
|
|
|
methods: {
|
|
|
+ submit(row) {
|
|
|
+ this.$confirm('此操作将提交流程, 是否继续?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ .then(async () => {
|
|
|
+ const data = await outin.outinApprove({ outInId: row.id });
|
|
|
+ if (data) {
|
|
|
+ this.$message.success('流程发起成功!');
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
handleBizType(code) {
|
|
|
for (const key in this.outputSceneState) {
|
|
|
if (this.outputSceneState[key].code == code) {
|