|
@@ -196,7 +196,7 @@ $(function () {
|
|
|
'</div>';
|
|
|
}
|
|
|
$('#rpt_user').html(html);
|
|
|
- $('#process_set input[name="tender_process"][value="'+ trInfo.sp_status +'"]').prop('checked', true);
|
|
|
+ $('input[name="tender_process"][value="'+ trInfo.sp_status +'"]', '#process_set').prop('checked', true);
|
|
|
const spt = sp_status_list[trInfo.sp_status];
|
|
|
$('#process_set').find('.alert-warning').text(spt.name + ':' + spt.msg);
|
|
|
const prop = {
|
|
@@ -229,7 +229,7 @@ $(function () {
|
|
|
});
|
|
|
|
|
|
// 更改审批流程状态
|
|
|
- $('#process_set .form-check input').on('change', function () {
|
|
|
+ $('#process_set').on('change', `.form-check input`, function () {
|
|
|
// 获取所有审批的checked值并更新
|
|
|
const this_status = parseInt($(this).val());
|
|
|
const this_tr_id = parseInt($('#tender_rpt_table').find('.table-warning').attr('data-id'));
|
|
@@ -545,7 +545,7 @@ $(function () {
|
|
|
});
|
|
|
|
|
|
// 更改审批流程状态
|
|
|
- $('.form-check input', setting.domId).on('change', function () {
|
|
|
+ $(setting.domId).on('change', '[name=detail_process]', function () {
|
|
|
// 获取所有审批的checked值并更新
|
|
|
const status = parseInt($(this).val());
|
|
|
let tr_id = self.rptInfo.id;
|
|
@@ -555,7 +555,8 @@ $(function () {
|
|
|
const prop = { type: 'change-status', tr_id, status };
|
|
|
postData('/payment/' + tenderId + '/process/save', prop, function (data) {
|
|
|
self.rptInfo.sp_status = status;
|
|
|
- self.setLcShowHtml(self.rptInfo, data);
|
|
|
+ self.rptInfo.auditData = data;
|
|
|
+ self.setLcShowHtml();
|
|
|
});
|
|
|
});
|
|
|
|
|
@@ -742,7 +743,7 @@ $(function () {
|
|
|
this.obj.attr('data-trid', this.rptInfo.id);
|
|
|
$('.card-title', this.domId).find('.card-title').text(this.rptInfo.rpt_name);
|
|
|
this.refreshUserHtml();
|
|
|
- $('input[name="tender_process"][value="'+ this.rptInfo.sp_status +'"]', this.obj).prop('checked', true).attr('data-trid', this.rptInfo.id);
|
|
|
+ $('input[name="detail_process"][value="'+ this.rptInfo.sp_status +'"]', this.obj).prop('checked', true).attr('data-trid', this.rptInfo.id);
|
|
|
const spt = sp_status_list[this.rptInfo.sp_status];
|
|
|
$('.alert-warning', this.domId).text(spt.name + ':' + spt.msg);
|
|
|
this.loadAuditList();
|