| | |
| | | layui.use(['form', 'layedit', 'upload'], function() {
|
| | | var form = layui.form
|
| | | form.on('select(hc_select)', function(data) { //选择移交单位 赋值给input框
|
| | | $("#nickName").val(data.value);
|
| | | $("#nickName").val($("#hc_select").find("option:selected").text());
|
| | | $("#hc_select").next().find("dl").css({
|
| | | "display": "none"
|
| | | });
|
| | |
| | | });
|
| | |
|
| | | form.on('select(hc_select2)', function(data) { //选择移交单位 赋值给input框
|
| | | $("#nickName2").val(data.value);
|
| | | $("#nickName2").val($("#hc_select2").find("option:selected").text());
|
| | | $("#hc_select2").next().find("dl").css({
|
| | | "display": "none"
|
| | | });
|
| | |
| | | });
|
| | |
|
| | | form.on('select(hc_select3)', function(data) { //选择移交单位 赋值给input框
|
| | | $("#nickName3").val(data.value);
|
| | | $("#nickName3").val($("#hc_select3").find("option:selected").text());
|
| | | $("#hc_select3").next().find("dl").css({
|
| | | "display": "none"
|
| | | });
|