winform框架中dataquery的使用
2021-05-04 15:30
标签:mobile time .sh collect address type ntb query ems 1. var nu_ll = ‘‘; var fiter = "ContractID==‘"+No_nu_null+"‘|| ContractID==‘"+kong +"‘|| ContractID==‘"+nu_ll +"‘||‘"+nu_ll +"‘==‘‘"; var query = { DataService.dataQuery(query,function(err,result){ //是否开票 winform框架中dataquery的使用 标签:mobile time .sh collect address type ntb query ems 原文地址:http://www.cnblogs.com/boonook/p/7700343.html
var kong = ‘‘;
var No_nu_null = ‘‘;
if(scope.CI_s == null){
nu_ll = scope.CI_s;
}else if(scope.CI_s ==""){
kong = scope.CI_s;
}else{
No_nu_null = scope.CI_s;
}
TabularType:"ApplicationData.T_ContractInfo",
//Properties:["CustomerLinkerInfo.OfficeTel","CustomerLinkerInfo.Mobile1"]
Filter:fiter,
Properties:["ContractType","ContractID","ImplementState","SignedDate","RequireImplementTime","ImplementRemark","RegisteDate",
"ServiceEndDate","InvoiceFlag","ContractBalance","InstalDate","ContractMemory","OtherMemory","CustomerLinkerID",
"T_CustomerLinkerInfo.LinkerName","T_CustomerLinkerInfo.AliasName","T_CustomerLinkerInfo.Position",
"T_CustomerLinkerInfo.OfficeTel","T_CustomerLinkerInfo.HomeTel","T_CustomerLinkerInfo.Mobile1",
"T_CustomerLinkerInfo.Mobile2","T_CustomerLinkerInfo.Email",
"CustomerInfo.AccountNo","CustomerInfo.CHName","CustomerInfo.CustomerID","CustomerInfo.SelfDefineCode",
"CustomerInfo.ENName","CustomerInfo.CHShortName","CustomerInfo.ENShortName","CustomerInfo.SpellShortCode",
"CustomerInfo.CustomerType","CustomerInfo.ParentGroup","CustomerInfo.SaleBrand","CustomerInfo.SA",
"CustomerInfo.Provinces","CustomerInfo.City","CustomerInfo.Area","CustomerInfo.Address","CustomerInfo.ZipCost",
"CustomerInfo.Tel",‘CustomerInfo.Mobile‘,"CustomerInfo.Fax","CustomerInfo.Web","CustomerInfo.Email","CustomerInfo.Property",
"CustomerInfo.AccountBank","CustomerInfo.TaxNo","CustomerInfo.Onwer","CustomerInfo.Summary","CollectionDetail.ShouldMoney","CollectionDetail.ActualMoney"]//,"CollectionDetail.NoGetMoney"
//Properties:["CollectionDetail.ContractID","CollectionDetail.NoGetMoney"]
};
scope.re =result.Items.length;
if(scope.re>0){
scope.a = result.Items[0].InvoiceFlag;
for(var i=0;i
result.Items[i].InvoiceFlag = "开票";
}else{
result.Items[i].InvoiceFlag = "未开票";
}
}
文章标题:winform框架中dataquery的使用
文章链接:http://soscw.com/index.php/essay/82331.html