fix(order): 工序耗时--下面的累计耗时和表格没有数据
This commit is contained in:
@@ -2317,6 +2317,7 @@ bool ProductionService::updateCurrentProcessStep(const QString &processStep,
|
|||||||
m_inspectionStatusReady = false;
|
m_inspectionStatusReady = false;
|
||||||
}
|
}
|
||||||
startProcessTimer(processStep);
|
startProcessTimer(processStep);
|
||||||
|
emit currentWorkpieceSnapshotChanged(m_currentWorkpiece);
|
||||||
emitProcessElapsed();
|
emitProcessElapsed();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ ProductionWorker::ProductionWorker(QObject *parent)
|
|||||||
, m_stopRequested(false)
|
, m_stopRequested(false)
|
||||||
{
|
{
|
||||||
qRegisterMetaType<ProductionService::Snapshot>("ProductionService::Snapshot");
|
qRegisterMetaType<ProductionService::Snapshot>("ProductionService::Snapshot");
|
||||||
|
qRegisterMetaType<Workpiece>("Workpiece");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProductionWorker::ensureService()
|
void ProductionWorker::ensureService()
|
||||||
|
|||||||
Reference in New Issue
Block a user