fix:禅道348

This commit is contained in:
shijing 2026-03-03 13:54:08 +08:00
parent 747b095995
commit 5a09b121fb
1 changed files with 7 additions and 5 deletions

View File

@ -640,7 +640,6 @@
style="width: 100%" style="width: 100%"
placeholder="不合格数量" placeholder="不合格数量"
controls-position="right" controls-position="right"
@change="count_notok_change"
></el-input-number> ></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -652,7 +651,6 @@
:min="0" :min="0"
style="width: 100%" style="width: 100%"
controls-position="right" controls-position="right"
@change="nqtChange"
> >
</el-input-number> </el-input-number>
</el-form-item> </el-form-item>
@ -664,7 +662,6 @@
:min="0" :min="0"
style="width: 100%" style="width: 100%"
controls-position="right" controls-position="right"
@change="nqtChange"
> >
</el-input-number> </el-input-number>
</el-form-item> </el-form-item>
@ -676,7 +673,6 @@
:min="0" :min="0"
style="width: 100%" style="width: 100%"
controls-position="right" controls-position="right"
@change="nqtChange"
> >
</el-input-number> </el-input-number>
</el-form-item> </el-form-item>
@ -688,7 +684,6 @@
:min="0" :min="0"
style="width: 100%" style="width: 100%"
controls-position="right" controls-position="right"
@change="nqtChange"
> >
</el-input-number> </el-input-number>
</el-form-item> </el-form-item>
@ -1472,6 +1467,13 @@ export default {
this.form.count_n_bhpcd + this.form.count_n_bhpcd +
this.form.count_n_wq; 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) => { that.$refs.dialogForm.validate(async (valid) => {
if (valid) { if (valid) {
that.isSaveing = true; that.isSaveing = true;