Commit cabb2585 by NitefullWind

1. 去掉POS发来门店名的前缀。

parent fc60f1b9
......@@ -75,13 +75,15 @@ void FMTask::copyPros()
QString posPro = DefaultProps[i];
serverReqJsonObj[ServerProps(posPro)] = posReqJsonObj[posPro];
}
QString store_id = posReqJsonObj[PosProps.StoreId].toString();
store_id = store_id.remove("pos_my_");
serverReqJsonObj[ServerProps(PosProps.StoreId)] = store_id;
}
void FMTask::showWindow()
{
FMP_DEBUG() << __FUNCTION__;
QString sL[] = {
PosProps.StoreId,
PosProps.PosId,
PosProps.OperatorId,
PosProps.BussinessDate,
......@@ -92,6 +94,10 @@ void FMTask::showWindow()
_session->addData(s, posReqJsonObj[s].toString());
}
QString store_id = posReqJsonObj[PosProps.StoreId].toString();
store_id = store_id.remove("pos_my_");
_session->addData(PosProps.StoreId, store_id);
if(_window != nullptr) {
_window->initWnd(this->session());
int ret = _window->exec();
......
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