|
@@ -25,7 +25,7 @@ let projFeatureView = {
|
|
|
{row: 3, key: 'baseType', items: ['带基', '框排架柱距6m以内', '框排架柱距6m以外', '满基筏式', '满基板式', '满基箱式', '独立基础']},
|
|
|
{row: 4, key: 'buildingFeature', items: ['点式', '凹式', '凸式', 'Y式', '其他']}
|
|
|
],
|
|
|
- numRows: [5, 6, 7, 8, 9, 10, 11, 12, 13, 14],
|
|
|
+ numRows: [5, 6, 7, 8, 9, 10, 11, 12, 13],
|
|
|
dateRows: [],
|
|
|
locked: {
|
|
|
rows: [0],
|
|
@@ -136,7 +136,7 @@ let projFeatureView = {
|
|
|
if(me.setting.numRows.indexOf(args.row) !== -1){//控制数值
|
|
|
if(!me.isNum(v)){
|
|
|
alert('只能输入数值');
|
|
|
- args.sheet.setValue(args.row, args.col, me.datas[args.row].value ? me.datas[args.row].value : '');
|
|
|
+ args.sheet.setValue(args.row, args.col, me.datas[args.row].value && me.isNum(me.datas[args.row].value) ? me.datas[args.row].value : '');
|
|
|
}
|
|
|
}
|
|
|
me.datas[args.row].value = v;
|
|
@@ -402,10 +402,4 @@ $(document).ready(function () {
|
|
|
$('#tab_poj-settings-projFeature').on('shown.bs.tab', function () {
|
|
|
projFeatureView.workBook.refresh();
|
|
|
});
|
|
|
-
|
|
|
- /*$('#property_ok').bind('click', function () {
|
|
|
- if(projFeatureView.toUpdate(projFeatureView.orgDatas, projFeatureView.datas)){
|
|
|
- projFeatureView.a_updateInfo(projFeatureView.toSaveDatas(projFeatureView.datas));
|
|
|
- }
|
|
|
- });*/
|
|
|
});
|