|
@@ -405,7 +405,7 @@ module.exports = app => {
|
|
|
}
|
|
|
}
|
|
|
// 并更新至调差表中
|
|
|
- await ctx.service.materialExponent.update({ ex_calc: renderData.ex_calc, ex_expr: ctx.material.ex_expr }, { id: ctx.material.id });
|
|
|
+ await ctx.service.material.update({ ex_calc: JSON.stringify(renderData.ex_calc), ex_expr: ctx.material.ex_expr }, { id: ctx.material.id });
|
|
|
} else {
|
|
|
renderData.ex_calc = JSON.parse(ctx.material.ex_calc);
|
|
|
}
|