|
|
@ -69,7 +69,12 @@
|
|
|
|
<el-table-column label="盘点单号" prop="orderId" width="180"></el-table-column>
|
|
|
|
<el-table-column label="盘点单号" prop="orderId" width="180"></el-table-column>
|
|
|
|
<el-table-column label="仓库" prop="invStorageName" width="180"></el-table-column>
|
|
|
|
<el-table-column label="仓库" prop="invStorageName" width="180"></el-table-column>
|
|
|
|
<el-table-column label="分库" prop="invSubStorageName" width="180"></el-table-column>
|
|
|
|
<el-table-column label="分库" prop="invSubStorageName" width="180"></el-table-column>
|
|
|
|
<el-table-column label="货位" prop="invSpaceName" width="180"></el-table-column>
|
|
|
|
<el-table-column label="货位" prop="invSpaceName" width="240"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="盘点类型" prop="countType" width="100">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<span>{{ countTypeMap[scope.row.countType]}}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="盘点人" prop="createUser" width="120"></el-table-column>
|
|
|
|
<el-table-column label="盘点人" prop="createUser" width="120"></el-table-column>
|
|
|
|
<el-table-column label="盘点时间" prop="createTime" width="150"></el-table-column>
|
|
|
|
<el-table-column label="盘点时间" prop="createTime" width="150"></el-table-column>
|
|
|
|
<el-table-column label="状态" prop="status" width="120">
|
|
|
|
<el-table-column label="状态" prop="status" width="120">
|
|
|
@ -233,7 +238,12 @@ export default {
|
|
|
|
productId: null,
|
|
|
|
productId: null,
|
|
|
|
edit: false
|
|
|
|
edit: false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
codesVisible: false
|
|
|
|
codesVisible: false,
|
|
|
|
|
|
|
|
countTypeMap: {
|
|
|
|
|
|
|
|
0: "整库盘点",
|
|
|
|
|
|
|
|
1: "货位盘点",
|
|
|
|
|
|
|
|
2: "部分盘点"
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
@ -314,6 +324,9 @@ export default {
|
|
|
|
if (res.code === 20000) {
|
|
|
|
if (res.code === 20000) {
|
|
|
|
this.$message.success("删除成功");
|
|
|
|
this.$message.success("删除成功");
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
this.detailList = [];
|
|
|
|
|
|
|
|
this.detailTotal = 0;
|
|
|
|
|
|
|
|
this.detailQuery.page = 1;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error(res.message());
|
|
|
|
this.$message.error(res.message());
|
|
|
|
}
|
|
|
|
}
|
|
|
|