优化
This commit is contained in:
@@ -199,6 +199,9 @@ public class WorkTaskServiceImpl implements WorkTaskService {
|
|||||||
FormulaMap.put("start_time", now);
|
FormulaMap.put("start_time", now);
|
||||||
PDM_BI_Formula.update(FormulaMap, "status='20' and workorder_id ='" + jsonMst.getString("workorder_id") + "' and material_id='"+jsonMst.getString("material_id")+"'");
|
PDM_BI_Formula.update(FormulaMap, "status='20' and workorder_id ='" + jsonMst.getString("workorder_id") + "' and material_id='"+jsonMst.getString("material_id")+"'");
|
||||||
}
|
}
|
||||||
|
if (jsonMst.getString("workprocedure_code").equals(topDtl.getString("workprocedure_code"))) {
|
||||||
|
workordeMap.put("realstart_time", now);
|
||||||
|
}
|
||||||
//更新工令
|
//更新工令
|
||||||
PDM_BI_WorkOrder.update(workordeMap, "workorder_id ='" + jsonMst.getString("workorder_id") + "'");
|
PDM_BI_WorkOrder.update(workordeMap, "workorder_id ='" + jsonMst.getString("workorder_id") + "'");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -292,7 +292,6 @@ export default {
|
|||||||
tableChanged(row) {
|
tableChanged(row) {
|
||||||
this.form.material_code = row.material_code
|
this.form.material_code = row.material_code
|
||||||
this.form.material_id = row.material_id
|
this.form.material_id = row.material_id
|
||||||
//this.form.tableData = []
|
|
||||||
this.tableData1 = []
|
this.tableData1 = []
|
||||||
this.form.detail_count = this.form.tableData.length
|
this.form.detail_count = this.form.tableData.length
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user