fix:禅道348
This commit is contained in:
parent
747b095995
commit
5a09b121fb
|
|
@ -640,7 +640,6 @@
|
|||
style="width: 100%"
|
||||
placeholder="不合格数量"
|
||||
controls-position="right"
|
||||
@change="count_notok_change"
|
||||
></el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -652,7 +651,6 @@
|
|||
:min="0"
|
||||
style="width: 100%"
|
||||
controls-position="right"
|
||||
@change="nqtChange"
|
||||
>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
|
|
@ -664,7 +662,6 @@
|
|||
:min="0"
|
||||
style="width: 100%"
|
||||
controls-position="right"
|
||||
@change="nqtChange"
|
||||
>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
|
|
@ -676,7 +673,6 @@
|
|||
:min="0"
|
||||
style="width: 100%"
|
||||
controls-position="right"
|
||||
@change="nqtChange"
|
||||
>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
|
|
@ -688,7 +684,6 @@
|
|||
:min="0"
|
||||
style="width: 100%"
|
||||
controls-position="right"
|
||||
@change="nqtChange"
|
||||
>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
|
|
@ -1472,6 +1467,13 @@ export default {
|
|||
this.form.count_n_bhpcd +
|
||||
this.form.count_n_wq;
|
||||
}
|
||||
if (that.type == "pur_in" && that.project_code=='gx') {
|
||||
let count_notok =that.form.count_n_zw+that.form.count_n_zz+that.form.count_n_b+that.form.count_n_dl;
|
||||
if(that.form.count_notok>count_notok){
|
||||
that.form.count_n_qt = that.form.count_notok-count_notok;
|
||||
}
|
||||
that.form.count_ok = that.form.count - that.form.count_notok;
|
||||
}
|
||||
that.$refs.dialogForm.validate(async (valid) => {
|
||||
if (valid) {
|
||||
that.isSaveing = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue