Ver Fonte

销售订单/采购订单-删除“取消关闭”按钮

jingbb há 2 meses atrás
pai
commit
74ff72af0c

+ 9 - 9
src/views/purchase/purchaseOrder/PurchaseOrderFormList.vue

@@ -133,7 +133,7 @@
         <a-button type="primary" @click="submit"> 提交(submit)</a-button>
         <a-button type="primary" @click="cancelSubmit"> 取消提交(cancelSubmit)</a-button>
         <a-button type="primary" @click="close"> 关闭(close)</a-button>
-        <a-button type="primary" @click="cancelClose"> 取消关闭(cancel close)</a-button>
+        <!-- <a-button type="primary" @click="cancelClose"> 取消关闭(cancel close)</a-button> -->
         <a-button type="primary" @click="confirm"> 供应商确认(confirm)</a-button>
         <a-button type="primary" @click="cancelConfirm"> 取消供应商确认(cancel confirm)</a-button>
         <a-dropdown v-if="selectedRowKeys.length > 0">
@@ -422,14 +422,14 @@
       bacthClose({ ids: ids }, handleSuccess);
     }
   }
-  function cancelClose() {
-    if (selectedRowKeys.value.length == 0) {
-      message.warning('请选择数据');
-    } else {
-      var ids = selectedRowKeys.value.join(',');
-      cancelBatchClose({ ids: ids }, handleSuccess);
-    }
-  }
+  // function cancelClose() {
+  //   if (selectedRowKeys.value.length == 0) {
+  //     message.warning('请选择数据');
+  //   } else {
+  //     var ids = selectedRowKeys.value.join(',');
+  //     cancelBatchClose({ ids: ids }, handleSuccess);
+  //   }
+  // }
   function confirm() {
     if (selectedRowKeys.value.length == 0) {
       message.warning('请选择数据');

+ 9 - 9
src/views/saleCode/salesOrder/SaleOrderFormList.vue

@@ -170,7 +170,7 @@
         <a-button type="primary" @click="submit"> 提交(submit)</a-button>
         <a-button type="primary" @click="cancelSubmit"> 取消提交(cancelSubmit)</a-button>
         <a-button type="primary" @click="close"> 关闭(close)</a-button>
-        <a-button type="primary" @click="cancelClose"> 取消关闭(cancel close)</a-button>
+        <!-- <a-button type="primary" @click="cancelClose"> 取消关闭(cancel close)</a-button> -->
         <a-button type="primary" @click="confirm"> 确认(confirm)</a-button>
         <a-button type="primary" @click="cancelConfirm"> 取消确认(cancel confirm)</a-button>
         <a-dropdown v-if="selectedRowKeys.length > 0">
@@ -468,14 +468,14 @@
       bacthClose({ ids: ids }, handleSuccess);
     }
   }
-  function cancelClose() {
-    if (selectedRowKeys.value.length == 0) {
-      message.warning('请选择数据');
-    } else {
-      var ids = selectedRowKeys.value.join(',');
-      cancelBatchClose({ ids: ids }, handleSuccess);
-    }
-  }
+  // function cancelClose() {
+  //   if (selectedRowKeys.value.length == 0) {
+  //     message.warning('请选择数据');
+  //   } else {
+  //     var ids = selectedRowKeys.value.join(',');
+  //     cancelBatchClose({ ids: ids }, handleSuccess);
+  //   }
+  // }
   function confirm() {
     if (selectedRowKeys.value.length == 0) {
       message.warning('请选择数据');