|
|
@@ -12,7 +12,7 @@
|
|
12
|
12
|
<a href-void class="btn btn-default btn-xs" ng-click="retList()">
|
|
13
|
13
|
<i class="fa fa-angle-left"></i> 返回
|
|
14
|
14
|
</a>
|
|
15
|
|
- <strong>入库结算详情</strong>
|
|
|
15
|
+ <strong>{{top_title}}</strong>
|
|
16
|
16
|
<span class="pull-right font-xs">带*的部分必须填写</span>
|
|
17
|
17
|
</header>
|
|
18
|
18
|
|
|
|
@@ -22,7 +22,7 @@
|
|
22
|
22
|
<section class="col col-4">
|
|
23
|
23
|
<label class="label">合同信息<span style="color: red;">*</span></label>
|
|
24
|
24
|
<label class="select">
|
|
25
|
|
- <select ng-model="jsgl.htid" ng-disabled="isNotEdit" name="htid"
|
|
|
25
|
+ <select ng-model="jsgl.htid" ng-disabled="isEdit" name="htid"
|
|
26
|
26
|
ng-options="enum.enumid as enum.enumname for enum in dicDataList[5498]" required >
|
|
27
|
27
|
<option value="">--请选择合同--</option><i></i>
|
|
28
|
28
|
</select><i></i>
|
|
|
@@ -47,7 +47,7 @@
|
|
47
|
47
|
<section class="col col-4">
|
|
48
|
48
|
<label class="label">仓房名称<span style="color: red;">*</span></label>
|
|
49
|
49
|
<label class="select">
|
|
50
|
|
- <select ng-model="jsgl.houseId" ng-disabled="isNotEdit" name="houseId"
|
|
|
50
|
+ <select ng-model="jsgl.houseId" ng-disabled="true" name="houseId" ng-change="loadWare(jsgl.houseId)"
|
|
51
|
51
|
ng-options="store.storehouseId as store.storehouseName for store in store_tank_list" required >
|
|
52
|
52
|
<option value="">--请选择--</option><i></i>
|
|
53
|
53
|
</select><i></i>
|
|
|
@@ -56,8 +56,8 @@
|
|
56
|
56
|
<section class="col col-4">
|
|
57
|
57
|
<label class="label">货位名称<span style="color: red;">*</span></label>
|
|
58
|
58
|
<label class="select">
|
|
59
|
|
- <select ng-model="jsgl.warehouseId" ng-disabled="isNotEdit" name="warehouseId"
|
|
60
|
|
- ng-options="ware.warehouseId as ware.warehouseName for ware in warelist" required >
|
|
|
59
|
+ <select ng-model="jsgl.warehouseId" ng-disabled="true" name="warehouseId"
|
|
|
60
|
+ ng-options="ware.warehouseId as ware.warehouseName for ware in warehouseList" required >
|
|
61
|
61
|
<option value="">--请选择--</option><i></i>
|
|
62
|
62
|
</select><i></i>
|
|
63
|
63
|
</label>
|
|
|
@@ -65,8 +65,8 @@
|
|
65
|
65
|
<section class="col col-4">
|
|
66
|
66
|
<label class="label">粮油品种<span style="color: red;">*</span></label>
|
|
67
|
67
|
<label class="select">
|
|
68
|
|
- <select ng-model="jsgl.lypz" ng-disabled="isNotEdit" name="lypz"
|
|
69
|
|
- ng-options="ware.warehouseId as ware.warehouseName for ware in warelist" required >
|
|
|
68
|
+ <select ng-model="jsgl.lypz" ng-disabled="true" name="lypz" ng-change="getMxpz()"
|
|
|
69
|
+ ng-options="enum.enumid as enum.enumname for enum in dicDataList[1061]" required >
|
|
70
|
70
|
<option value="">--请选择--</option><i></i>
|
|
71
|
71
|
</select><i></i>
|
|
72
|
72
|
</label>
|
|
|
@@ -118,11 +118,23 @@
|
|
118
|
118
|
<section class="col col-4">
|
|
119
|
119
|
<label class="label">本次结算时间<span style="color: red;">*</span></label>
|
|
120
|
120
|
<label class="input">
|
|
121
|
|
- <input type="text" ng-model="jsgl.bcjssl" ng-readonly="isNotEdit" required
|
|
|
121
|
+ <input type="text" ng-model="jsgl.bcjssj" ng-readonly="isNotEdit" required
|
|
122
|
122
|
name="yjssl" placeholder="" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
|
|
123
|
123
|
</label>
|
|
124
|
124
|
</section>
|
|
125
|
125
|
</div>
|
|
|
126
|
+ <div class="row">
|
|
|
127
|
+ <section class="col col-4">
|
|
|
128
|
+ <label class="label">本次结算方式<span style="color: red;">*</span></label>
|
|
|
129
|
+ <label class="select">
|
|
|
130
|
+ <select ng-model="jsgl.bcjsfs" ng-disabled="isNotEdit" name="bcjsfs" required >
|
|
|
131
|
+ <option value="">--请选择--</option>
|
|
|
132
|
+ <option value="0">现金</option>
|
|
|
133
|
+ <option value="1">转账</option>
|
|
|
134
|
+ </select>
|
|
|
135
|
+ </label>
|
|
|
136
|
+ </section>
|
|
|
137
|
+ </div>
|
|
126
|
138
|
</fieldset>
|
|
127
|
139
|
<header><strong>发票信息</strong></header>
|
|
128
|
140
|
<fieldset>
|
|
|
@@ -130,22 +142,44 @@
|
|
130
|
142
|
<section class="col col-12">
|
|
131
|
143
|
<label class="label">连续发票号码填写<span style="color: red;">*</span></label>
|
|
132
|
144
|
<label class="input">
|
|
133
|
|
- <input type="text" ng-model="jsgl.fpStart" ng-readonly="isNotEdit" required
|
|
134
|
|
- name="fpStart" placeholder="" />
|
|
135
|
|
- </label>——
|
|
136
|
|
- <label class="input">
|
|
137
|
|
- <input type="text" ng-model="jsgl.fpEnd" ng-readonly="isNotEdit" required
|
|
138
|
|
- name="fpEnd" /><span style="color: red;">说明:连续发票号码,请填写第一张和最后一张即可</span>
|
|
|
145
|
+ <div>
|
|
|
146
|
+ <table border="0">
|
|
|
147
|
+ <tr>
|
|
|
148
|
+ <td>
|
|
|
149
|
+ <input type="text" ng-model="jsgl.fpStart" ng-readonly="isNotEdit" required name="fpStart" placeholder="" />
|
|
|
150
|
+ </td>
|
|
|
151
|
+ <td><span> —— </span></td>
|
|
|
152
|
+ <td>
|
|
|
153
|
+ <input type="text" ng-model="jsgl.fpEnd" ng-readonly="isNotEdit" required name="fpEnd" />
|
|
|
154
|
+ </td>
|
|
|
155
|
+ <td><span style="color: red;"> 说明:连续发票号码,请填写第一张和最后一张即可</span></td>
|
|
|
156
|
+ </tr>
|
|
|
157
|
+ </table>
|
|
|
158
|
+ </div>
|
|
139
|
159
|
</label>
|
|
140
|
160
|
</section>
|
|
141
|
161
|
</div>
|
|
142
|
162
|
<section>
|
|
143
|
163
|
<label class="label">发票号码填写</label>
|
|
144
|
|
- <label class="textarea"> <textarea
|
|
145
|
|
- rows="5" ng-model="drugInfo.cctj" name="cctj" ng-disabled="issyz"
|
|
146
|
|
- oninput="if(value.length>255) value=value.slice(0,255)" placeholder="多个发票号码填写,请用英文近号进行间隔。例如:1234567890,123456788"></textarea>
|
|
|
164
|
+ <label class="textarea textarea-resizable">
|
|
|
165
|
+ <textarea
|
|
|
166
|
+ rows="5" ng-model="drugInfo.cctj" name="cctj" ng-disabled="issyz" class="custom-scroll"
|
|
|
167
|
+ oninput="if(value.length>255) value=value.slice(0,255)" placeholder="多个发票号码填写,请用英文近号进行间隔。例如:1234567890,123456788,最大255个字符">
|
|
|
168
|
+ </textarea>
|
|
147
|
169
|
</label>
|
|
148
|
170
|
</section>
|
|
|
171
|
+ <div class="row">
|
|
|
172
|
+ <section class="col col-4">
|
|
|
173
|
+ <label class="label">发票状态</label>
|
|
|
174
|
+ <label class="select">
|
|
|
175
|
+ <select ng-model="jsgl.fpzt" ng-disabled="isNotEdit" name="fpzt">
|
|
|
176
|
+ <option value="">--请选择--</option>
|
|
|
177
|
+ <option value="0">作废</option>
|
|
|
178
|
+ <option value="1">正常</option>
|
|
|
179
|
+ </select>
|
|
|
180
|
+ </label>
|
|
|
181
|
+ </section>
|
|
|
182
|
+ </div>
|
|
149
|
183
|
</fieldset>
|
|
150
|
184
|
<header><strong>收付款信息</strong></header>
|
|
151
|
185
|
<fieldset>
|
|
|
@@ -153,21 +187,21 @@
|
|
153
|
187
|
<section class="col col-4">
|
|
154
|
188
|
<label class="label">收付款人<span style="color: red;">*</span></label>
|
|
155
|
189
|
<label class="input">
|
|
156
|
|
- <input class="form-control" type="text" ng-model="jsgl.sfkr" ng-readonly="isNotEdit"
|
|
|
190
|
+ <input class="form-control" type="text" ng-model="jsgl.sfkr" ng-readonly="true"
|
|
157
|
191
|
name="sfkr" placeholder="" required />
|
|
158
|
192
|
</label>
|
|
159
|
193
|
</section>
|
|
160
|
194
|
<section class="col col-4">
|
|
161
|
195
|
<label class="label">开户行名称<span style="color: red;">*</span></label>
|
|
162
|
196
|
<label class="input">
|
|
163
|
|
- <input class="form-control" type="text" ng-model="jsgl.khhmc" ng-readonly="isNotEdit"
|
|
|
197
|
+ <input class="form-control" type="text" ng-model="jsgl.khhmc" ng-readonly="true"
|
|
164
|
198
|
name="khhmc" placeholder="" required />
|
|
165
|
199
|
</label>
|
|
166
|
200
|
</section>
|
|
167
|
201
|
<section class="col col-4">
|
|
168
|
202
|
<label class="label">开户行号<span style="color: red;">*</span></label>
|
|
169
|
203
|
<label class="input">
|
|
170
|
|
- <input type="text" ng-model="jsgl.khhh" ng-readonly="isNotEdit" required
|
|
|
204
|
+ <input type="text" ng-model="jsgl.khhh" ng-readonly="true" required
|
|
171
|
205
|
name="khhh" placeholder="" />
|
|
172
|
206
|
</label>
|
|
173
|
207
|
</section>
|
|
|
@@ -176,22 +210,20 @@
|
|
176
|
210
|
<section class="col col-4">
|
|
177
|
211
|
<label class="label">银行账号<span style="color: red;">*</span></label>
|
|
178
|
212
|
<label class="input">
|
|
179
|
|
- <input class="form-control" type="text" ng-model="jsgl.yhzh" ng-readonly="isNotEdit"
|
|
|
213
|
+ <input class="form-control" type="text" ng-model="jsgl.yhzh" ng-readonly="true"
|
|
180
|
214
|
name="yhzh" placeholder="" required />
|
|
181
|
215
|
</label>
|
|
182
|
216
|
</section>
|
|
183
|
|
- <section class="col col-4">
|
|
|
217
|
+ <section class="col col-4" ng-hide="jslx=='1'">
|
|
184
|
218
|
<label class="label">收款人身份证号</label>
|
|
185
|
219
|
<label class="input">
|
|
186
|
|
- <input class="form-control" type="text" ng-model="jsgl.skrsfzh" ng-readonly="isNotEdit"
|
|
187
|
|
- name="skrsfzh" placeholder="" />
|
|
|
220
|
+ <input class="form-control" type="text" ng-model="jsgl.skrsfzh" ng-readonly="true" name="skrsfzh" placeholder="" />
|
|
188
|
221
|
</label>
|
|
189
|
222
|
</section>
|
|
190
|
|
- <section class="col col-4">
|
|
|
223
|
+ <section class="col col-4" ng-hide="jslx=='1'">
|
|
191
|
224
|
<label class="label">付款单位<span style="color: red;">*</span></label>
|
|
192
|
225
|
<label class="input">
|
|
193
|
|
- <input type="text" ng-model="jsgl.fkdw" ng-readonly="isNotEdit" required
|
|
194
|
|
- name="fkdw" placeholder="" />
|
|
|
226
|
+ <input type="text" ng-model="jsgl.fkdw" name="fkdw" ng-readonly="isNotEdit" required placeholder="" />
|
|
195
|
227
|
</label>
|
|
196
|
228
|
</section>
|
|
197
|
229
|
</div>
|
|
|
@@ -199,9 +231,9 @@
|
|
199
|
231
|
|
|
200
|
232
|
<div><!--class="form-actions"-->
|
|
201
|
233
|
<footer class="text-align-center">
|
|
202
|
|
- <button type="button" class="btn btn-primary" ng-hide="isNotEdit" ng-click="save('0')">保存</button>
|
|
203
|
|
- <button type="button" class="btn btn-primary" ng-hide="isNotEdit" ng-click="save('1')">提交</button>
|
|
204
|
234
|
<button type="button" class="btn btn-default" ng-click="retList()">取消</button>
|
|
|
235
|
+ <button type="button" class="btn btn-primary" ng-hide="isNotEdit" ng-click="save('1')">提交</button>
|
|
|
236
|
+ <button type="button" class="btn btn-primary" ng-hide="isNotEdit" ng-click="save('0')">保存</button>
|
|
205
|
237
|
</footer>
|
|
206
|
238
|
</div>
|
|
207
|
239
|
</form>
|