| | |
| | | OnShareMessage(); |
| | | return 0; |
| | | } |
| | | if (comdid == L"action:bill.check.ask") |
| | | { |
| | | int row = dw_detail.GetRow(); |
| | | if (row < 1) return 0; |
| | | xstring PartyID = dw_detail.GetItemString(row, L"PartyID"); |
| | | KXMLDOMDocument xx3 = ViewObject::RetrieveData(L"/sale/data/CustomerV3/entity/GetCustomerResults", L"CustomerID", PartyID); |
| | | |
| | | xstring Results3 = xx3.text(); |
| | | |
| | | if (Results3 != L"") |
| | | { |
| | | alert(Results3); |
| | | return 0; |
| | | } |
| | | } |
| | | // else if (comdid.find(L"action:",0) >= 0) return OnAction(comdid); |
| | | return -1; |
| | | } |
| | |
| | | return 1; |
| | | } |
| | | } |
| | | if (value == L"信保回复附件") |
| | | { |
| | | arg.AddArg(L"entityid", dw_detail.GetGuid(1)); |
| | | arg.AddArg(L"ApproveStatus", L"新建"); |
| | | OpenWindow(L"dev:xpage[maint.Document.SampleRequestForm.vx]", (LPARAM)&arg); |
| | | return 1; |
| | | |
| | | } |
| | | |
| | | if(value == L"客户基本信息") |
| | | { |
| | | xaserverarg arg1 = GetArg(); |
| | |
| | | |
| | | ApplyStatus=dw_detail.GetItemString(1,L"ApplyStatus"); |
| | | |
| | | if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618" || userno == L"00620") |
| | | if(userno !=L"00601" && userno !=L"admin" && userno !=L"00701" && userno != L"00618" || userno != L"00620") |
| | | { |
| | | if(ApplyStatus ==L"已审核") |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | if (userno == L"00601" && userno == L"admin" && userno != L"00701" && userno == L"00618" || userno == L"00620") |
| | | { |
| | | |
| | | dw_detail.SetReadOnly(false); |
| | | |
| | | } |
| | | |
| | | dw_detail.SetEditUpperMode(true); |
| | | dw_visit.SetEditUpperMode(true); |
| | | dw_Meetings.SetEditUpperMode(true); |