刘璐珈
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user