Browse Source

first commit

liuhairui 1 year ago
parent
commit
065264b813
2 changed files with 6 additions and 5 deletions
  1. 2 1
      index.php
  2. 4 4
      static/basejs/tg_small_v010.js

+ 2 - 1
index.php

@@ -1,5 +1,6 @@
 <?php
 header('Access-Control-Allow-Origin:*');
+
 /**
  * Content-type设置
  */
@@ -78,5 +79,5 @@ if (is_file('./Application/Common/Conf/install.lock') === false && @$_SERVER[ENV
  * 引入核心入口
  * ThinkPHP亦可移动到WEB以外的目录
  */
-require './11.php';
+// require './11.php';
 require './ThinkPHP/ThinkPHP.php';

+ 4 - 4
static/basejs/tg_small_v010.js

@@ -205,10 +205,10 @@ function small_v010_print(result,type,idList,reptQty,sign_type) {
                             dataType: "json",
                             data: {
                                 "type": type,
-                                "idList": idList,   //大件id
-                                "reptQty": reptQty,     //打印数量
-                                "sign_type": sign_type,     //标签类型:1为大件标签,2为小件标签
-                                "status": 1,    //标识
+                                "idList": idList,
+                                "reptQty": reptQty,
+                                "sign_type": sign_type,
+                                "status": 1,
                             },
                             error:function (XMLHttpRequest, textStatus, errorThrown){
                                 $.messager.alert('系统提示', '数据加载错误,请刷新重试!', 'error');