feat(production): 修改删除订单问题
This commit is contained in:
+2
-1
@@ -292,7 +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"
|
||||
"删除会清除其未测量工件、动作记录并释放料位。\n\n"
|
||||
"确认删除订单:" + orderNo + "?") != QMessageBox::Yes) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user