You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
JiCangHai/PingTai/DSWeb/js/MultipleSearchMultipleBusin...

61 lines
5.0 KiB
JavaScript

var optionJson;
var equalJson;
optionJson = "{searchs:["
+ "{title:\"\",name:\"\",value:-1,type:\"str\",remark:\"\"},"
+ "{title:\"委托方式\",name:\"ordertype\",value:0,type:\"str\",remark:\"\"},"
+ "{title:\"业务状态\",name:\"bsstatus\",value:1,type:\"bool\",remark:\"是否封账\"},"
+ "{title:\"费用状态\",name:\"feestatus\",value:2,type:\"bool\",remark:\"是否锁定\"},"
+ "{title:\"录入日期\",name:\"bsdate\",value:3,type:\"sdate\",remark:\"\"},"
+ "{title:\"会计期间\",name:\"accdate\",value:4,type:\"sdate\",remark:\"\"},"
+ "{title:\"主提单号\",name:\"mblno\",value:5,type:\"str\",remark:\"\"},"
+ "{title:\"分提单号\",name:\"hblno\",value:6,type:\"str\",remark:\"\"},"
+ "{title:\"委托编号\",name:\"custno\",value:7,type:\"str\",remark:\"\"},"
+ "{title:\"发货人\",name:\"shipperid\",value:8,type:\"str\",remark:\"\"},"
+ "{title:\"收货人\",name:\"consigneeid\",value:9,type:\"str\",remark:\"\"},"
+ "{title:\"发货人内容\",name:\"shipper\",value:10,type:\"str\",remark:\"\"},"
+ "{title:\"收货人内容\",name:\"consignee\",value:11,type:\"str\",remark:\"\"},"
+ "{title:\"国外代理\",name:\"agentid\",value:12,type:\"str\",remark:\"\"},"
+ "{title:\"场站\",name:\"yard\",value:13,type:\"str\",remark:\"\"},"
+ "{title:\"船名\",name:\"vessel\",value:14,type:\"str\",remark:\"\"},"
+ "{title:\"航次\",name:\"voyno\",value:15,type:\"str\",remark:\"\"},"
+ "{title:\"开船日期\",name:\"etd\",value:16,type:\"sdate\",remark:\"\"},"
+ "{title:\"截港日期\",name:\"closingdate\",value:17,type:\"sdate\",remark:\"\"},"
+ "{title:\"预抵日期\",name:\"eta\",value:18,type:\"sdate\",remark:\"\"},"
+ "{title:\"装货港\",name:\"portload\",value:19,type:\"str\",remark:\"\"},"
+ "{title:\"卸货港\",name:\"portdischarge\",value:20,type:\"str\",remark:\"\"},"
+ "{title:\"交货地\",name:\"placedelivery\",value:21,type:\"str\",remark:\"\"},"
+ "{title:\"目的地\",name:\"destination\",value:22,type:\"str\",remark:\"\"},"
+ "{title:\"目的地\",name:\"destination\",value:23,type:\"str\",remark:\"\"},"
+ "{title:\"箱号\",name:\"cntrsealno\",value:24,type:\"str\",remark:\"\"},"
+ "{title:\"录入人\",name:\"inputby\",value:25,type:\"str\",remark:\"\"},"
+ "{title:\"操作人\",name:\"op\",value:26,type:\"str\",remark:\"\"},"
+ "{title:\"客服\",name:\"custservice\",value:27,type:\"str\",remark:\"\"},"
+ "{title:\"航线\",name:\"lane\",value:28,type:\"str\",remark:\"\"},"
+ "{title:\"揽货人\",name:\"sale\",value:29,type:\"str\",remark:\"\"},"
+ "{title:\"船公司\",name:\"carrier\",value:30,type:\"str\",remark:\"\"},"
+ "{title:\"订舱代理\",name:\"forwarder\",value:31,type:\"str\",remark:\"\"},"
+ "{title:\"报关行\",name:\"customser\",value:32,type:\"str\",remark:\"\"},"
+ "{title:\"承运车队\",name:\"trucker\",value:33,type:\"str\",remark:\"\"},"
+ "{title:\"分析码1\",name:\"bssource\",value:34,type:\"str\",remark:\"\"},"
+ "{title:\"分析码2\",name:\"bssourcedetail\",value:35,type:\"str\",remark:\"\"},"
+ "{title:\"保险单号\",name:\"insuranceno\",value:36,type:\"str\",remark:\"\"},"
+ "{title:\"是否生成凭证\",name:\"isvou\",value:37,type:\"bool\",remark:\"\"},"
+ "{title:\"仓库\",name:\"warehouse\",value:38,type:\"str\",remark:\"\"},"
+ "{title:\"分公司\",name:\"name\",value:39,type:\"str\",remark:\"\"},"
+ "{title:\"所属部门\",name:\"saledept\",value:40,type:\"str\",remark:\"\"},"
+ "{title:\"委托单位\",name:\"customername\",value:42,type:\"str\",remark:\"\"}"
+ "]}";
equalJson = "{\"equals\":["
//+ "{\"name\":\"\",\"value\":-1,\"str\":1,\"int\":1,\"bool\":1,\"sdate\":1},"
+ "{\"name\":\"等于\",\"value\":0,\"code\":\"=\",\"str\":1,\"int\":1,\"bool\":1,\"sdate\":1},"
+ "{\"name\":\"包含\",\"value\":1,\"code\":\"in\",\"str\":1,\"int\":0,\"bool\":0,\"sdate\":0},"
+ "{\"name\":\"不包含\",\"value\":2,\"code\":\"notin\",\"str\":1,\"int\":0,\"bool\":0,\"sdate\":0},"
+ "{\"name\":\"空值\",\"value\":3,\"code\":\"null\",\"str\":1,\"int\":1,\"bool\":1,\"sdate\":1},"
+ "{\"name\":\"不为空\",\"value\":4,\"code\":\"notnull\",\"str\":1,\"int\":1,\"bool\":1,\"sdate\":1},"
+ "{\"name\":\"大于\",\"value\":5,\"code\":\"&gt\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1},"
+ "{\"name\":\"小于\",\"value\":6,\"code\":\"&lt\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1},"
+ "{\"name\":\"大于或等于\",\"value\":7,\"code\":\"&gt=\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1},"
+ "{\"name\":\"小于或等于\",\"value\":8,\"code\":\"&lt=\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1}"
+ "]}";