|  |  | @ -13,7 +13,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |             comment: null, | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: true, | 
			
		
	
		
			
				
					|  |  |  |             field: "id", | 
			
		
	
		
			
				
					|  |  |  |             autoIncrement: false | 
			
		
	
		
			
				
					|  |  |  |             autoIncrement: true | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         year: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
	
		
			
				
					|  |  | @ -44,7 +44,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         department: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "部门:申请部门", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -53,7 +53,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         sale: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "销售人员:申请人", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -62,7 +62,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         contractNo: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "合同编号", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -71,7 +71,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         customer: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "客户名称:【甲方名称】", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -80,7 +80,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         item: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "项目名称", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -89,7 +89,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         amount: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "合同金额:【合同金额\n(元)】", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -98,7 +98,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         changeAmount: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "变更后合同金额", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -107,7 +107,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         invoiceNo: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "发票号码:《发票申请单》【发票号】一个发票号码一个行数据", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -116,7 +116,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         invoiceType: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "开票类型:《发票申请单》\n【发票类型】", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -125,7 +125,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         invoiceDate: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.DATEONLY, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "开票日期:《发票申请单》\n【开票日期】", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -134,7 +134,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         invoiceAmount: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "开票金额:《发票申请单》【发票金额】取财务填写数据", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -143,7 +143,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         outputTax: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "销项税额:《发票申请单》-销项税额", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | @ -152,7 +152,7 @@ module.exports = dc => { | 
			
		
	
		
			
				
					|  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |         total: { | 
			
		
	
		
			
				
					|  |  |  |             type: DataTypes.STRING, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: false, | 
			
		
	
		
			
				
					|  |  |  |             allowNull: true, | 
			
		
	
		
			
				
					|  |  |  |             defaultValue: null, | 
			
		
	
		
			
				
					|  |  |  |             comment: "合计:自动算出\n(开票金额+销项税额)", | 
			
		
	
		
			
				
					|  |  |  |             primaryKey: false, | 
			
		
	
	
		
			
				
					|  |  | 
 |