فهرست منبع

wap审批问题

ellisran 1 سال پیش
والد
کامیت
23500a1c94
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      app/public/js/change_information_set.js
  2. 1 1
      app/view/wap/shenpi_change_project.ejs

+ 1 - 1
app/public/js/change_information_set.js

@@ -1974,7 +1974,7 @@ $(document).ready(() => {
     $('.dropdown-menu input[name="paixu"]').on('click', function () {
     $('.dropdown-menu input[name="paixu"]').on('click', function () {
         const newChangeOrder = parseInt($(this).val());
         const newChangeOrder = parseInt($(this).val());
         if (newChangeOrder !== changeOrder) {
         if (newChangeOrder !== changeOrder) {
-            const updateOrderList = setUpdateOrder(newChangeOrder);
+            const updateOrderList = !newChangeOrder ? setUpdateOrder(newChangeOrder) : [];
             // 更新至服务器
             // 更新至服务器
             postData(window.location.pathname + '/save', { type:'order_by', updateData: newChangeOrder, updateOrderList }, function (result) {
             postData(window.location.pathname + '/save', { type:'order_by', updateData: newChangeOrder, updateOrderList }, function (result) {
                 if (newChangeOrder === 0) {
                 if (newChangeOrder === 0) {

+ 1 - 1
app/view/wap/shenpi_change_project.ejs

@@ -206,7 +206,7 @@
                 </div>
                 </div>
                 <div class="alert alert-warning">
                 <div class="alert alert-warning">
                     <div class="custom-control custom-radio custom-control-inline">
                     <div class="custom-control custom-radio custom-control-inline">
-                        <input type="radio" id="customRadioInline1" name="checkType" class="custom-control-input" value="<%- auditConst.status.checkNo %>" checked>
+                        <input type="radio" id="customRadioInline1" name="checkType" class="custom-control-input" value="<%- auditConst.status.back %>" checked>
                         <label class="custom-control-label" for="customRadioInline1">退回原报 <%- change.user.name %></label>
                         <label class="custom-control-label" for="customRadioInline1">退回原报 <%- change.user.name %></label>
                     </div>
                     </div>
                 </div>
                 </div>