优化完成 批次问题

This commit is contained in:
java110 2021-09-23 01:01:30 +08:00
parent dc6df87b77
commit 533208f482
4 changed files with 84 additions and 40 deletions

View File

@ -39,7 +39,7 @@
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button"
v-on:click="saveApplyRoomDiscountRecordInfo()">
v-on:click="saveApplyDeleteFeeBatchInfo()">
<i class="fa fa-check"></i>&nbsp;保存
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"

View File

@ -49,12 +49,7 @@
return;
}
vc.component.applyDeleteFeeBatchInfo.communityId = vc.getCurrentCommunity().communityId;
//不提交数据将数据 回调给侦听处理
if (vc.notNull($props.callBackListener)) {
vc.emit($props.callBackListener, $props.callBackFunction, vc.component.applyDeleteFeeBatchInfo);
$('#applyDeleteFeeBatchModel').modal('hide');
return;
}
vc.http.apiPost(
'/payFeeBatch.applyDeletePayFeeBatchCmd',
JSON.stringify(vc.component.applyDeleteFeeBatchInfo),
@ -69,7 +64,6 @@
$('#applyDeleteFeeBatchModel').modal('hide');
vc.component.clearApplyDeleteFeeBatchInfo();
vc.emit('pagination', 'page_event', 1);
location.reload();
return;
}
vc.message(_json.msg);

View File

@ -1,4 +1,53 @@
<div class="animated fadeInRight ecommerce">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5>查询条件</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入批次编号" v-model="payFeeBatchInfo.conditions.batchId"
class=" form-control">
</div>
</div>
<div class="col-sm-4">
<select class="custom-select" v-model="payFeeBatchInfo.conditions.state">
<option selected value="">请选择状态</option>
<option value="2006001">
正常
</option>
<option value="2007001">
申请取消
</option>
<option value="2008001">
审核通过
</option>
<option value="2009001">
审核失败
</option>
</select>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请填写创建员工"
v-model="payFeeBatchInfo.conditions.createUserName" class=" form-control">
</div>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryPayFeeBatchMethod()">
<i class="fa fa-search"></i> 查询
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
@ -52,6 +101,7 @@
</div>
</div>
</div>
<vc:create path="property/applyDeleteFeeBatch" callBackListener="payFeeBatch" callBackFunction="notifyAuditInfo"></vc:create>
<vc:create path="property/applyDeleteFeeBatch" callBackListener="payFeeBatch" callBackFunction="notifyAuditInfo">
</vc:create>
<vc:create path="common/audit" callBackListener="payFeeBatch" callBackFunction="notifyAuditInfo"></vc:create>
</div>

View File

@ -65,7 +65,7 @@
},
_auditPayFeeBatchState: function (_auditInfo) {
vc.component.payFeeBatchInfo.payFeeBatch.state = _auditInfo.state;
//vc.component.payFeeBatchInfo.payFeeBatch.remark = _auditInfo.remark;
vc.component.payFeeBatchInfo.payFeeBatch.msg = _auditInfo.remark;
let _payFeeBatch = vc.component.payFeeBatchInfo.payFeeBatch;
vc.http.apiPost(
'payFeeBatch.updatePayFeeBatch',