更新
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog :visible.sync="dialogParts" :title="title1" center width="400px">
|
||||
<el-dialog :visible.sync="dialogParts" :title="title1" :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false" center width="400px">
|
||||
<span>零件图号:</span>
|
||||
<el-input v-model="PartsValueNum" size="small" placeholder="零件图号" style="width: 200px"/>
|
||||
<!--<el-select v-model="PartsValueNum" filterable size="small" placeholder="零件图号">-->
|
||||
@@ -288,6 +288,7 @@
|
||||
<!--</el-select>-->
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submit">提交</el-button>
|
||||
<el-button type="primary" @click="submitCancel">取消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -465,6 +466,17 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
submitCancel() {
|
||||
this.dialogParts = false
|
||||
update(this.projectName, this.machineValue, this.Number, 0).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.fetchData()
|
||||
this.$message.success('取消成功')
|
||||
} else {
|
||||
this.$message.error('取消失败')
|
||||
}
|
||||
})
|
||||
},
|
||||
getGroups() {
|
||||
this.$emit('machineChange', this.machineValue)
|
||||
},
|
||||
|
||||
@@ -309,6 +309,7 @@ export default {
|
||||
return item
|
||||
})
|
||||
})
|
||||
console.log(this.tableData)
|
||||
} else {
|
||||
const type = this.groupName.indexOf('WG') > -1 ? 2 : 1
|
||||
this.loadingWB = true
|
||||
|
||||
Reference in New Issue
Block a user