From beee9c2a8bf40fb867cc7204d206ce33b82aa237 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 14 十一月 2023 11:58:35 +0800
Subject: [PATCH] 销售订单:编辑页面初始化后无法获取客户默认税率问题解决
---
WebTM/views/工资管理/Gy_DuSubsidyItemBillList.html | 29 +++++++++++++++++++----------
1 files changed, 19 insertions(+), 10 deletions(-)
diff --git "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_DuSubsidyItemBillList.html" "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_DuSubsidyItemBillList.html"
index 8834399..a7541c8 100644
--- "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_DuSubsidyItemBillList.html"
+++ "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_DuSubsidyItemBillList.html"
@@ -14,6 +14,8 @@
<script src="../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
<script src="../../layuiadmin/Scripts/webConfig.js"></script>
<script src="../../layuiadmin/layui/lay/modules/util.js"></script>
+ <script src="../../../layuiadmin/soulTable.slim.js"></script>
+
<style media="screen">
.custom-tree-item-clicked {
color: #FC9003
@@ -87,7 +89,7 @@
base: '../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
}).extend({
index: 'lib/index', //涓诲叆鍙fā鍧�
- }).use(['tree', 'index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
+ }).use(['tree', 'index', 'form', 'table', 'element', 'laypage', 'laydate','soulTable'], function () {
// #region 鍏敤鍙橀噺
var $ = layui.$
, admin = layui.admin
@@ -99,6 +101,8 @@
, laydate = layui.laydate
, util = layui.util
, tree = layui.tree
+ , soulTable = layui.soulTable
+
var sWhere = "";
var option = [];
//#endregion
@@ -160,16 +164,21 @@
, height: 'full-50'
, page: true
, cellMinWidth: 90
+ , limit: 50
+ , limits: [50, 500, 5000, 20000]
+ , done: function (res, curr, count) {
+ soulTable.render(this);
+ }
, cols: [[
{ type: 'radio', fixed: 'left' }
, { field: 'HItemID', title: 'HItemID', sort: true, hide: true }
- , { field: '鎵hˉ璧勬枡浠g爜', title: '鎵hˉ璧勬枡浠g爜' }
- , { field: '鎵hˉ璧勬枡鍚嶇О', title: '鎵hˉ璧勬枡鍚嶇О' }
- , { field: '绂佺敤鏍囪', title: '绂佺敤鏍囪' }
- , { field: '澶囨敞', title: '澶囨敞' }
- , { field: '搴忓彿', title: '搴忓彿' }
- , { field: '绫诲瀷', title: '绫诲瀷' }
- , { field: '浣跨敤鏍囪', title: '浣跨敤鏍囪' }
+ , { field: '鎵hˉ璧勬枡浠g爜', title: '鎵hˉ璧勬枡浠g爜', sort: true }
+ , { field: '鎵hˉ璧勬枡鍚嶇О', title: '鎵hˉ璧勬枡鍚嶇О', sort: true}
+ , { field: '绂佺敤鏍囪', title: '绂佺敤鏍囪', sort: true}
+ , { field: '澶囨敞', title: '澶囨敞', sort: true}
+ , { field: '搴忓彿', title: '搴忓彿', sort: true}
+ , { field: '绫诲瀷', title: '绫诲瀷', sort: true}
+ , { field: '浣跨敤鏍囪', title: '浣跨敤鏍囪', sort: true}
]]
};
}
@@ -181,7 +190,7 @@
$.ajax({
url: GetWEBURL() + '/Gy_DuSubsidyItemBill/Gy_DuSubsidyItemlist',
type: "GET",
- data: { "sWhere": sWhere },
+ data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
success: function (data1) {
if (data1.count == 1) {
option.data = data1.data;
@@ -263,7 +272,7 @@
$.ajax({
type: "GET",
url: GetWEBURL() + "Gy_DuSubsidyItemBill/Delete_Json", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
- data: { "HInterID": InterID },
+ data: { "HInterID": InterID, "user": sessionStorage["HUserName"] },
success: function (result) {
if (result.count == 1) {
layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
--
Gitblit v1.9.1