给系统参数表增加零收付款启用标记字段

This commit is contained in:
jishenghua
2025-05-18 22:29:53 +08:00
parent 0a1f18cff9
commit 60b4f73c92
5 changed files with 110 additions and 7 deletions

View File

@@ -825,6 +825,7 @@ CREATE TABLE `jsh_system_config` (
`multi_account_flag` varchar(1) DEFAULT '0' COMMENT '多账户启用标记0未启用1启用',
`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启用',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`delete_flag` varchar(1) DEFAULT '0' COMMENT '删除标记0未删除1删除',
PRIMARY KEY (`id`)
@@ -833,7 +834,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', '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', '63', '0');
-- ----------------------------
-- Table structure for jsh_tenant

View File

@@ -1664,4 +1664,11 @@ alter table jsh_material add attribute varchar(1000) DEFAULT NULL COMMENT '多
-- by jishenghua
-- 把菜单基本资料改成基础资料
-- --------------------------------------------------------
update jsh_function set name='基础资料' where number='0102';
update jsh_function set name='基础资料' where number='0102';
-- --------------------------------------------------------
-- 时间 2025年5月18日
-- by jishenghua
-- 给系统参数表增加零收付款启用标记启用后销售出库单据新建时默认本次收款为0采购入库单据同理
-- --------------------------------------------------------
alter table jsh_system_config add zero_change_amount_flag varchar(1) DEFAULT '0' COMMENT '零收付款启用标记0未启用1启用' after audit_print_flag;