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.
59 lines
4.8 KiB
JavaScript
59 lines
4.8 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:\"vessel\",value:8,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"航次\",name:\"voyno\",value:9,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"到港日期\",name:\"etd\",value:10,type:\"sdate\",remark:\"\"},"
|
|
+ "{title:\"装货港\",name:\"portload\",value:11,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"卸货港\",name:\"portdischarge\",value:12,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"录入人\",name:\"inputby\",value:13,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"操作人\",name:\"op\",value:14,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"客服\",name:\"custservice\",value:15,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"揽货人\",name:\"sale\",value:16,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"报关行\",name:\"customser\",value:17,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"业务来源\",name:\"bssource\",value:18,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"来源明细\",name:\"bssourcedetail\",value:19,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"是否生成凭证\",name:\"isvou\",value:20,type:\"bool\",remark:\"\"},"
|
|
+ "{title:\"分公司\",name:\"corpid\",value:21,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"所属部门\",name:\"saledept\",value:22,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"品名\",name:\"GOODSNAME\",value:23,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"原产地\",name:\"COUNTRYOFORIGIN\",value:24,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"牌号\",name:\"NUMBERPLATE\",value:25,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"合同号\",name:\"CONTRACTNO\",value:26,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"报关单号\",name:\"CUSTOMNO\",value:27,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"通关日期\",name:\"CUSTOMDATE\",value:28,type:\"sdate\",remark:\"\"},"
|
|
+ "{title:\"报检\",name:\"INSPECTION\",value:29,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"报检单号\",name:\"INSPECTIONNO\",value:30,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"免箱期\",name:\"FBP\",value:31,type:\"sdate\",remark:\"\"},"
|
|
+ "{title:\"箱使到期日期\",name:\"BMDDATE\",value:32,type:\"sdate\",remark:\"\"},"
|
|
+ "{title:\"搬倒日期\",name:\"MDTDATE\",value:33,type:\"sdate\",remark:\"\"},"
|
|
+ "{title:\"凭证号\",name:\"VOUNO\",value:34,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"贸易代理\",name:\"TRADINGAGENCY\",value:35,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"贸易类型\",name:\"TRADETYPE\",value:36,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"品名类型名称\",name:\"GOODSTYPENAME\",value:37,type:\"str\",remark:\"\"},"
|
|
+ "{title:\"委托单位\",name:\"customername\",value:38,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\":\">\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1},"
|
|
+ "{\"name\":\"小于\",\"value\":6,\"code\":\"<\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1},"
|
|
+ "{\"name\":\"大于或等于\",\"value\":7,\"code\":\">=\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1},"
|
|
+ "{\"name\":\"小于或等于\",\"value\":8,\"code\":\"<=\",\"str\":0,\"int\":1,\"bool\":0,\"sdate\":1}"
|
|
+ "]}"; |