|
@@ -162,8 +162,15 @@
|
|
|
|
|
|
<el-table-column prop="gatepostName" label="进厂门岗">
|
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" width="100">
|
|
|
+ <el-table-column fixed="right" label="操作" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ size="mini"
|
|
|
+ @click="ctrlZQueueAllow(scope)"
|
|
|
+ >
|
|
|
+ 撤销放行
|
|
|
+ </el-button>
|
|
|
<el-button type="text" size="mini" @click="updateBill(scope)">
|
|
|
修改提货单
|
|
|
</el-button>
|
|
@@ -220,8 +227,15 @@
|
|
|
<el-table-column prop="sureTime" label="可进厂确认时间">
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column fixed="right" label="操作" width="100">
|
|
|
+ <el-table-column fixed="right" label="操作" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ size="mini"
|
|
|
+ @click="ctrlZQueueAllow(scope)"
|
|
|
+ >
|
|
|
+ 撤销放行
|
|
|
+ </el-button>
|
|
|
<el-button type="text" size="mini" @click="updateBill(scope)">
|
|
|
修改提货单
|
|
|
</el-button>
|
|
@@ -229,6 +243,19 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="仓库排队列表" name="third">
|
|
|
+ <el-table
|
|
|
+ :data="tableData3"
|
|
|
+ :span-method="objectSpanMethod"
|
|
|
+ border
|
|
|
+ style="width: 100%; margin-top: 20px"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ max-height="500px"
|
|
|
+ >
|
|
|
+ <el-table-column prop="warehouseName" label="仓库" fit></el-table-column>
|
|
|
+ <el-table-column prop="carQueue" label="排队车辆"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -254,6 +281,7 @@ export default {
|
|
|
activeName: "first",
|
|
|
tableData: [],
|
|
|
tableData1: [],
|
|
|
+ tableData3: [],
|
|
|
//存放每一行记录的合并数
|
|
|
spanArr: [],
|
|
|
maplist: [],
|
|
@@ -303,6 +331,22 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ ctrlZQueueAllow(scope) {
|
|
|
+ let map = {
|
|
|
+ listId: scope.row.listId,
|
|
|
+ resultTotalId: scope.row.resultTotalId
|
|
|
+ };
|
|
|
+ console.log(map);
|
|
|
+ this.axios.post("/api/v1/qms/ctrlZQueueAllow", map).then(res => {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ this.$message.success("撤销成功");
|
|
|
+ this.getNoSpellingArray();
|
|
|
+ this.getSpellingArray();
|
|
|
+ } else {
|
|
|
+ this.$message.error("撤单失败");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
wantEnfactory() {
|
|
|
this.axios.get("/api/v1/uc/getQueueCount").then(res => {
|
|
|
this.totalQueueNum = res.data.data;
|
|
@@ -461,8 +505,10 @@ export default {
|
|
|
this.i = 0;
|
|
|
if (this.activeName == "first") {
|
|
|
this.getNoSpellingArray();
|
|
|
- } else {
|
|
|
+ } else if(this.activeName == "second") {
|
|
|
this.getSpellingArray();
|
|
|
+ } else {
|
|
|
+ this.getStoreArray();
|
|
|
}
|
|
|
},
|
|
|
getNoSpellingArray() {
|
|
@@ -485,6 +531,16 @@ export default {
|
|
|
this.getSpanArr(this.tableData);
|
|
|
});
|
|
|
},
|
|
|
+ getStoreArray() {
|
|
|
+ this.axios
|
|
|
+ .post(
|
|
|
+ "/api/v1/qms/getStoreQueueList"
|
|
|
+ )
|
|
|
+ .then(res => {
|
|
|
+ this.tableData3 = res.data.data;
|
|
|
+ console.log("getStoreArray "+this.tableData3);
|
|
|
+ });
|
|
|
+ },
|
|
|
onclick() {
|
|
|
if (this.activeName == "first") {
|
|
|
this.axios
|