cript>
<script src="../../js/common.js" charset="utf-8"></script>
<script>
    layui.use(['form'], function () {
        var form = layui.form,
            layer = layui.layer,
            $ = layui.$,
			parentIndex = layer.index,
			appId = localStorage.getItem('appId_' + parent.layui.$("#userName").val());
		
		$("#appId2").val(appId);
		
		initBranch(form, $, appId);
		
        form.on('submit(saveBtn)', function(data) {
			$.ajax({
				url: '/app/branch/add',
				type: 'POST',
				dataType: "json",
			