fix:日志检验中添加破损和其他
This commit is contained in:
parent
b353166dda
commit
93ae6ac3da
|
@ -133,6 +133,28 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :md="12" :sm="24">
|
||||||
|
<el-form-item label="破损">
|
||||||
|
<el-input-number
|
||||||
|
v-model="form.count_n_ps"
|
||||||
|
:min="0"
|
||||||
|
class="width-100"
|
||||||
|
controls-position="right"
|
||||||
|
@change="countChange"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :md="12" :sm="24">
|
||||||
|
<el-form-item label="其他">
|
||||||
|
<el-input-number
|
||||||
|
v-model="form.count_n_qt"
|
||||||
|
:min="0"
|
||||||
|
class="width-100"
|
||||||
|
controls-position="right"
|
||||||
|
@change="countChange"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-main>
|
</el-main>
|
||||||
|
@ -197,6 +219,8 @@ export default {
|
||||||
this.form.count_n_bb +
|
this.form.count_n_bb +
|
||||||
this.form.count_n_md +
|
this.form.count_n_md +
|
||||||
this.form.count_n_xh +
|
this.form.count_n_xh +
|
||||||
|
this.form.count_n_ps +
|
||||||
|
this.form.count_n_qt +
|
||||||
this.form.count_n_wm;
|
this.form.count_n_wm;
|
||||||
this.form.count_ok = this.form.count_real - this.form.count_notok;
|
this.form.count_ok = this.form.count_real - this.form.count_notok;
|
||||||
},
|
},
|
||||||
|
@ -214,6 +238,8 @@ export default {
|
||||||
this.form.count_n_bb +
|
this.form.count_n_bb +
|
||||||
this.form.count_n_md +
|
this.form.count_n_md +
|
||||||
this.form.count_n_xh +
|
this.form.count_n_xh +
|
||||||
|
this.form.count_n_ps +
|
||||||
|
this.form.count_n_qt +
|
||||||
this.form.count_n_wm;
|
this.form.count_n_wm;
|
||||||
let sum = this.form.count_ok + this.form.count_notok;
|
let sum = this.form.count_ok + this.form.count_notok;
|
||||||
if (sum - this.form.count_real == 0) {
|
if (sum - this.form.count_real == 0) {
|
||||||
|
|
Loading…
Reference in New Issue