fixed bug
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
</el-input>-->
|
</el-input>-->
|
||||||
<span>机床-分组 或 零件号:</span>
|
<span>机床-分组 或 零件号:</span>
|
||||||
<el-input v-model="machine_Group_part" clearable placeholder="例:机床号-组号 或 零件号" size="small" style="width:260px">
|
<el-input v-model="machine_Group_part" clearable placeholder="例:机床号-组号 或 零件号" size="small" style="width:260px">
|
||||||
<el-button slot="append" icon="el-icon-right" @click="searchPartsByMachineGroup();partNumValue=''"/>
|
<el-button slot="append" icon="el-icon-right" @click="partNumValue='';searchPartsByMachineGroup();"/>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-select v-model="partNumValue" placeholder="选择零件编制工艺定额" size="small" @clear="clearDetail" @change="searchDetail()">
|
<el-select v-model="partNumValue" placeholder="选择零件编制工艺定额" size="small" @clear="clearDetail" @change="searchDetail()">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -715,7 +715,6 @@ export default {
|
|||||||
initDirection() {
|
initDirection() {
|
||||||
const direction = this.$getDirection()
|
const direction = this.$getDirection()
|
||||||
direction.on('keyup', function(e, val) {
|
direction.on('keyup', function(e, val) {
|
||||||
console.log(val)
|
|
||||||
if (e.keyCode === 39) {
|
if (e.keyCode === 39) {
|
||||||
direction.next()
|
direction.next()
|
||||||
}
|
}
|
||||||
@@ -1055,7 +1054,7 @@ export default {
|
|||||||
},
|
},
|
||||||
fetchData() {
|
fetchData() {
|
||||||
this.materialClass = []
|
this.materialClass = []
|
||||||
getMaterial().then(response => {
|
getMaterial(1, 10).then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.materialClass.push({
|
this.materialClass.push({
|
||||||
label: response.data[i].材料,
|
label: response.data[i].材料,
|
||||||
@@ -1112,6 +1111,7 @@ export default {
|
|||||||
searchPartsByMachineGroup() {
|
searchPartsByMachineGroup() {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.partNum = []
|
this.partNum = []
|
||||||
|
console.log(this.radio, 123123)
|
||||||
if (this.radio === 1) { // 未编制
|
if (this.radio === 1) { // 未编制
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.isShow1 = true
|
this.isShow1 = true
|
||||||
@@ -1530,7 +1530,6 @@ export default {
|
|||||||
this.materialName = ''
|
this.materialName = ''
|
||||||
this.spec = ''
|
this.spec = ''
|
||||||
this.newNum = ''
|
this.newNum = ''
|
||||||
this.searchParts()
|
|
||||||
this.searchPartsByMachineGroup()
|
this.searchPartsByMachineGroup()
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user