02-12
This commit is contained in:
@@ -41,13 +41,10 @@
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<el-button type="success" icon="el-icon-search" style="margin: 10px;" size="small" @click="searchDetail">查询
|
||||
</el-button>
|
||||
<el-button type="success" icon="el-icon-search" style="margin: 10px;" size="small" @click="searchDetail">查询</el-button>
|
||||
<el-checkbox v-model="checked" :disabled="isShow2" size="small" style="margin:10px">是否核准</el-checkbox>
|
||||
<el-button v-show="isShow2" type="danger" icon="el-icon-edit" size="small" @click="returnEdit">在制零件工艺调整
|
||||
</el-button>
|
||||
<el-button v-show="false" plain size="small" style="margin: 10px;float:right" @click="switchEdit()">切换编辑模式
|
||||
</el-button>
|
||||
<el-button v-show="isShow2" type="danger" icon="el-icon-edit" size="small" @click="returnEdit">在制零件工艺调整</el-button>
|
||||
<el-button v-show="false" plain size="small" style="margin: 10px;float:right" @click="switchEdit()">切换编辑模式</el-button>
|
||||
<div v-show="isShow">
|
||||
<span>种类:</span>
|
||||
<el-input v-model="typeValue" placeholder="种类" size="small" readonly style="width:100px"/>
|
||||
@@ -816,7 +813,6 @@ export default {
|
||||
insertThestring(NewCode) {
|
||||
this.lastFocusText = event.srcElement
|
||||
this.lastFocusText.focus()
|
||||
console.log(this.lastFocusText)
|
||||
var sel = document.selection.createRange()
|
||||
sel.text = NewCode
|
||||
return
|
||||
@@ -1064,7 +1060,6 @@ export default {
|
||||
numChange() {
|
||||
numChange(this.processNumValue).then(response => {
|
||||
this.tableData2 = response.data
|
||||
console.log(this.tableData2)
|
||||
})
|
||||
},
|
||||
// 典艺工艺拷贝
|
||||
@@ -1072,14 +1067,13 @@ export default {
|
||||
if (this.partNumValue === '') {
|
||||
this.$message.error('请在主界面选择一个零件作为被拷贝对象')
|
||||
this.dialogFormVisible = false
|
||||
} else if (this.partNameValue1 === '') {
|
||||
this.$message.error('请选择零件名称')
|
||||
} else if (this.processNumValue === '') {
|
||||
this.$message.error('请选择零件图号')
|
||||
} else {
|
||||
for (let i = 0; i < this.tableData2.length; i++) {
|
||||
this.tableData[i].工艺名称 = this.tableData2[i].工艺名称
|
||||
this.tableData[i].工艺难度等级 = this.tableData2[i].工艺难度等级
|
||||
this.tableData[i].工艺要求 = this.tableData2[i].工艺要求
|
||||
console.log(this.tableData[i].工序流水号, this.tableData[i].工艺计划流水号, this.tableData2[i].工艺编号, this.tableData2[i].工序顺序, this.tableData2[i].工艺要求)
|
||||
selectRequest(this.tableData[i].工序流水号, this.tableData[i].工艺计划流水号, this.tableData2[i].工艺编号, this.tableData2[i].工序顺序, this.tableData2[i].工艺要求)
|
||||
hardEdit(this.tableData[i].工序流水号, this.tableData2[i].工艺难度等级)
|
||||
}
|
||||
@@ -1124,12 +1118,13 @@ export default {
|
||||
if (this.partNumValue === '') {
|
||||
this.$message.error('请在主界面选择一个零件作为被拷贝对象')
|
||||
} else {
|
||||
gongyiCopy(this.num, this.partNumValue).then(() => { // 工艺计划流水号_完成工艺, 工艺计划流水号_被拷工艺
|
||||
gongyiCopy(this.num, this.partNumValue).then(res => { // 工艺计划流水号_完成工艺, 工艺计划流水号_被拷工艺
|
||||
this.searchDetail()
|
||||
})
|
||||
}
|
||||
},
|
||||
numChange1() { // 当完成工艺号改变时,零件名称改变,并获取工艺要求
|
||||
// 当完成工艺号改变时,零件名称改变,并获取工艺要求
|
||||
numChange1() {
|
||||
this.remark1 = ''
|
||||
this.tableData4 = null
|
||||
for (let i = 0; i < this.tuhao.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user