|
|
@ -98,33 +98,6 @@ |
|
|
|
$("#techlevel_name").val(rows.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
//formABC分类下拉框 |
|
|
|
$.combobox({ |
|
|
|
id : 'abcclass_uuid', |
|
|
|
url : 'wdk?action=wdk.pub&method=call_service&ajaxparam=' |
|
|
|
+ new Date().getTime(), |
|
|
|
queryParams : { |
|
|
|
_SRVNAME : 'server.em.equipment', |
|
|
|
_SRVMETHOD : 'queryAbcClass', |
|
|
|
_DATA : $.json2str({ |
|
|
|
accountId :$.getSessionUser() |
|
|
|
}), |
|
|
|
_RSFIELD : 'result' |
|
|
|
}, |
|
|
|
required : false, |
|
|
|
editable:false, |
|
|
|
multiple:false, |
|
|
|
panelHeight:'auto', |
|
|
|
initvalue:'', |
|
|
|
height:25, |
|
|
|
idField:'id', |
|
|
|
textField:'text', |
|
|
|
tipPosition:'bottom', |
|
|
|
onSelect:function(rows){ |
|
|
|
$("#abcclass_code").val(rows.code); |
|
|
|
$("#abcclass_name").val(rows.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
//form设备类型下拉框 |
|
|
|
$.combobox({ |
|
|
|
id : 'devicetype_uuid', |
|
|
@ -419,8 +392,6 @@ |
|
|
|
<input type="hidden" id="devicetype_name" name="devicetype_name" value="" /> |
|
|
|
<input type="hidden" id="deviceclass_code" name="deviceclass_code" value="" /> |
|
|
|
<input type="hidden" id="deviceclass_name" name="deviceclass_name" value="" /> |
|
|
|
<input type="hidden" id="abcclass_code" name="abcclass_code" value="" /> |
|
|
|
<input type="hidden" id="abcclass_name" name="abcclass_name" value="" /> |
|
|
|
<input type="hidden" id="techlevel_code" name="techlevel_code" value="" /> |
|
|
|
<input type="hidden" id="techlevel_name" name="techlevel_name" value="" /> |
|
|
|
<input type="hidden" id="belong_ids" name="belong_ids" /> |
|
|
@ -568,12 +539,6 @@ |
|
|
|
</div> |
|
|
|
<div class="h_layout"> |
|
|
|
<div> |
|
|
|
<div class="inputgroup"> |
|
|
|
<label >ABC分类:</label> |
|
|
|
<div> |
|
|
|
<input id="abcclass_uuid" class="easyui-validatebox" name="abcclass_uuid"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="inputgroup"> |
|
|
|
<label>生产用途:</label> |
|
|
|
<div> |
|
|
@ -592,16 +557,16 @@ |
|
|
|
<input id="power_cap" class="easyui-validatebox" name="power_cap"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h_layout"> |
|
|
|
<div> |
|
|
|
<div class="inputgroup"> |
|
|
|
<label>日制度工作时间(h):</label> |
|
|
|
<div> |
|
|
|
<input id="worktime_hour" class="easyui-validatebox" name="worktime_hour"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h_layout"> |
|
|
|
<div> |
|
|
|
<div class="inputgroup"> |
|
|
|
<label>对应物料名称:</label> |
|
|
|
<div> |
|
|
@ -620,40 +585,37 @@ |
|
|
|
<input id="mcoefficient" class="easyui-validatebox nospaceinside nospaceinside" name="mcoefficient"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h_layout"> |
|
|
|
<div> |
|
|
|
<div class="inputgroup" > |
|
|
|
<label>电气复杂系数:</label> |
|
|
|
<div> |
|
|
|
<input id="ecoefficient" class="easyui-validatebox" name="ecoefficient"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h_layout"> |
|
|
|
<div> |
|
|
|
|
|
|
|
<div class="inputgroup" > |
|
|
|
<label class="required">归属类型:</label> |
|
|
|
<div> |
|
|
|
<input id="belong_type" class="easyui-validatebox nospaceinside" name="belong_type" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="inputgroup" > |
|
|
|
<label class="required">归属名称:</label> |
|
|
|
<div> |
|
|
|
<input id="belong_names" class="easyui-validatebox nospaceinside" name="belong_names" value="" readonly="readonly" onclick="alert21();"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h_layout"> |
|
|
|
<div> |
|
|
|
<div class="inputgroup2 "> |
|
|
|
<div class="inputgroup" > |
|
|
|
<label class="required">归属名称:</label> |
|
|
|
<div> |
|
|
|
<input id="belong_names" class="easyui-validatebox nospaceinside" name="belong_names" value="" readonly="readonly" onclick="alert21();"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="inputgroup2 "> |
|
|
|
<label >备注</label> |
|
|
|
<div> |
|
|
|
<input id="remark" class="easyui-validatebox nospaceinside" name="remark" data-options="validType:'length[0,1000]',tipPosition:'bottom'"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
|
|
|
|
</div> |
|
|
|