Browse Source

Bug #3028 合同支付,设置计提期限,合同支付项名称显示有误

MaiXinRong 4 years ago
parent
commit
d3445a07d9
2 changed files with 2 additions and 1 deletions
  1. 1 0
      app/public/js/stage_pay.js
  2. 1 1
      app/view/stage/pay_modal.ejs

+ 1 - 0
app/public/js/stage_pay.js

@@ -930,6 +930,7 @@ $(document).ready(() => {
 
     const deadlineObj = {
         initView(pay) {
+            $('#dl-pay-name').html(pay.name);
             // 模式
             $('[name=dl-type][value=' + pay.dl_type +']')[0].checked = true;
             // 计量期数

+ 1 - 1
app/view/stage/pay_modal.ejs

@@ -6,7 +6,7 @@
                 <h5 class="modal-title">设置计提期限</h5>
             </div>
             <div class="modal-body">
-                <p>请设置付(扣)款项 <b>本期应付</b> 的计提期限</p>
+                <p>请设置付(扣)款项 <b id="dl-pay-name">本期应付</b> 的计提期限</p>
                 <div class="form-group">
                     <label for="formGroupExampleInput">限制模式为:</label>
                     <div>