Commit 16084a2a authored by mayinghao's avatar mayinghao

allchilds子订单为空弹出提示框

parent 56db9ff0
......@@ -635,7 +635,10 @@ class EqipInfoWindow(QMainWindow):
if response.text != "":
data1 = response.json()
all_orders = []
print(len(data1["obj"]["allChilds"]))
if len(data1["obj"]["allChilds"]) == 0:
QMessageBox.information(self, "提示", "该项没有其他子订单")
return
for j in data1["obj"]["allChilds"]:
if j["expect_finishtime"] is not None:
......
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