加工顺序调整按工艺计划流水号查
This commit is contained in:
@@ -320,7 +320,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { searchParts, getMachine, getMachine2, searchtable, getTable2, Order, JurisdictionControl, JurisdictionContro2, outParts } from '@/api/ManufacturingCenter/MachiningSequenceAdjustment'
|
||||
import { searchParts, getMachine, getMachine2, searchtable, getTable3, Order, JurisdictionControl, JurisdictionContro2, outParts } from '@/api/ManufacturingCenter/MachiningSequenceAdjustment'
|
||||
import { wsuri, name } from '@/utils/request'
|
||||
export default {
|
||||
data() {
|
||||
@@ -379,7 +379,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getRowKeys(row) {
|
||||
return row.零件图号
|
||||
return row.工艺计划流水号
|
||||
},
|
||||
selectMachine(row) {
|
||||
this.process = []
|
||||
@@ -388,7 +388,7 @@ export default {
|
||||
this.colorCode = []
|
||||
this.realDate = []
|
||||
this.tableData2 = []
|
||||
getTable2(row.零件图号).then(response => {
|
||||
getTable3(row.工艺计划流水号).then(response => {
|
||||
for (let k = 0; k < response.data.length; k++) {
|
||||
this.process[k] = response.data[k].工艺名称简称
|
||||
this.planDate[k] = response.data[k].计划日期_短
|
||||
@@ -469,18 +469,18 @@ export default {
|
||||
},
|
||||
searchTable2(row) {
|
||||
if (this.a === 1) {
|
||||
this.expands.push(row.零件图号)
|
||||
this.b = row.零件图号
|
||||
this.expands.push(row.工艺计划流水号)
|
||||
this.b = row.工艺计划流水号
|
||||
this.a = 0
|
||||
} else {
|
||||
if (this.b === row.零件图号) {
|
||||
if (this.b === row.工艺计划流水号) {
|
||||
this.expands = []
|
||||
this.a = 1
|
||||
} else {
|
||||
this.expands = []
|
||||
this.expands.push(row.零件图号)
|
||||
this.expands.push(row.工艺计划流水号)
|
||||
this.a = 0
|
||||
this.b = row.零件图号
|
||||
this.b = row.工艺计划流水号
|
||||
}
|
||||
}
|
||||
this.process = []
|
||||
@@ -489,7 +489,7 @@ export default {
|
||||
this.colorCode = []
|
||||
this.realDate = []
|
||||
this.tableData2 = []
|
||||
getTable2(row.零件图号).then(response => {
|
||||
getTable3(row.工艺计划流水号).then(response => {
|
||||
for (let k = 0; k < response.data.length; k++) {
|
||||
this.process[k] = response.data[k].工艺名称简称
|
||||
this.planDate[k] = response.data[k].计划日期_短
|
||||
|
||||
Reference in New Issue
Block a user