给系统配置增加客户静态单价启用标记

This commit is contained in:
jishenghua
2025-05-20 17:16:50 +08:00
parent d5fd43bd50
commit 99610971b7
6 changed files with 129 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50704
File Encoding : 65001
Date: 2025-04-09 21:17:48
Date: 2025-05-20 17:03:42
*/
SET FOREIGN_KEY_CHECKS=0;
@@ -826,6 +826,7 @@ CREATE TABLE `jsh_system_config` (
`move_avg_price_flag` varchar(1) DEFAULT '0' COMMENT '移动平均价启用标记0未启用1启用',
`audit_print_flag` varchar(1) DEFAULT '0' COMMENT '先审核后打印启用标记0未启用1启用',
`zero_change_amount_flag` varchar(1) DEFAULT '0' COMMENT '零收付款启用标记0未启用1启用',
`customer_static_price_flag` varchar(1) DEFAULT '0' COMMENT '客户静态单价启用标记0未启用1启用',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`delete_flag` varchar(1) DEFAULT '0' COMMENT '删除标记0未删除1删除',
PRIMARY KEY (`id`)
@@ -834,7 +835,7 @@ CREATE TABLE `jsh_system_config` (
-- ----------------------------
-- Records of jsh_system_config
-- ----------------------------
INSERT INTO `jsh_system_config` VALUES ('11', '公司test', '小李', '地址1', '12345678', null, null, '注:本单为我公司与客户约定账期内结款的依据,由客户或其单位员工签字生效,并承担法律责任。', '0', '0', '1', '0', '0', '', '0', '1', '0', '0', '0', '0', '0', '0', '63', '0');
INSERT INTO `jsh_system_config` VALUES ('11', '公司test', '小李', '地址1', '12345678', null, null, '注:本单为我公司与客户约定账期内结款的依据,由客户或其单位员工签字生效,并承担法律责任。', '0', '0', '1', '0', '0', '', '0', '1', '0', '0', '0', '0', '0', '0', '0', '63', '0');
-- ----------------------------
-- Table structure for jsh_tenant

View File

@@ -1671,4 +1671,11 @@ update jsh_function set name='基础资料' where number='0102';
-- by jishenghua
-- 给系统参数表增加零收付款启用标记启用后销售出库单据新建时默认本次收款为0采购入库单据同理
-- --------------------------------------------------------
alter table jsh_system_config add zero_change_amount_flag varchar(1) DEFAULT '0' COMMENT '零收付款启用标记0未启用1启用' after audit_print_flag;
alter table jsh_system_config add zero_change_amount_flag varchar(1) DEFAULT '0' COMMENT '零收付款启用标记0未启用1启用' after audit_print_flag;
-- --------------------------------------------------------
-- 时间 2025年5月20日
-- by jishenghua
-- 给系统参数表增加客户静态单价启用标记,启用后,客户的销售出库单据单价不会从历史单据的单价获取,而是只从商品信息获取
-- --------------------------------------------------------
alter table jsh_system_config add customer_static_price_flag varchar(1) DEFAULT '0' COMMENT '客户静态单价启用标记0未启用1启用' after zero_change_amount_flag;