feat(production): 删除动作记录、释放料位、删除工件及订单等
This commit is contained in:
@@ -292,6 +292,8 @@ void OrderPage::deleteSelectedOrder()
|
||||
const QString orderNo = ui->orderTable->item(row, 0)
|
||||
? ui->orderTable->item(row, 0)->text() : QString::number(orderIds.at(row));
|
||||
if (QMessageBox::question(this, "删除订单",
|
||||
"仅未开始或已取消且无测量记录的订单可以删除。\n"
|
||||
"删除会清除其未测量工件、动作记录并释放料位。\n\n"
|
||||
"确认删除订单:" + orderNo + "?") != QMessageBox::Yes) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user