修正
This commit is contained in:
@@ -646,7 +646,10 @@
|
||||
<tr>
|
||||
<td>班组</td>
|
||||
<td>
|
||||
<el-switch v-model="CurrentWorkorder.team" active-text="B" inactive-text="A"> {{ CurrentWorkorder.team }}</el-switch>
|
||||
<el-radio-group v-model="CurrentWorkorder.team">
|
||||
<el-radio-button label="A">A班</el-radio-button>
|
||||
<el-radio-button label="B">B班</el-radio-button>
|
||||
</el-radio-group>
|
||||
</td>
|
||||
<td>抛光投入数</td>
|
||||
<td>{{ CurrentWorkorder.previousNumber }}</td>
|
||||
@@ -687,7 +690,7 @@ import {
|
||||
get_next_current_workorder,
|
||||
get_previous_current_workorder,
|
||||
accumulator_query,
|
||||
calculate_polish_total_number
|
||||
calculate_polish_total_number,
|
||||
} from '@/api/qualityManagement/againFQC.js'
|
||||
|
||||
export default {
|
||||
@@ -994,8 +997,8 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
//todo 累加器 这里是值传递还是引用传递??????????????????????????????
|
||||
Accumulator(item) {
|
||||
//todo 累加器 这里是值传递还是引用传递??????????????????????????????
|
||||
Accumulator(item) {
|
||||
let query = {}
|
||||
query.workorder_id = this.CurrentWorkorder.clientWorkorder
|
||||
query.checkid = item.id
|
||||
@@ -1083,7 +1086,7 @@ export default {
|
||||
query4.number = this.toUpdateNum - this.program[this.toindex].counter
|
||||
query4.inspectionModule = this.program[this.toindex].inspectionModule
|
||||
|
||||
accumulator_query(query3).then((res) => {
|
||||
accumulator_query(query4).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.program[this.toindex].counter = res.data
|
||||
}
|
||||
|
||||
@@ -466,7 +466,10 @@
|
||||
<tr>
|
||||
<td>班组</td>
|
||||
<td>
|
||||
<el-switch v-model="CurrentWorkorder.team" active-text="B" inactive-text="A"> {{ CurrentWorkorder.team }}</el-switch>
|
||||
<el-radio-group v-model="CurrentWorkorder.team">
|
||||
<el-radio-button label="A">A班</el-radio-button>
|
||||
<el-radio-button label="B">B班</el-radio-button>
|
||||
</el-radio-group>
|
||||
</td>
|
||||
<td>投入数</td>
|
||||
<td>{{ CurrentWorkorder.previousNumber }}</td>
|
||||
@@ -903,7 +906,7 @@ export default {
|
||||
query4.number = this.toUpdateNum - this.program[this.toindex].counter
|
||||
query4.inspectionModule = this.program[this.toindex].inspectionModule
|
||||
|
||||
accumulator_query(query3).then((res) => {
|
||||
accumulator_query(query4).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.program[this.toindex].counter = res.data
|
||||
}
|
||||
@@ -927,7 +930,6 @@ export default {
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
th,
|
||||
|
||||
@@ -646,7 +646,10 @@
|
||||
<tr>
|
||||
<td>班组</td>
|
||||
<td>
|
||||
<el-switch v-model="CurrentWorkorder.team" active-text="B" inactive-text="A"> {{ CurrentWorkorder.team }}</el-switch>
|
||||
<el-radio-group v-model="CurrentWorkorder.team">
|
||||
<el-radio-button label="A">A班</el-radio-button>
|
||||
<el-radio-button label="B">B班</el-radio-button>
|
||||
</el-radio-group>
|
||||
</td>
|
||||
<td>包装投入数</td>
|
||||
<td>{{ CurrentWorkorder.previousNumber }}</td>
|
||||
@@ -1055,7 +1058,7 @@ export default {
|
||||
query4.number = this.toUpdateNum - this.program[this.toindex].counter
|
||||
query4.inspectionModule = this.program[this.toindex].inspectionModule
|
||||
|
||||
accumulator_query(query3).then((res) => {
|
||||
accumulator_query(query4).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.program[this.toindex].counter = res.data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user