|
@@ -2,8 +2,8 @@
|
|
|
<div class="dj-card">
|
|
|
<div class="dj-body" activate-input activate-select>
|
|
|
<div class="card">
|
|
|
- <form class="form-horizontal" role="form" id="editForm"
|
|
|
- name="editForm" ng-submit="save(editForm.$valid)" novalidate>
|
|
|
+ <form class="form-horizontal" role="form" id="jljyxxyhdform"
|
|
|
+ name="jljyxxyhdform" ng-submit="save(jljyxxyhdform.$valid)" novalidate>
|
|
|
<div class="dj-formtable">
|
|
|
<table class="dj-table dj-table3">
|
|
|
<tr>
|
|
@@ -16,25 +16,25 @@
|
|
|
ng-disabled="true"/>
|
|
|
<span class="input-group-addon"><i class="material-icons">search</i></span>
|
|
|
</div>
|
|
|
- <span ng-show="this.editForm.dzzmc.$invalid && this.editForm.$submitted"
|
|
|
+ <span ng-show="this.jljyxxyhdform.dzzmc.$invalid && this.jljyxxyhdform.$submitted"
|
|
|
class="error">必填.</span>
|
|
|
</td>
|
|
|
<th>活动名称<span style="color:red;">*</span></th>
|
|
|
- <td ng-class="{ 'has-error' : this.editForm.hdmc.$invalid && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : this.jljyxxyhdform.hdmc.$invalid && this.jljyxxyhdform.$submitted}">
|
|
|
<input type="text" class="form-control" name="hdmc" autocomplete="off" autoclose="true"
|
|
|
ng-model="dataModel.hdmc" ng-required="true"/>
|
|
|
- <span ng-show="this.editForm.hdmc.$invalid && this.editForm.$submitted"
|
|
|
+ <span ng-show="this.jljyxxyhdform.hdmc.$invalid && this.jljyxxyhdform.$submitted"
|
|
|
class="error">必填.</span>
|
|
|
</td>
|
|
|
<th>日期<span style="color:red;">*</span></th>
|
|
|
- <td ng-class="{ 'has-error' : this.editForm.rq.$invalid && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : this.jljyxxyhdform.rq.$invalid && this.jljyxxyhdform.$submitted}">
|
|
|
<input name="rq" class="form-control"
|
|
|
autocomplete="off" autoclose="true"
|
|
|
data-date-format="yyyyMM" data-date-type="string"
|
|
|
data-min-view="1" data-start-view="1"
|
|
|
ng-model="dataModel.rq"
|
|
|
placeholder="" bs-datepicker ng-required="true"/>
|
|
|
- <span ng-show="this.editForm.rq.$invalid && this.editForm.$submitted"
|
|
|
+ <span ng-show="this.jljyxxyhdform.rq.$invalid && this.jljyxxyhdform.$submitted"
|
|
|
class="error">必填.</span>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -74,37 +74,37 @@
|
|
|
<tbody>
|
|
|
<tr ng-repeat="it in dataModel.fblist">
|
|
|
<td scope="row">{{$index+1}}</td>
|
|
|
- <td ng-class="{ 'has-error' : invalidFee($index, editForm, 'zdgz') && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : invalidFee($index, jljyxxyhdform, 'zdgz') && this.jljyxxyhdform.$submitted}">
|
|
|
<input type="text" class="form-control" name="zdgz_{{$index}}" autocomplete="off" autoclose="true"
|
|
|
ng-model="it.zdgz" ng-required="true"/>
|
|
|
- <span ng-show="invalidFee($index, editForm, 'zdgz') && this.editForm.$submitted"
|
|
|
+ <span ng-show="invalidFee($index, jljyxxyhdform, 'zdgz') && this.jljyxxyhdform.$submitted"
|
|
|
style="color: red;">必填.</span>
|
|
|
</td>
|
|
|
- <td ng-class="{ 'has-error' : invalidFee($index, editForm, 'mc') && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : invalidFee($index, jljyxxyhdform, 'mc') && this.jljyxxyhdform.$submitted}">
|
|
|
<input type="text" class="form-control" name="mc_{{$index}}" autocomplete="off" autoclose="true"
|
|
|
ng-model="it.mc" ng-required="true"/>
|
|
|
- <span ng-show="invalidFee($index, editForm, 'mc') && this.editForm.$submitted"
|
|
|
+ <span ng-show="invalidFee($index, jljyxxyhdform, 'mc') && this.jljyxxyhdform.$submitted"
|
|
|
style="color: red;">必填.</span>
|
|
|
</td>
|
|
|
- <td ng-class="{ 'has-error' : invalidFee($index, editForm, 'sj') && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : invalidFee($index, jljyxxyhdform, 'sj') && this.jljyxxyhdform.$submitted}">
|
|
|
<input name="sj_{{$index}}" class="form-control"
|
|
|
autocomplete="off" autoclose="true"
|
|
|
data-date-format="yyyy-MM-dd" data-date-type="string"
|
|
|
ng-model="it.sj"
|
|
|
placeholder="" bs-datetimepicker ng-required="true"/>
|
|
|
- <span ng-show="invalidFee($index, editForm, 'sj') && this.editForm.$submitted"
|
|
|
+ <span ng-show="invalidFee($index, jljyxxyhdform, 'sj') && this.jljyxxyhdform.$submitted"
|
|
|
style="color: red;">必填.</span>
|
|
|
</td>
|
|
|
- <td ng-class="{ 'has-error' : invalidFee($index, editForm, 'jydx') && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : invalidFee($index, jljyxxyhdform, 'jydx') && this.jljyxxyhdform.$submitted}">
|
|
|
<input type="text" class="form-control" name="jydx_{{$index}}" autocomplete="off" autoclose="true"
|
|
|
ng-model="it.jydx" ng-required="true"/>
|
|
|
- <span ng-show="invalidFee($index, editForm, 'jydx') && this.editForm.$submitted"
|
|
|
+ <span ng-show="invalidFee($index, jljyxxyhdform, 'jydx') && this.jljyxxyhdform.$submitted"
|
|
|
style="color: red;">必填.</span>
|
|
|
</td>
|
|
|
- <td ng-class="{ 'has-error' : invalidFee($index, editForm, 'cjrs') && this.editForm.$submitted}">
|
|
|
+ <td ng-class="{ 'has-error' : invalidFee($index, jljyxxyhdform, 'cjrs') && this.jljyxxyhdform.$submitted}">
|
|
|
<input type="number" class="form-control" name="cjrs_{{$index}}" autocomplete="off" autoclose="true"
|
|
|
ng-model="it.cjrs" ng-required="true"/>
|
|
|
- <span ng-show="invalidFee($index, editForm, 'cjrs') && this.editForm.$submitted"
|
|
|
+ <span ng-show="invalidFee($index, jljyxxyhdform, 'cjrs') && this.jljyxxyhdform.$submitted"
|
|
|
style="color: red;">必填.</span>
|
|
|
</td>
|
|
|
<td>
|
|
@@ -129,7 +129,7 @@
|
|
|
<bsfiles ng-model="reqFileModel"/>
|
|
|
<div class="form_foot">
|
|
|
<button type="button" class="btn btn-default" ng-click="pagechange()">取消</button>
|
|
|
- <button type="submit" class="btn btn-primary" form="editForm">保存</button>
|
|
|
+ <button type="submit" class="btn btn-primary" form="jljyxxyhdform">保存</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|