|
@@ -129,7 +129,7 @@ const billsGuidance = (function () {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- width: 60,
|
|
|
+ width: 40,
|
|
|
readOnly: true,
|
|
|
head: {
|
|
|
titleNames: ["输出特征"],
|
|
@@ -147,7 +147,7 @@ const billsGuidance = (function () {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- width: 50,
|
|
|
+ width: 40,
|
|
|
readOnly: true,
|
|
|
head: {
|
|
|
titleNames: ["必填"],
|
|
@@ -168,8 +168,8 @@ const billsGuidance = (function () {
|
|
|
},
|
|
|
headers: [
|
|
|
{name: '项目指引', dataCode: 'name', width: 400, vAlign: 'center', hAlign: 'left', formatter: '@'},
|
|
|
- {name: '输出特征', dataCode: 'outputItemCharacter', width: 60, vAlign: 'center', hAlign: 'center'},
|
|
|
- {name: '必填', dataCode: 'required', width: 50, vAlign: 'center', hAlign: 'center'},
|
|
|
+ {name: '输出特征', dataCode: 'outputItemCharacter', width: 40, vAlign: 'center', hAlign: 'center'},
|
|
|
+ {name: '必填', dataCode: 'required', width: 40, vAlign: 'center', hAlign: 'center'},
|
|
|
],
|
|
|
events: {
|
|
|
SelectionChanged: function (sender, info) {
|
|
@@ -301,6 +301,7 @@ const billsGuidance = (function () {
|
|
|
for(let i = 0, len = headers.length; i < len; i++){
|
|
|
sheet.setValue(0, i, headers[i].name, GC.Spread.Sheets.SheetArea.colHeader);
|
|
|
sheet.setColumnWidth(i, headers[i].width, GC.Spread.Sheets.SheetArea.colHeader);
|
|
|
+ sheet.getCell(0, i, GC.Spread.Sheets.SheetArea.colHeader).wordWrap(true);
|
|
|
if(headers[i].formatter){
|
|
|
sheet.setFormatter(-1, i, headers[i].formatter);
|
|
|
}
|