123456789101112131415161718192021222324252627282930313233343536 |
- /**
- * Created by Tony on 2017/4/28.
- */
- var params = {}
- $("#dinge").click(function(){
- $(this).attr('href', "/rationRepository/ration" + "?params=" + JSON.stringify(params))
- })
- $("#gongliao").click(function(){
- $(this).attr('href', "/rationRepository/gongliao" + "?params=" + JSON.stringify(params))
- });
- var rationOprObj = {
- sheet: null,
- setting: {
- header:[
- {headerName:"编码",headerWidth:120,data:"rationCode"},
- {headerName:"名称",headerWidth:400,data:"rationName"},
- {headerName:"单位",headerWidth:120,data:"unit"},
- {headerName:"基价",headerWidth:120,data:"basePrice"},
- {headerName:"显示名称(以%s表示参数)",headerWidth:450,data:"caption"},
- {headerName:"取费专业",headerWidth:120,data:"feeType"}
- ],
- view:{
- comboBox:[
- {row:-1,col:2,rowCount:-1,colCount:1}
- ],
- lockedCells:[
- {row:-1,col:3,rowCount:-1, colCount:1}
- ]
- }
- },
- buildSheet: function(container) {
- var me = this;
- me.sheet = sheetCommonObj.buildSheet(container, me.setting);
- }
- }
|