工艺定额查询
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件投产数量" align="center">
|
<el-table-column label="零件投产数量" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.已投产数量 }}
|
{{ scope.row.批次数量 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -588,7 +588,7 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
PrNum: '027W191482-0001',
|
PrNum: '',
|
||||||
tableData2: [],
|
tableData2: [],
|
||||||
tableData3: [],
|
tableData3: [],
|
||||||
机床号: '',
|
机床号: '',
|
||||||
@@ -617,6 +617,7 @@ export default {
|
|||||||
searchData() {
|
searchData() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
search(this.pageCurrent, this.pageSize, this.PrNum).then(response => {
|
search(this.pageCurrent, this.pageSize, this.PrNum).then(response => {
|
||||||
|
console.log(response.data)
|
||||||
this.tableData = response.data.rows
|
this.tableData = response.data.rows
|
||||||
this.total = response.data.total
|
this.total = response.data.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -1224,7 +1224,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.tableData1.push(this.result[i])
|
this.tableData1.push(this.result[i])
|
||||||
console.log(this.tableData1)
|
|
||||||
selection2(this.工艺计划流水号[this.indexAdjust]).then(response => { // 刷新对话框显示和颜色
|
selection2(this.工艺计划流水号[this.indexAdjust]).then(response => { // 刷新对话框显示和颜色
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.partType = response.data[i].零件类型
|
this.partType = response.data[i].零件类型
|
||||||
@@ -1473,7 +1472,6 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
plan(this.tableData1[i].工艺计划流水号).then(response => {
|
plan(this.tableData1[i].工艺计划流水号).then(response => {
|
||||||
if (this.tableData1[i].平衡次数 !== 0 || this.tableData1[i].是否焊接 !== 1) {
|
if (this.tableData1[i].平衡次数 !== 0 || this.tableData1[i].是否焊接 !== 1) {
|
||||||
console.log(this.tableData1[i].平衡次数, 111)
|
|
||||||
this.result1 += parseInt(response.data[0].result)
|
this.result1 += parseInt(response.data[0].result)
|
||||||
if (this.result1 === this.length) {
|
if (this.result1 === this.length) {
|
||||||
this.$message.success('零件计划制定成功')
|
this.$message.success('零件计划制定成功')
|
||||||
|
|||||||
Reference in New Issue
Block a user