rev:配粉开单合批模式球磨时间计算
This commit is contained in:
@@ -1099,6 +1099,9 @@ export default {
|
||||
autoformula.autoCalculation(this.form).then(res => {
|
||||
this.crud.notify('自动计算成功!')
|
||||
this.chunfen_qty = res.chunfen_qty
|
||||
if (res.time !== 0.0 && res.time !== undefined) {
|
||||
this.form.ball_time = res.time
|
||||
}
|
||||
this.fullscreenLoading = false
|
||||
if ((parseFloat(this.chunfen_qty) > 0) && (parseFloat(this.chunfen_qty) < parseFloat(this.form.workorder_qty))) {
|
||||
this.$confirm('软废纯粉重量为' + parseFloat(this.chunfen_qty).toFixed(3) + '公斤,不足工令重量,是否继续?')
|
||||
@@ -1112,6 +1115,9 @@ export default {
|
||||
this.form2.total_qty1 = 0
|
||||
this.form2.add_qty1 = 0
|
||||
this.ball_time = res2.ball_time
|
||||
if (res2.time !== 0.0 && res2.time !== undefined) {
|
||||
this.form.ball_time = res2.time
|
||||
}
|
||||
if ((parseFloat(this.ball_time) > 0)) {
|
||||
this.form.ball_time = parseFloat(this.ball_time)
|
||||
}
|
||||
@@ -1162,6 +1168,9 @@ export default {
|
||||
this.tableDtl = res.tableDtl
|
||||
this.form2.total_qty1 = 0
|
||||
this.form2.add_qty1 = 0
|
||||
if (res.time !== 0.0 && res.time !== undefined) {
|
||||
this.form.ball_time = res.time
|
||||
}
|
||||
for (let i = 0; i < this.tableDtl.length; i++) {
|
||||
const row = this.tableDtl[i]
|
||||
row.edit = true
|
||||
|
||||
Reference in New Issue
Block a user