From 96e622e737ec7d0b9f3a64ecc4e4a53389a207a2 Mon Sep 17 00:00:00 2001
From: JiangYouYao <ak473600000>
Date: Fri, 18 Mar 2022 17:00:09 +0800
Subject: [PATCH] 重构:订单取消逻辑

---
 zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js b/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js
index b11d542..878dd39 100644
--- a/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js
+++ b/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js
@@ -121,6 +121,10 @@
 
 
 var MTools = {
+    closeIframe: function () {
+        parent.layer.close(parent.layer.getFrameIndex(window.name));
+    },
+
     /** 返回一个随机字符串 */
     uuid : function() {
 
@@ -240,7 +244,16 @@
       return root.children;
     },
 
-
+    /** json对象转Url参数**/
+    jsonToUrlParam:function(obj){
+        let str="";
+        for(item in obj){
+            if(obj[item]){
+                str+=item+"="+obj[item]+"&"
+            }
+        }
+        return str;
+    }
 
 
 

--
Gitblit v1.9.1