Commit d37bf8d2 by ss.dai

Upd 1:更新做测试

parent a2a1efaa
......@@ -313,6 +313,7 @@ void MainForm::onSetNetStatus(const QString &status)
void MainForm::onChangeOrderStatus(OrderObject *orderObject, int oldStatus)
{
qDebug() << "--------状态------" << oldStatus;
_SetTablesSortEnable(false);
QTableWidget *table;
QPushButton *tabBtn;
......@@ -328,8 +329,9 @@ void MainForm::onChangeOrderStatus(OrderObject *orderObject, int oldStatus)
// }
// table = findChild<QTableWidget*>(tabBtn->property("tableName").toString());
qDebug() << "--------状态------" << orderObject->curt_table_btn->property("tableName").toString();
QTableWidget* table = findChild<QTableWidget*>(orderObject->curt_table_btn->property("tableName").toString());
qDebug() << "--------状态------" << table->objectName();
for(int i=0; i<table->rowCount(); i++)
{
if(!table->item(i, 1)->text().compare(orderObject->order_id))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment