平衡补单,缺量自动补单移到库存补单页面,新增异常状态

master
anthonywj 3 years ago
parent 94a95678f9
commit d168f7e3c9

@ -87,6 +87,13 @@
<span>{{ scope.row.actDate }}</span>
</template>
</el-table-column>
<el-table-column label="校验状态" prop="contrastStatus" width="120">
<template slot-scope="scope">
<el-tag :type="(scope.row.contrastStatus === 1) | statusFilterType">
{{ erpCheckStatus[scope.row.contrastStatus] }}
</el-tag>
</template>
</el-table-column>
<el-table-column label="单据状态" prop="status" width="100">
<template slot-scope="scope">
<el-tag :type="(scope.row.status == 3) | statusFilterType">{{
@ -113,14 +120,14 @@
</el-button
>
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- v-if="scope.row.status !== -1"-->
<!-- @click.native.stop="handleErrorDetail(scope.$index)"-->
<!-- >错误详情-->
<!-- </el-button-->
<!-- >-->
<el-button
type="text"
size="small"
v-if="scope.row.status.contrastStatus == 1"
@click.native.stop="handleErrorDetail(scope.$index)"
>错误详情
</el-button
>
<el-button
type="text"
size="small"
@ -131,7 +138,7 @@
<el-button
type="text"
size="small"
v-if="scope.row.status !== -1"
:disabled="scope.row.contrastStatus == 1"
@click.native.stop="onUpload(scope.row.id)"
>提交
</el-button
@ -323,6 +330,10 @@ export default {
deleteData: {
id: "",
},
erpCheckStatus: {
1: "异常",
0: "正常",
},
dialogTableVisible: false,
formLoading: false,
dialogVisible: false,
@ -518,6 +529,7 @@ export default {
};
return statusMap[status];
},
},
mounted() {
document.body.ondrop = function (event) {

Loading…
Cancel
Save