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.
DS7/DSWeb/UserSettings/UserGridSource/TemplateOpSeaeGrid.js

68 lines
9.2 KiB
JavaScript

var tempJson = "";
tempJson = "{items:["
+ "{title:\"BSNO\",name:\"BSNO\",index:0,type:\"str\",width:0,sort:\"na\",remark:\"\",gtype:\"na\",align:\"center\",pk:1,close:0},"
+ "{title:\"checkbox\",name:\"checkboxs\",index:1,type:\"str\",width:0,sort:\"na\",remark:\"\",gtype:\"ch\",align:\"center\",pk:0,close:0},"
+ "{title:\"业务状态\",name:\"bsstatus\",index:2,type:\"bool\",width:70,sort:\"bsstatus\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"费用状态\",name:\"feestatus\",index:3,type:\"bool\",width:70,sort:\"feestatus\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"委托方式\",name:\"ordertype\",index:4,type:\"str\",width:70,sort:\"ordertype\",remark:\"\",gtype:\"ro\",align:\"left\",pk:0,close:0},"
+ "{title:\"录入人\",name:\"inputby\",index:5,type:\"str\",width:120,sort:\"inputby\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"录入日期\",name:\"bsdate\",index:6,type:\"sdate\",width:120,sort:\"bsdate\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"船名\",name:\"vessel\",index:7,type:\"str\",width:120,sort:\"vessel\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"航次\",name:\"voyno\",index:8,type:\"str\",width:120,sort:\"voyno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"主提单号\",name:\"mblno\",index:7,type:\"str\",width:120,sort:\"mblno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"开船日期\",name:\"etd\",index:8,type:\"sdate\",width:120,sort:\"etd\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"发货人\",name:\"shipperid\",index:9,type:\"str\",width:120,sort:\"shipperid\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"委托单位\",name:\"customername\",index:10,type:\"str\",width:120,sort:\"customername\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"集装箱\",name:\"cntrtotal\",index:11,type:\"str\",width:120,sort:\"cntrtotal\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"订舱代理\",name:\"forwarder\",index:12,type:\"str\",width:120,sort:\"forwarder\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"揽货人\",name:\"sale\",index:13,type:\"str\",width:120,sort:\"\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"操作\",name:\"op\",index:14,type:\"str\",width:120,sort:\"op\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"单证\",name:\"doc\",index:15,type:\"str\",width:120,sort:\"doc\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"客服\",name:\"custservice\",index:16,type:\"str\",width:120,sort:\"\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"航线\",name:\"lane\",index:17,type:\"str\",width:120,sort:\"lane\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"装货港\",name:\"portload\",index:18,type:\"str\",width:120,sort:\"portload\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"卸货港\",name:\"portdischarge\",index:19,type:\"str\",width:120,sort:\"portdischarge\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"交货地\",name:\"placedelivery\",index:20,type:\"str\",width:120,sort:\"placedelivery\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"目的地\",name:\"destination\",index:21,type:\"str\",width:120,sort:\"destination\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"会计期间\",name:\"accdate\",index:22,type:\"sdate\",width:120,sort:\"accdate\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"分提单号\",name:\"hblno\",index:23,type:\"str\",width:120,sort:\"hblno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"委托编号\",name:\"custno\",index:24,type:\"str\",width:120,sort:\"custno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"运单号\",name:\"transno\",index:25,type:\"str\",width:120,sort:\"transno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"装运方式\",name:\"bltype\",index:26,type:\"str\",width:120,sort:\"bltype\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"场站\",name:\"yard\",index:27,type:\"str\",width:120,sort:\"yard\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"截港日期\",name:\"closingdate\",index:28,type:\"sdate\",width:120,sort:\"closingdate\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"预抵日期\",name:\"eta\",index:29,type:\"sdate\",width:120,sort:\"eta\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"运输条款\",name:\"service\",index:30,type:\"str\",width:120,sort:\"service\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"品名\",name:\"goodsname\",index:31,type:\"str\",width:120,sort:\"goodsname\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"货物毛重\",name:\"kgs\",index:32,type:\"str\",width:120,sort:\"kgs\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"货物尺码\",name:\"cbm\",index:33,type:\"str\",width:120,sort:\"kgs\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"件数\",name:\"pkgs\",index:34,type:\"str\",width:120,sort:\"pkgs\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"包装\",name:\"kindpkgs\",index:35,type:\"str\",width:120,sort:\"kindpkgs\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"箱TEU\",name:\"teu\",index:36,type:\"str\",width:120,sort:\"teu\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"船公司\",name:\"carrier\",index:37,type:\"str\",width:120,sort:\"carrier\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"报关行\",name:\"customser\",index:38,type:\"str\",width:120,sort:\"customser\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"承运车队\",name:\"trucker\",index:39,type:\"str\",width:120,sort:\"trucker\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"发票号\",name:\"invno\",index:40,type:\"str\",width:120,sort:\"invno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"业务来源\",name:\"bssource\",index:41,type:\"str\",width:120,sort:\"bssource\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"来源明细\",name:\"bssourcedetail\",index:42,type:\"str\",width:120,sort:\"bssourcedetail\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"订舱类型\",name:\"ordtype\",index:43,type:\"str\",width:120,sort:\"ordtype\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"订舱编号\",name:\"orderno\",index:44,type:\"str\",width:120,sort:\"orderno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"装箱类型\",name:\"packingtype\",index:45,type:\"str\",width:120,sort:\"packingtype\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"仓库\",name:\"warehouse\",index:46,type:\"str\",width:120,sort:\"warehouse\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"截单日期\",name:\"closedocdate\",index:47,type:\"str\",width:120,sort:\"closedocdate\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"集港日期\",name:\"intoportdate\",index:48,type:\"str\",width:120,sort:\"intoportdate\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"其他箱型\",name:\"otcntr\",index:49,type:\"str\",width:120,sort:\"otcntr\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0},"
+ "{title:\"收货人\",name:\"consigneeid\",index:50,type:\"str\",width:120,sort:\"consigneeid\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"发货人内容\",name:\"shipper\",index:51,type:\"str\",width:120,sort:\"shipper\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"收货人内容\",name:\"consignee\",index:52,type:\"str\",width:120,sort:\"consignee\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"国外代理\",name:\"agentid\",index:53,type:\"str\",width:120,sort:\"agentid\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"箱号\",name:\"cntrsealno\",index:54,type:\"str\",width:120,sort:\"cntrsealno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"订舱公司\",name:\"forwarder\",index:55,type:\"str\",width:120,sort:\"forwarder\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"保险单号\",name:\"insuranceno\",index:56,type:\"str\",width:120,sort:\"insuranceno\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"是否生成凭证\",name:\"isvou\",index:57,type:\"bool\",width:120,sort:\"isvou\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"分公司代码\",name:\"corpid\",index:58,type:\"str\",width:120,sort:\"corpid\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"所属部门\",name:\"saledept\",index:59,type:\"str\",width:120,sort:\"saledept\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:1},"
+ "{title:\"状态管理\",name:\"OPSTATUS\",index:60,type:\"str\",width:100,sort:\"OPSTATUS\",remark:\"\",gtype:\"ro\",align:\"center\",pk:0,close:0}"
+ "]}";