incomeAdd.html 5.2 KB
Newer Older
doc_wei's avatar
doc_wei 已提交
1 2 3 4 5 6 7
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
doc_wei's avatar
doc_wei 已提交
8
	<link href="../../assets/lib/winui/css/customer/voucherUtil.css" rel="stylesheet" />
doc_wei's avatar
doc_wei 已提交
9 10 11 12
</head>
<body>
	<div style="margin: 0 auto; padding: 20px;">
	    <form class="layui-form" action="" id="showForm">
13 14 15
			<div class="layui-form-item layui-col-xs12">
				<span class="hr-title">基本信息</span><hr>
			</div>
16
	        <div class="layui-form-item layui-col-xs6" style="height: 40px">
doc_wei's avatar
doc_wei 已提交
17
	            <label class="layui-form-label">往来单位<i class="red">*</i></label>
18 19 20 21 22 23 24
				<div class="layui-input-block" style="width: 80px">
					<select id="correspondentUnitType" lay-search win-verify="required" lay-filter="correspondentUnitType" style="width: 100px">
						<option value="1">供应商</option>
						<option value="2">客户</option>
					</select>
				</div>
	            <div class="layui-input-block" style="width: calc(100% - 220px); top: -40px; left: 85px;">
doc_wei's avatar
doc_wei 已提交
25 26 27 28 29 30 31 32 33 34
	                <input type="text" id="customName" name="customName" win-verify="required" placeholder="请选择往来单位" class="layui-input" readonly="readonly"/>
		            <i class="fa fa-plus-circle input-icon" id="customMationSel"></i>
	            </div>
	        </div>
	        <div class="layui-form-item layui-col-xs6">
	            <label class="layui-form-label">单据日期<i class="red">*</i></label>
	            <div class="layui-input-block">
	                <input type="text" id="operTime" name="operTime" win-verify="required" placeholder="请选择单据日期" class="layui-input"/>
	            </div>
	        </div>
doc_wei's avatar
doc_wei 已提交
35 36 37 38 39 40 41
			<div class="layui-form-item layui-col-xs6">
				<label class="layui-form-label">所属账套<i class="red">*</i></label>
				<div class="layui-input-block">
					<input type="text" id="setOfBooksName" name="setOfBooksName" win-verify="required" placeholder="请选择账套" class="layui-input" readonly="readonly"/>
					<i class="fa fa-plus-circle input-icon" id="chooseSetOfBooksBtn"></i>
				</div>
			</div>
doc_wei's avatar
doc_wei 已提交
42
			<div class="layui-form-item layui-col-xs6">
43
				<label class="layui-form-label">类型<i class="red">*</i></label>
doc_wei's avatar
doc_wei 已提交
44
				<div class="layui-input-block">
45
					<input type="text" id="orderType" name="orderType" win-verify="required" placeholder="请选择类型" class="layui-input" readonly="readonly"/>
doc_wei's avatar
doc_wei 已提交
46 47 48
					<i class="fa fa-plus-circle input-icon" id="chooseOrderTypeBtn"></i>
				</div>
			</div>
doc_wei's avatar
doc_wei 已提交
49 50 51 52 53 54 55 56
	        <div class="layui-form-item layui-col-xs12">
	            <label class="layui-form-label">列表项<i class="red">*</i></label>
	            <div class="layui-input-block">
	                <div class="winui-toolbar">
	                    <div class="winui-tool" style="text-align: left;">
	                        <button id="addRow" class="winui-toolbtn" type="button"><i class="fa fa-plus" aria-hidden="true"></i>新增行</button>
	                    </div>
	                </div>
doc_wei's avatar
doc_wei 已提交
57 58 59
					<div id="showVoucherUtilBox" style="overflow-x: auto;">

					</div>
doc_wei's avatar
doc_wei 已提交
60 61
	            </div>
	        </div>
doc_wei's avatar
doc_wei 已提交
62
	        <div class="layui-form-item layui-col-xs6">
doc_wei's avatar
doc_wei 已提交
63 64 65 66 67
	            <label class="layui-form-label">收款账户<i class="red">*</i></label>
	            <div class="layui-input-block">
	                <select id="accountId" lay-search win-verify="required"></select>
	            </div>
	        </div>
doc_wei's avatar
doc_wei 已提交
68
	        <div class="layui-form-item layui-col-xs12">
doc_wei's avatar
doc_wei 已提交
69 70 71 72 73 74 75 76 77 78 79 80
	            <label class="layui-form-label">经手人<i class="red">*</i></label>
	            <div class="layui-input-block">
	                <input type="text" id="handsPersonId" name="handsPersonId" win-verify="required" placeholder="请选择经手人员" class="layui-input" style="padding-right: 30px;"/>
		            <i class="fa fa-user-plus input-icon" id="toHandsPersonSelPeople"></i>
	            </div>
	        </div>
	        <div class="layui-form-item layui-col-xs12">
	            <label class="layui-form-label">备注</label>
	            <div class="layui-input-block">
	                <textarea id="remark" name="remark" placeholder="请输入备注" class="layui-textarea" style="height: 100px;" maxlength="200"></textarea>
	            </div>
	        </div>
81 82 83
			<div id="dsFormShow">

			</div>
doc_wei's avatar
doc_wei 已提交
84 85
	        <div class="layui-form-item layui-col-xs12">
	            <div class="layui-input-block">
doc_wei's avatar
doc_wei 已提交
86 87 88 89
					<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
					<button class="winui-btn" lay-submit lay-filter="formAddBean">保存为草稿</button>
					<button class="winui-btn submitTypeIsOne" lay-submit lay-filter="formSubOneBean">提交审批</button>
					<button class="winui-btn submitTypeIsTwo" lay-submit lay-filter="formSubTwoBean">提交</button>
doc_wei's avatar
doc_wei 已提交
90 91 92 93 94 95 96
	            </div>
	        </div>
	    </form>
	</div>
	
	<script src="../../assets/lib/layui/layui.js"></script>
	<script src="../../assets/lib/layui/custom.js"></script>
doc_wei's avatar
doc_wei 已提交
97 98
	<script src="../../assets/lib/layui/customer/voucher/spinbox.js"></script>
	<script src="../../assets/lib/layui/customer/voucher/voucherUtil.js"></script>
doc_wei's avatar
doc_wei 已提交
99 100 101 102 103
	<script type="text/javascript">
	    layui.config({base: '../../js/income/'}).use('incomeAdd');
	</script>
</body>
</html>