|
@@ -161,8 +161,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>
|
|
@@ -219,8 +226,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>
|
|
@@ -302,6 +316,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;
|