This commit is contained in:
liushuai
2020-06-01 17:47:46 +08:00
parent 034436b307
commit d30a808bc9
13 changed files with 1145 additions and 81 deletions

View File

@@ -18,6 +18,7 @@
:label="item.label"
:value="item.value"/>
</el-select>
<el-button type="text" plain style="float: right;margin-right: 20px;margin-top: 5px" @click="turnTo()">成组配套查询</el-button>
</el-card>
<el-row>
<el-col :span="8">
@@ -128,11 +129,11 @@ export default {
watch: {
'$route': {
handler(route) {
console.log(this.$route.query.机床流水号, 8765678)
if (this.$route.query.机床流水号) {
console.log(this.$route.query.机床流水号)
this.getTreeData2(this.$route.query.机床流水号)
console.log(this.$route.query.机床流水号, 9877777777777)
this.getTreeData2(parseInt(this.$route.query.机床流水号))
} else {
// var that = this
if (!this.MachineValue) {
this.getMachine()
}
@@ -145,6 +146,14 @@ export default {
// this.getMachine()
},
methods: {
turnTo() {
this.$router.push({
path: '/ManufacturingCenter/GroupMatching',
query: {
机床流水号: this.MachineValue
}
})
},
getTreeData2(num) {
this.MachineValue = ''
this.Machine = []