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