lifan
3 天以前 7d373af1a34ede50b72367be462a0ce1ed6b5baf
jrj/project/business/SO/Apply.SOItem.cpp
@@ -182,12 +182,26 @@
      //命令发布函数
      int OnCmdDispatch(xstring comdid)
      {
         xstring positionname = publiccode::GetUser().positionname;
         if (comdid == L"xmCancel")
         {
            CloseWindow();
            return 1;
         }
         else if (comdid == L"xmAskGoodsNo")
         if (comdid == L"xmCancel")
         {
            CloseWindow();
            return 1;
         }
         if (comdid.find(L"action:bill.workflow.lognew", 0) >= 0)
         {
            int ret1 = ProcessFlowAction(comdid, 1);
            return ret1;
         }
         if (positionname.find(L"跟单") < 0)
         {
            if (comdid == L"xmAskGoodsNo")
         {
            OnAskGoodsNo();
         }
@@ -222,6 +236,8 @@
            int ret = ProcessFlowAction(comdid, 1);
            return ret;
         }
         }
         return 0;
      }