From 7bcbbbd0459f00ebc3aa7d4f249cb9231a6b5d40 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 31 十月 2025 12:25:17 +0800
Subject: [PATCH] 这个销售绩效查询这个列表中的,你把这个到期类型和到期时间合并,现在到期类型就不要了, 到期时间里面,日期的就显示。时间,他是和金额执行完毕的,就在到期时间里头, 就填上金额执行完毕那个合同金额也是就有金额的显示。金额没得金额的,就先据实结算。好,合同类型这个就不要了。

---
 开票修改.sql |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git "a/\345\274\200\347\245\250\344\277\256\346\224\271.sql" "b/\345\274\200\347\245\250\344\277\256\346\224\271.sql"
index eb54f96..4ce58ab 100644
--- "a/\345\274\200\347\245\250\344\277\256\346\224\271.sql"
+++ "b/\345\274\200\347\245\250\344\277\256\346\224\271.sql"
@@ -1,6 +1,16 @@
 USE [ECTEST]
 GO
 
+
+
+
+INSERT INTO [Sys_Dictionary]([Name] ,[DicType] ,[LastUpdateTime] ,[Operator] ,[MeanValue]) VALUES ('张','印刷单位',getdate(),'管理员',1)
+    INSERT INTO [Sys_Dictionary]([Name] ,[DicType] ,[LastUpdateTime] ,[Operator] ,[MeanValue]) VALUES ('本','印刷单位',getdate(),'管理员',2)
+   INSERT INTO [Sys_Dictionary]([Name] ,[DicType] ,[LastUpdateTime] ,[Operator] ,[MeanValue]) VALUES ('册','印刷单位',getdate(),'管理员',3)
+     INSERT INTO [Sys_Dictionary]([Name] ,[DicType] ,[LastUpdateTime] ,[Operator] ,[MeanValue]) VALUES ('只','印刷单位',getdate(),'管理员',4)
+
+	 go
+
 --2021.09.10 增加备注
 alter table [OA_Kaipiaoshenqing]
 	add [remark]  nvarchar(250) null
@@ -22,9 +32,15 @@
 alter table [EC_OrderExtend]
 	add [printunit] [int] NULL
 
+	go
+
 update [EC_OrderExtend] set [printunit]=1
 
+go
+
 ALTER TABLE [dbo].[EC_OrderExtend] ADD  CONSTRAINT [DF_EC_OrderExtend_printunit]  DEFAULT ((1)) FOR [printunit]
 
+go
+
 --更新存储过程[sp_EC_OrderBasic_Search_Seller] ,订单查询sql
 --更新存储过程sp_EC_OrderExtend_Insert,sp_EC_OrderExtend_Update, 订单扩展sql
\ No newline at end of file

--
Gitblit v1.9.1