From d0cb515dae7ef450a58e8aa7a251406ca36fc36a Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期四, 14 七月 2022 15:54:30 +0800
Subject: [PATCH] 优化
---
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
index 0252472..32e5dc7 100644
--- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
+++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
@@ -255,6 +255,9 @@
, { field: '璁″垝璺熻釜鍗曞彿', title: '璁″垝璺熻釜鍗曞彿', sort: true, hide: true }
, { field: 'F_xbkf_Combo', title: '鑷畾涔夋爣璇�', width: 120 }
, { field: 'FSHDD', title: '閫佽揣鍦扮偣', width: 120 }
+ , { field: 'FStockInQty', title: '绱鍏ュ簱鏁伴噺', width: 120 }
+ , { field: '鍖呰鏍囪瘑', title: '鍖呰鏍囪瘑', width: 120 }
+ , { field: 'FMRBQTY', title: '绱閫�鏂欐暟閲�', width: 120 }
//, { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120, sort: true }
, { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 120, sort: true }
, { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 120, sort: true }
@@ -404,23 +407,39 @@
, data = checkStatus.data;
ajaxLabelData = data;
//鏍规嵁閫変腑鐨勯噰璐鍗曪紝閲嶆柊浠庨噾铦朵簯鍚屾閲囪喘璁㈠崟鍏宠仈鏁伴噺杩囨潵銆傝�冭檻閲囪喘璁㈠崟鍒犻櫎鍜屽叧闂姸鎬侊紝鍚屾鐘舵��
- var ids = [];
+ var ids = "";
+ var entryids = "";
$.each(data, function (obj) {
- ids.push(data[obj].hmainid);
+ ids += data[obj].hmainid + ",";
+ entryids += data[obj].hsubid + ",";
})
+ ids = ids.substring(0, ids.length - 1);
+ entryids = entryids.substring(0, entryids.length - 1);
var hasPrivileage = true;
$.ajax({
url: GetWEBURL() + 'TestSaverPOInStock',
- type: 'Post',
+ type: 'get',
async: false,
- traditional: true, // 閲嶇偣
+ traditional: true, //閲嶇偣
data: {
- "": ids // 閲嶇偣
+ "ids": ids,
+ "entryids": entryids //閲嶇偣
},
success: function (data) {
if (data.code == "0") {
layer.alert(data.Message, { icon: 5 });
hasPrivileage = false;
+ table.reload('mainTable', {
+ data: ajaxReturnData
+ , height: 'full-10'
+ , page: {
+ curr: _cur_page //蹇呴』浠庣 1 椤靛紑濮�
+ }
+ , loading: false
+ , done: function (index, res) {
+
+ }
+ });
return hasPrivileage;
}
},
--
Gitblit v1.9.1