From 1c28114c9e54230fa2742776320ffaf2f19c1ac3 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 06 九月 2024 09:38:21 +0800
Subject: [PATCH] 采购订单列设置添加字段统计案例
---
WebTM/views/采购管理/采购订单/Cg_POOrderBillList.html | 4 +
WebTM/views/采购管理/采购订单/Cg_POOrderBillQuery.html | 2
WebTM/views/领料发货/销售出库/Kf_SellOutBill.html | 3
WebTM/views/基础资料/隐藏列设置/Gy_GridView_Hide_New.html | 35 ++++++++++-
WebTM/views/基础资料/隐藏列设置/Gy_GridView_Hide.html | 34 +++++++++-
WebTM/views/采购管理/采购订单/Cg_POOrderBillEdit.html | 4 +
WebTM/Vlog/webapi20240906.txt | 23 +++++++
WebTM/views/领料发货/销售出库/Kf_SellOutBillList.html | 31 ----------
8 files changed, 94 insertions(+), 42 deletions(-)
diff --git a/WebTM/Vlog/webapi20240906.txt b/WebTM/Vlog/webapi20240906.txt
new file mode 100644
index 0000000..2d56a82
--- /dev/null
+++ b/WebTM/Vlog/webapi20240906.txt
@@ -0,0 +1,23 @@
+2024/9/6 8:17:07 鎵撳嵃sql:exec h_p_Kf_SellOutBillList_PrintSellOutBill 13787793
+
+2024/9/6 8:17:07 SqlConnStr:Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;
+
+2024/9/6 8:17:07 ReportDataSet:1
+
+2024/9/6 8:17:40 鎵撳嵃sql:exec h_p_Kf_SellOutBillList_PrintSellOutBill 13787793
+
+2024/9/6 8:17:40 SqlConnStr:Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;
+
+2024/9/6 8:17:40 ReportDataSet:1
+
+2024/9/6 8:17:42 鎵撳嵃sql:exec h_p_Kf_SellOutBillList_PrintSellOutBill 13787793
+
+2024/9/6 8:17:42 SqlConnStr:Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;
+
+2024/9/6 8:17:42 ReportDataSet:1
+
+2024/9/6 8:22:54 鎵撳嵃sql:select * from h_v_IF_SellOutBillList_EditInit where hmainid = 13787793
+
+2024/9/6 8:22:54 SqlConnStr:Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;
+
+2024/9/6 8:22:54 ReportDataSet:1
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html"
index bb68207..e5e9da4 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html"
@@ -119,6 +119,12 @@
<input type="checkbox" name="IsHide" lay-filter="IsHide" id="IsHide{{d.LAY_TABLE_INDEX+1}}" lay-skin="primary">
</div>
</script>
+<!--澶嶉�夋 鏄惁缁熻琛�-->
+<script type="text/html" id="IsTotalRow">
+ <div class="layui-input-block" style="margin-left: 20px;">
+ <input type="checkbox" name="IsTotalRow" lay-filter="IsTotalRow" id="IsTotalRow{{d.LAY_TABLE_INDEX+1}}" lay-skin="primary">
+ </div>
+</script>
<script>
layui.config({
base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
@@ -179,6 +185,19 @@
});
});
+ //鏄惁缁熻
+ form.on('checkbox(IsTotalRow)', function (data) {
+ //鑾峰彇涓嬫媺妗嗛�変腑鐨勫��
+ var elem = data.othis.parents('tr');
+ var dataindex = elem.attr("data-index");
+ $.each(option.data, function (index, value) {
+ if (value.LAY_TABLE_INDEX == dataindex) {
+ value.IsTotalRow = data.elem.checked;//鎶婇�変腑涓嬫媺妗唅d鍊艰祴鍊肩粰琛ㄦ牸缂撳瓨
+ }
+ });
+ });
+
+
//淇濆瓨鎻愪氦
form.on('submit(btnSave)', function (data) {//鎻愪氦
set_AddNew(data);
@@ -233,12 +252,12 @@
var colNames = [];//鐩稿鍗曟嵁浼犺繃鏉ョ殑鍒楀悕
var cols = [];//瑕佷紶杩涜〃鏍肩殑鏁版嵁
var dataCol = [];
-
+
if (data1.data.length != 0) {
//鏁版嵁搴撴煡璇㈠嚭鐨勫垪鏁版嵁
dataCol = data1.data[0].HGridString.split(',');
}
-
+
colNames = colName.split(',');
if (data1.data.length != 0 && dataCol.length == colNames.length) {
@@ -255,7 +274,7 @@
for (var i = 0; i < colNames.length; i++) {
var dataCols = dataCol[i].split('|');
var ColumnName_Other = dataCols[4] == dataCols[5] ? "" : dataCols[4];
- cols.push({ "ColumnName": colNames[i], "IsHide": dataCols[1] == 1 ? true : false, "Alignment": dataCols[2], "ColumnWidth": dataCols[3], "ColumnName_Other": ColumnName_Other, "ColumnName_real": dataCols[5] })
+ cols.push({ "ColumnName": colNames[i], "IsHide": dataCols[1] == 1 ? true : false, "Alignment": dataCols[2], "ColumnWidth": dataCols[3], "ColumnName_Other": ColumnName_Other, "ColumnName_real": dataCols[5], "IsTotalRow": dataCols[6] == 1 ? true : false })
}
option.data = cols;
table.render(option);
@@ -266,6 +285,9 @@
if (dataCols[1] == 1) {
$("#IsHide" + (i + 1)).attr("checked", true);
}
+ if (dataCols[6] == 1) {
+ $("#IsTotalRow" + (i + 1)).attr("checked", true);
+ }
$('#Alignment' + (i + 1)).find("option[value='" + dataCols[2] + "']").attr("selected", true);
}
form.render('checkbox');
@@ -275,7 +297,7 @@
var colTitleNames = colTitleName.split(',');
//榛樿涓嶉�変腑 鏄剧ず瀛椾綋灞呭乏 琛ㄦ牸鐨勬暟鎹~鍏�
for (var i = 0; i < colNames.length; i++) {
- cols.push({ "ColumnName": colNames[i], "IsHide": false, "Alignment": "L", "ColumnWidth": 120, "ColumnName_Other": colTitleNames[i] })
+ cols.push({ "ColumnName": colNames[i], "IsHide": false, "Alignment": "L", "ColumnWidth": 120, "ColumnName_Other": colTitleNames[i], "IsTotalRow": false })
}
option.data = cols;
table.render(option);
@@ -283,6 +305,7 @@
//榛樿涓嶉�変腑 鏄剧ず瀛椾綋灞呭乏 椤甸潰澶氶�夋 涓嬫媺妗� 閲嶆柊娓叉煋
for (var i = 0; i < colNames.length; i++) {
$('#IsHide' + (i + 1)).prop("checked", false);
+ $('#IsTotalRow' + (i + 1)).prop("checked", false);
$('#Alignment' + (i + 1)).find("option[value='L']").attr("selected", true);
}
form.render('checkbox');
@@ -310,7 +333,8 @@
, { field: 'Alignment', title: '瀵归綈鏂瑰紡', width: 100, templet: '#Alignment' }
, { field: 'ColumnWidth', title: '鍒楀', width: 100, edit: 'text' }
, { field: 'ColumnName_Other', title: '鍒悕', width: 120, edit: 'text' }
- , { field: 'ColumnName_real', title: '鍒悕瀵瑰簲鍒楀悕', width: 120, edit: 'text',hide:"true" }
+ , { field: 'ColumnName_real', title: '鍒悕瀵瑰簲鍒楀悕', width: 120, edit: 'text', hide: "true" }
+ , { field: 'IsTotalRow', title: '鏄惁缁熻', width: 100, templet:'#IsTotalRow' }
]]
};
}
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide_New.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide_New.html"
index 0b2a3bb..59eae84 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide_New.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide_New.html"
@@ -121,6 +121,12 @@
<input type="checkbox" name="IsHide" lay-filter="IsHide" id="IsHide{{d.LAY_TABLE_INDEX+1}}" lay-skin="primary">
</div>
</script>
+<!--澶嶉�夋 鏄惁缁熻琛�-->
+<script type="text/html" id="IsTotalRow">
+ <div class="layui-input-block" style="margin-left: 20px;">
+ <input type="checkbox" name="IsTotalRow" lay-filter="IsTotalRow" id="IsTotalRow{{d.LAY_TABLE_INDEX+1}}" lay-skin="primary">
+ </div>
+</script>
<script>
layui.config({
base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
@@ -176,7 +182,17 @@
}
});
});
-
+ //鏄惁缁熻
+ form.on('checkbox(IsTotalRow)', function (data) {
+ //鑾峰彇涓嬫媺妗嗛�変腑鐨勫��
+ var elem = data.othis.parents('tr');
+ var dataindex = elem.attr("data-index");
+ $.each(option.data, function (index, value) {
+ if (value.LAY_TABLE_INDEX == dataindex) {
+ value.IsTotalRow = data.elem.checked;//鎶婇�変腑涓嬫媺妗唅d鍊艰祴鍊肩粰琛ㄦ牸缂撳瓨
+ }
+ });
+ });
//淇濆瓨鎻愪氦
form.on('submit(btnSave)', function (data) {//鎻愪氦
set_AddNew(data);
@@ -223,6 +239,9 @@
if (option.data[j - 1].IsHide == true) {
$("#IsHide" + j).attr("checked", true);
}
+ if (option.data[j - 1].IsTotalRow == true) {
+ $("#IsTotalRow" + j).attr("checked", true);
+ }
$('#Alignment' + j).find("option[value='" + option.data[j - 1].Alignment + "']").attr("selected", true);
}
form.render('select');
@@ -254,6 +273,9 @@
for (var j = 1; j <= option.data.length; j++) {
if (option.data[j - 1].IsHide == true) {
$("#IsHide" + j).attr("checked", true);
+ }
+ if (option.data[j - 1].IsTotalRow == true) {
+ $("#IsTotalRow" + j).attr("checked", true);
}
$('#Alignment' + j).find("option[value='" + option.data[j - 1].Alignment + "']").attr("selected", true);
}
@@ -296,7 +318,7 @@
var colNames = [];//鐩稿鍗曟嵁浼犺繃鏉ョ殑鍒楀悕
var cols = [];//瑕佷紶杩涜〃鏍肩殑鏁版嵁
var dataCol = [];//琛ㄦ牸鏁版嵁
-
+
if (data1.data.length != 0) {
//鏁版嵁搴撴煡璇㈠嚭鐨勫垪鏁版嵁
dataCol = data1.data[0].HGridString.split(',');
@@ -317,7 +339,7 @@
for (var i = 0; i < colNames.length; i++) {
var dataCols = dataCol[i].split('|');
var ColumnName_Other = dataCols[4] == dataCols[5] ? "" : dataCols[4];
- cols.push({ "ColumnName": colNames[i], "IsHide": dataCols[1] == 1 ? true : false, "Alignment": dataCols[2], "ColumnWidth": dataCols[3], "ColumnName_Other": ColumnName_Other, "ColumnName_real": dataCols[5] })
+ cols.push({ "ColumnName": colNames[i], "IsHide": dataCols[1] == 1 ? true : false, "Alignment": dataCols[2], "ColumnWidth": dataCols[3], "ColumnName_Other": ColumnName_Other, "ColumnName_real": dataCols[5], "IsTotalRow": dataCols[6] == 1 ? true : false })
}
option.data = cols;
table.render(option);
@@ -328,6 +350,9 @@
if (dataCols[1] == 1) {
$("#IsHide" + (i + 1)).attr("checked", true);
}
+ if (dataCols[6] == 1) {
+ $("#IsTotalRow" + (i + 1)).attr("checked", true);
+ }
$('#Alignment' + (i + 1)).find("option[value='" + dataCols[2] + "']").attr("selected", true);
}
form.render('checkbox');
@@ -336,7 +361,7 @@
} else {
//榛樿涓嶉�変腑 鏄剧ず瀛椾綋灞呭乏 琛ㄦ牸鐨勬暟鎹~鍏�
for (var i = 0; i < colNames.length; i++) {
- cols.push({ "ColumnName": colNames[i], "IsHide": false, "Alignment": "L", "ColumnWidth": 120 })
+ cols.push({ "ColumnName": colNames[i], "IsHide": false, "Alignment": "L", "ColumnWidth": 120, "IsTotalRow": false })
}
option.data = cols;
table.render(option);
@@ -344,6 +369,7 @@
//榛樿涓嶉�変腑 鏄剧ず瀛椾綋灞呭乏 椤甸潰澶氶�夋 涓嬫媺妗� 閲嶆柊娓叉煋
for (var i = 0; i < colNames.length; i++) {
$('#IsHide' + (i + 1)).prop("checked", false);
+ $('#IsTotalRow' + (i + 1)).prop("checked", false);
$('#Alignment' + (i + 1)).find("option[value='L']").attr("selected", true);
}
form.render('checkbox');
@@ -374,6 +400,7 @@
, { field: 'ColumnWidth', title: '鍒楀', width: 100, edit: 'text' }
, { field: 'ColumnName_Other', title: '鍒悕', width: 120, edit: 'text' }
, { field: 'ColumnName_real', title: '鍒悕瀵瑰簲鍒楀悕', width: 120, edit: 'text', hide: "true" }
+ , { field: 'IsTotalRow', title: '鏄惁缁熻', width: 100, templet: '#IsTotalRow' }
]]
};
}
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html"
index 1cd7a9d..f814207 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html"
@@ -2025,6 +2025,10 @@
if (dataCols[1] == 0 && $.inArray(option.cols[0][i + 1]["title"], titleData) == -1) {
option.cols[0][i + 1]["hide"] = false;
}
+ //缁熻鍒�
+ if (dataCols[6] == 1) {
+ option.cols[0][i + 1]["totalRow"] = true;
+ }
//瀛椾綋鎵�鍦ㄤ綅缃�(宸� 灞呬腑 鍙�)
switch (dataCols[2]) {
case "L":
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
index 414745a..5a1214b 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
@@ -2258,6 +2258,10 @@
if (dataCols[1] == 0 && $.inArray(option.cols[0][i + 1]["title"], titleData) == -1) {
option.cols[0][i + 1]["hide"] = false;
}
+ //缁熻鍒�
+ if (dataCols[6] == 1) {
+ option.cols[0][i + 1]["totalRow"] = true;
+ }
//瀛椾綋鎵�鍦ㄤ綅缃�(宸� 灞呬腑 鍙�)
switch (dataCols[2]) {
case "L":
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillQuery.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillQuery.html"
index ae329bf..a79c94e 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillQuery.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillQuery.html"
@@ -635,7 +635,7 @@
switch (data[i].Type) {
//int
case 'DateTime':
- col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + (data[i].name=="琛屽叧闂棩鏈�"?"琛屽叧闂汉":data[i].name) + " ==''?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
+ col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
break;
default:
col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
index 42b6773..9d496f8 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
@@ -3170,6 +3170,7 @@
return;
}
} else {
+ return;
}
//#endregion
var InterID = $("#HInterID").val();
@@ -3186,7 +3187,7 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + InterID + '&MyMsg=' + InterID + '&Type=Kf_SellOutBillListByID', 'yes']
+ , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + InterID + '&MyMsg=' + InterID + '&Type=Kf_SellOutBillList', 'yes']
, resize: false
})
} else {
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList.html"
index 3c816c7..0ba214f 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBillList.html"
@@ -200,7 +200,6 @@
<button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="get_BarCodeNote" id="get_BarCodeNote"><i class="layui-icon layui-icon-refresh-3"></i>鏉$爜鏄庣粏</button>
<button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="get_LookDown" id="get_LookDown"><i class="layui-icon layui-icon-refresh-3"></i>涓嬫煡</button>
<button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="btn-print" lay-event="btn-print"><i class="layui-icon layui-icon-form"></i>鎵撳嵃</button>
- <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="btn-print2" lay-event="btn-print2"><i class="layui-icon layui-icon-form"></i>鎵撳嵃(缁撶畻鍗�)</button>
<button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="get_export" id="get_export"><i class="layui-icon layui-icon-export"></i>瀵煎嚭</button>
<button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="get_Exit" id="get_Exit"><i class="layui-icon layui-icon-logout"></i>閫�鍑�</button>
<button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="HideColumn" id="HideColumn"><i class="layui-icon layui-icon-form"></i>闅愯棌鍒楄缃�</button>
@@ -355,9 +354,6 @@
break;
//鎵撳嵃
case 'btn-print': get_PrintReport();
- break;
- //鎵撳嵃缁撶畻鍗�
- case 'btn-print2': get_PrintReport2();
break;
//瀵煎嚭excel
case 'get_export':
@@ -1479,33 +1475,6 @@
, maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
, content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=Kf_SellOutBillList', 'yes']
- , resize: false
- })
- }
- else {
- layer.msg('璇烽�夋嫨涓�琛屾暟鎹墦鍗帮紒');
- }
- }
- //#endregion
-
- //#region 鎵撳嵃鏉愭枡缁撶畻娓呭崟
- function get_PrintReport2() {
- var checkStatus = table.checkStatus('mainTable')
- , data = checkStatus.data;
- if (checkStatus.data.length === 1) {
- if (data[0].鐘舵�� != "宸插鏍�") {
- layer.alert("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!", { icon: 5 });
- return;
- }
-
- layer.open({
- type: 2
- , area: ['50%', '50%']
- , title: '鎵撳嵃妯$増閫夋嫨'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=Kf_SellOutBillListByID', 'yes']
, resize: false
})
}
--
Gitblit v1.9.1