|
|
|
@ -87,11 +87,13 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="单据日期" prop="billdate"></el-table-column>
|
|
|
|
|
<el-table-column label="单据状态">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.status | statusFilterName }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="单据状态">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- {{ scope.row.status | statusFilterName }}-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="业务类型" prop="billType">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ getActionName(scope.row.billType) }}</span>
|
|
|
|
@ -102,6 +104,17 @@
|
|
|
|
|
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="提交状态">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
|
|
<el-tag :type="(scope.row.exportStatus) | statusFilterType">
|
|
|
|
|
{{ exportStatusMap[scope.row.exportStatus] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
@ -199,6 +212,11 @@ export default {
|
|
|
|
|
idQuery: {
|
|
|
|
|
id: "",
|
|
|
|
|
},
|
|
|
|
|
exportStatusMap: {
|
|
|
|
|
null: "未提交",
|
|
|
|
|
"1": "已提交",
|
|
|
|
|
"0": "未提交",
|
|
|
|
|
},
|
|
|
|
|
distributionVisible: false,
|
|
|
|
|
detailFormRules: {
|
|
|
|
|
batchNo: [
|
|
|
|
@ -502,8 +520,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
},
|
|
|
|
|
components: {},
|
|
|
|
|
filters: {
|
|
|
|
|
statusFilterType(status) {
|
|
|
|
|
const statusMap = {
|
|
|
|
@ -530,6 +547,7 @@ export default {
|
|
|
|
|
return typeMap[type];
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
this.getStorage();
|
|
|
|
|
this.getBusType();
|
|
|
|
|