|
@@ -523,12 +523,15 @@ export default {
|
|
|
totalQueueNumFirst: null,
|
|
|
//厂内钢材车辆总数
|
|
|
steelOrderNum: 0,
|
|
|
- isQueryCapacity: null
|
|
|
+ isQueryCapacity: null,
|
|
|
+ //排队放行限制
|
|
|
+ releaseFlag: false
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ created() {
|
|
|
this.i = 0
|
|
|
this.infomation()
|
|
|
+ this.getReleaseFlag()
|
|
|
this.getSpellingArray()
|
|
|
this.getNoSpellingArray()
|
|
|
this.getStoreArray()
|
|
@@ -536,6 +539,7 @@ export default {
|
|
|
this.wantEnfactory()
|
|
|
this.start()
|
|
|
},
|
|
|
+ mounted() {},
|
|
|
computed: {
|
|
|
wantS() {
|
|
|
return this.totalQueueNum
|
|
@@ -552,6 +556,18 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ //获取放行限制标志
|
|
|
+ getReleaseFlag() {
|
|
|
+ this.axios
|
|
|
+ .get('/api/v1/uc/getReleaseFlag')
|
|
|
+ .then(res => {
|
|
|
+ this.releaseFlag = res.data
|
|
|
+ console.log(res.data, 'res')
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ this.releaseFlag = false
|
|
|
+ })
|
|
|
+ },
|
|
|
//单拼样式调整
|
|
|
cellStyleSingle({ row, column, rowIndex, columnIndex }) {
|
|
|
if (
|
|
@@ -653,6 +669,9 @@ export default {
|
|
|
return row.ROW_ID
|
|
|
},
|
|
|
selectInit(row) {
|
|
|
+ if (!this.releaseFlag) {
|
|
|
+ return true
|
|
|
+ }
|
|
|
//单拼的可勾选控制功能在这
|
|
|
//过滤出处在同一个网格上的数据
|
|
|
let gridData = this.tableData1.filter(e => {
|
|
@@ -702,6 +721,9 @@ export default {
|
|
|
// }
|
|
|
},
|
|
|
selectInitSplleing(row) {
|
|
|
+ if (!this.releaseFlag) {
|
|
|
+ return true
|
|
|
+ }
|
|
|
if (this.maplist.length == 0) {
|
|
|
if (row.group + 1 == 1) {
|
|
|
return true
|
|
@@ -955,7 +977,7 @@ export default {
|
|
|
this.tableData1 = res.data.data
|
|
|
})
|
|
|
console.log('wzxxx')
|
|
|
- } else if (this.activeName == "second") {
|
|
|
+ } else if (this.activeName == 'second') {
|
|
|
this.axios
|
|
|
.post(
|
|
|
'/api/v1/qms/getQueueListByQueueUp?apiId=473&isSpelling=1&i=' +
|
|
@@ -968,7 +990,7 @@ export default {
|
|
|
this.tableData = res.data.data
|
|
|
this.getSpanArr(this.tableData)
|
|
|
})
|
|
|
- } else if (this.activeName == "fourth") {
|
|
|
+ } else if (this.activeName == 'fourth') {
|
|
|
this.axios
|
|
|
.post(
|
|
|
'/api/v1/qms/getQueueListByQueueUp?apiId=473&isSpelling=2&i=' +
|