|
@@ -169,9 +169,9 @@ const billsGuidance = (function () {
|
|
|
},
|
|
|
{
|
|
|
width: 40,
|
|
|
- readOnly: locked,
|
|
|
+ readOnly: true,
|
|
|
head: {
|
|
|
- titleNames: ["单位"],
|
|
|
+ titleNames: ["输出特征"],
|
|
|
spanCols: [1],
|
|
|
spanRows: [1],
|
|
|
vAlign: [1],
|
|
@@ -179,18 +179,17 @@ const billsGuidance = (function () {
|
|
|
font: ["Arial"]
|
|
|
},
|
|
|
data: {
|
|
|
- field: "unit",
|
|
|
+ field: "outputItemCharacter",
|
|
|
vAlign: 1,
|
|
|
hAlign: 1,
|
|
|
- font: "Arial",
|
|
|
- formatter: "@"
|
|
|
+ font: "Arial"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- width: 80,
|
|
|
- readOnly: locked,
|
|
|
+ width: 30,
|
|
|
+ readOnly: true,
|
|
|
head: {
|
|
|
- titleNames: ["区间"],
|
|
|
+ titleNames: ["必填"],
|
|
|
spanCols: [1],
|
|
|
spanRows: [1],
|
|
|
vAlign: [1],
|
|
@@ -198,18 +197,17 @@ const billsGuidance = (function () {
|
|
|
font: ["Arial"]
|
|
|
},
|
|
|
data: {
|
|
|
- field: "interval",
|
|
|
+ field: "required",
|
|
|
vAlign: 1,
|
|
|
hAlign: 1,
|
|
|
- font: "Arial",
|
|
|
- formatter: "@"
|
|
|
+ font: "Arial"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- width: 40,
|
|
|
+ width: 30,
|
|
|
readOnly: true,
|
|
|
head: {
|
|
|
- titleNames: ["输出特征"],
|
|
|
+ titleNames: ["材料"],
|
|
|
spanCols: [1],
|
|
|
spanRows: [1],
|
|
|
vAlign: [1],
|
|
@@ -217,7 +215,7 @@ const billsGuidance = (function () {
|
|
|
font: ["Arial"]
|
|
|
},
|
|
|
data: {
|
|
|
- field: "outputItemCharacter",
|
|
|
+ field: "isMaterial",
|
|
|
vAlign: 1,
|
|
|
hAlign: 1,
|
|
|
font: "Arial"
|
|
@@ -227,7 +225,7 @@ const billsGuidance = (function () {
|
|
|
width: 30,
|
|
|
readOnly: true,
|
|
|
head: {
|
|
|
- titleNames: ["必填"],
|
|
|
+ titleNames: ["默认"],
|
|
|
spanCols: [1],
|
|
|
spanRows: [1],
|
|
|
vAlign: [1],
|
|
@@ -235,17 +233,17 @@ const billsGuidance = (function () {
|
|
|
font: ["Arial"]
|
|
|
},
|
|
|
data: {
|
|
|
- field: "required",
|
|
|
+ field: "isDefaultOption",
|
|
|
vAlign: 1,
|
|
|
hAlign: 1,
|
|
|
font: "Arial"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- width: 30,
|
|
|
- readOnly: true,
|
|
|
+ width: 40,
|
|
|
+ readOnly: locked,
|
|
|
head: {
|
|
|
- titleNames: ["材料"],
|
|
|
+ titleNames: ["单位"],
|
|
|
spanCols: [1],
|
|
|
spanRows: [1],
|
|
|
vAlign: [1],
|
|
@@ -253,17 +251,18 @@ const billsGuidance = (function () {
|
|
|
font: ["Arial"]
|
|
|
},
|
|
|
data: {
|
|
|
- field: "isMaterial",
|
|
|
+ field: "unit",
|
|
|
vAlign: 1,
|
|
|
hAlign: 1,
|
|
|
- font: "Arial"
|
|
|
+ font: "Arial",
|
|
|
+ formatter: "@"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- width: 30,
|
|
|
- readOnly: true,
|
|
|
+ width: 80,
|
|
|
+ readOnly: locked,
|
|
|
head: {
|
|
|
- titleNames: ["默认"],
|
|
|
+ titleNames: ["区间"],
|
|
|
spanCols: [1],
|
|
|
spanRows: [1],
|
|
|
vAlign: [1],
|
|
@@ -271,22 +270,23 @@ const billsGuidance = (function () {
|
|
|
font: ["Arial"]
|
|
|
},
|
|
|
data: {
|
|
|
- field: "isDefaultOption",
|
|
|
+ field: "interval",
|
|
|
vAlign: 1,
|
|
|
hAlign: 1,
|
|
|
- font: "Arial"
|
|
|
+ font: "Arial",
|
|
|
+ formatter: "@"
|
|
|
}
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
headers: [
|
|
|
{name: '项目指引', dataCode: 'name', width: 400, vAlign: 'center', hAlign: 'left', formatter: '@'},
|
|
|
- {name: '单位', dataCode: 'unit', width: 40, vAlign: 'center', hAlign: 'center', formatter: '@'},
|
|
|
- {name: '区间', dataCode: 'interval', width: 80, vAlign: 'center', hAlign: 'center', formatter: '@'},
|
|
|
{name: '输出特征', dataCode: 'outputItemCharacter', width: 40, vAlign: 'center', hAlign: 'center'},
|
|
|
{name: '必填', dataCode: 'required', width: 30, vAlign: 'center', hAlign: 'center'},
|
|
|
{name: '材料', dataCode: 'isMaterial', width: 30, vAlign: 'center', hAlign: 'center'},
|
|
|
{name: '默认', dataCode: 'isDefaultOption', width: 30, vAlign: 'center', hAlign: 'center'},
|
|
|
+ {name: '单位', dataCode: 'unit', width: 40, vAlign: 'center', hAlign: 'center', formatter: '@'},
|
|
|
+ {name: '区间', dataCode: 'interval', width: 80, vAlign: 'center', hAlign: 'center', formatter: '@'},
|
|
|
],
|
|
|
events: {
|
|
|
SelectionChanged: function (sender, info) {
|
|
@@ -303,6 +303,9 @@ const billsGuidance = (function () {
|
|
|
},
|
|
|
CellDoubleClick: function(sender, args) {
|
|
|
locateAtRation(args.row);
|
|
|
+ },
|
|
|
+ EnterCell: function(sender, args) {
|
|
|
+ console.log(args.row);
|
|
|
}
|
|
|
}
|
|
|
};
|
|
@@ -568,6 +571,7 @@ const billsGuidance = (function () {
|
|
|
sheet.getRange(-1, 1, -1, -1).locked(true);
|
|
|
}
|
|
|
else if(module === guideItem){
|
|
|
+ sheet.name('stdBillsGuidance_guidance');
|
|
|
sheetCommonObj.bindEscKey(module.workBook, [{sheet: sheet, editStarting: null, editEnded: module.events.EditEnded}]);
|
|
|
}
|
|
|
else if (module === billMaterial) {
|
|
@@ -949,8 +953,9 @@ const billsGuidance = (function () {
|
|
|
.css("border", "1px #C0C0C0 solid")
|
|
|
.css("box-shadow", "1px 2px 5px rgba(0,0,0,0.4)")
|
|
|
.css("font", "0.9rem Calibri")
|
|
|
- .css("background", "white")
|
|
|
.css("padding", 5)
|
|
|
+ .css("background", '#303133')
|
|
|
+ .css("color", '#fff')
|
|
|
.attr("id", 'autoTip1');
|
|
|
$(div).hide();
|
|
|
document.body.insertBefore(div, null);
|