刘璐珈

This commit is contained in:
Vergil
2020-03-18 17:47:47 +08:00
parent 715298cf6c
commit 8151bd6393
7 changed files with 26 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
<el-card>
<el-row style="margin-top: 10px; margin-bottom: 10px">
<span>机床编号:</span>
<el-select v-model="machineNumberValue" filterable placeholder="机床编号" size="small" clearable @change="searchTable1();machineChange()">
<el-select v-model="machineNumberValue" filterable placeholder="机床编号" size="small" clearable @change="searchTable1()">
<el-option
v-for="item in machineNumber"
:key="item.value"
@@ -250,7 +250,7 @@ export default {
})
},
addTable() {
if (this.machineNumberValue !== '') {
if (this.machineNumberValue !== '' && this.machineNumberValue !== null) {
addData(this.machineNumberValue, 3).then(response => {
console.log(response)
if (response.data[0].result === '1') {