fix:增加半成品不合格原因‘扁’
This commit is contained in:
parent
2d0c6ac079
commit
e2682042c9
|
@ -204,6 +204,18 @@
|
|||
</el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-form-item label="扁">
|
||||
<el-input-number
|
||||
v-model="form.count_n_b"
|
||||
@change="countNotOkSun"
|
||||
:min="0"
|
||||
style="width: 100%"
|
||||
controls-position="right"
|
||||
>
|
||||
</el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-form-item label="其他">
|
||||
<el-input-number
|
||||
|
@ -810,6 +822,7 @@ export default {
|
|||
this.form.count_n_qx = 0;
|
||||
this.form.count_n_ysq = 0;
|
||||
this.form.count_n_zz = 0;
|
||||
this.form.count_n_b = 0;
|
||||
this.form.count_n_qt = 0;
|
||||
}
|
||||
if (that.type == "do_in" && that.cate == "good") {
|
||||
|
@ -872,6 +885,7 @@ export default {
|
|||
},
|
||||
countChange() {},
|
||||
countNotOkSun() {
|
||||
let that = this;
|
||||
if (
|
||||
(that.type == "do_in" && that.cate == "halfgood") ||
|
||||
that.type == "other_in"
|
||||
|
@ -888,6 +902,7 @@ export default {
|
|||
this.form.count_n_qx +
|
||||
this.form.count_n_ysq +
|
||||
this.form.count_n_zz +
|
||||
this.form.count_n_b +
|
||||
this.form.count_n_qt;
|
||||
}
|
||||
if (that.type == "do_in" && that.cate == "good") {
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
Math.floor(
|
||||
scope.row.count /
|
||||
scope.row.week_esitimate_consume
|
||||
)
|
||||
) * 7
|
||||
}}
|
||||
</span>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue