|
@@ -95,7 +95,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="容量状态" width="90px" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{ scope.row.volumeStatus }}</span>
|
|
|
+ <span v-if="scope.row.volumeStatus == 1" style="color:red;">{{ scope.row.volumeStatusStr }}</span>
|
|
|
+ <span v-if="scope.row.volumeStatus == 2" style="color:red;">{{ scope.row.volumeStatusStr }}</span>
|
|
|
+ <span v-if="scope.row.volumeStatus == 0" style="color:green;">{{ scope.row.volumeStatusStr }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="撒料" min-width="250px" align="left" header-align="center">
|
|
@@ -1218,6 +1220,10 @@ export default {
|
|
|
this.create.temp.mytmrid = row.tmrid
|
|
|
this.create.checkBarList = []
|
|
|
this.create.temp.mytmrid = row.tmrid
|
|
|
+ if(this.create.temp.volume == undefined || this.create.temp.volume == ''){
|
|
|
+ console.log(111)
|
|
|
+ this.$set(this.create.temp,'volume',0)
|
|
|
+ }
|
|
|
console.log(this.create.temp,'this.create.temp')
|
|
|
this.getCreateList1()
|
|
|
|