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

master
anthonywj 3 years ago
parent 94a95678f9
commit d168f7e3c9

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

Loading…
Cancel
Save