瀏覽代碼

修复bug

ellisran 1 月之前
父節點
當前提交
902ed1a3c7
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      app/public/js/contract_detail.js

+ 7 - 0
app/public/js/contract_detail.js

@@ -2936,6 +2936,13 @@ $(document).ready(function() {
             });
         });
 
+        $('#change-pay-sp-group').change(function () {
+            const node = getNode();
+            postData(window.location.pathname + '/check', {postType: 'change-sp', id: node.id, sp_group: $(this).val()}, function (result) {
+                setStartAuditChange(node, result);
+            });
+        });
+
         function setStartAuditChange(node, result) {
             if (node.cid) {
                 contractPays.splice(contractPays.findIndex(item => item.id === node.id), 1, result);