| | |
| | | { |
| | | if (selHetongshangchuan == "1") |
| | | { |
| | | Condition += string.Format(" and EXISTS ( select CorporateClientsid from [dbo].[OA_CorporateClientContract] where CorporateClientsid=a.Keyid ) "); |
| | | Condition += string.Format(" and a.Keyid in ( select CorporateClientsid from [dbo].[OA_CorporateClientContract] ) "); |
| | | } |
| | | else |
| | | { |
| | | Condition += string.Format(" and NOT EXISTS ( select CorporateClientsid from [dbo].[OA_CorporateClientContract] where CorporateClientsid=a.Keyid ) "); |
| | | Condition += string.Format(" and a.Keyid not in ( select CorporateClientsid from [dbo].[OA_CorporateClientContract] ) "); |
| | | } |
| | | } |
| | | |
| | |
| | | <script type="text/javascript"> |
| | | ///添加 |
| | | function addModel() { |
| | | top.Dialog.open({ URL: "/Pages/business/CorporateClientsEdit.aspx", Title: "新增客户", Width: 900, Height: 750 }); |
| | | top.Dialog.open({ URL: "/Pages/business/CorporateClientsEdit.aspx", Title: "新增客户", Width: 1200, Height: 900 }); |
| | | } |
| | | |
| | | //查看 |