付款添加挂车发票信息和添加商用车合同模板(张磊)
This commit is contained in:
parent
858c02d13c
commit
5b382bd906
@ -1,71 +1,156 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2020-03-16
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
//String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String ContractId = CurPage.getParameter("ContractId");
|
||||
String flowunid = CurPage.getParameter("flowunid");
|
||||
|
||||
String sTempletNo = "LB_INVOICE_INFO_TEMP";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
//doTemp.setColTips("", "测试");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ContractId"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"false","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
||||
{"false","All","Button","返回","返回列表","returnList()","","","",""}
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function save(HAS_GPS){
|
||||
setItemValue(0,0,"contract_id", "<%=ContractId%>");
|
||||
setItemValue(0,0,"flow_unid", "<%=flowunid%>");
|
||||
var infoStatus = this.getInfoIsnull();
|
||||
if(infoStatus){
|
||||
as_save(0);
|
||||
}else{
|
||||
as_delete("myiframe0");
|
||||
}
|
||||
if(HAS_GPS=="Y"||HAS_GPS=="N"){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.contract.check.ContractInfoCheck","saveGps","contractid=<%=ContractId%>,hasGps="+HAS_GPS);
|
||||
};
|
||||
alert("数据保存成功");
|
||||
}
|
||||
//判断页面是否输入发票信息
|
||||
function getInfoIsnull(){
|
||||
var infoStatus = false;
|
||||
var invoiceCode = getItemValue(0,getRow(0),"Invoice_code");
|
||||
if(invoiceCode!=null && invoiceCode!='undefined' && invoiceCode.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceNumber = getItemValue(0,getRow(0),"Invoice_number");
|
||||
if(invoiceNumber!=null && invoiceNumber!='undefined' && invoiceNumber.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceDate = getItemValue(0,getRow(0),"Invoice_date");
|
||||
if(invoiceDate!=null && invoiceDate!='undefined' && invoiceDate.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceMoney = getItemValue(0,getRow(0),"Invoice_money");
|
||||
if(invoiceMoney!=null && invoiceMoney!='undefined' && invoiceMoney.length>0){
|
||||
return true;
|
||||
}
|
||||
var taxDue = getItemValue(0,getRow(0),"tax_due");
|
||||
if(taxDue!=null && taxDue!='undefined' && taxDue.length>0){
|
||||
return true;
|
||||
}
|
||||
return infoStatus;
|
||||
}
|
||||
$(function(){
|
||||
//setItemReadOnly(0,0,"INVOICE_DATE",true);
|
||||
document.getElementById("INVOICE_DATE").readOnly=true;
|
||||
})
|
||||
</script>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2020-03-16
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
//String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String ContractId = CurPage.getParameter("ContractId");
|
||||
String flowunid = CurPage.getParameter("flowunid");
|
||||
|
||||
String sTempletNo = "LB_INVOICE_INFO_TEMP";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setHtmlEvent("Invoice_code", "onChange", "checkInvoiceCode");
|
||||
doTemp.setHtmlEvent("Invoice_number", "onChange", "checkInvoiceNumber");
|
||||
|
||||
doTemp.setHtmlEvent("Invoice_code_bak", "onChange", "checkInvoiceCodeBak");
|
||||
doTemp.setHtmlEvent("Invoice_number_bak", "onChange", "checkInvoiceNumberBak");
|
||||
//doTemp.setColTips("", "测试");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ContractId"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"false","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
||||
{"false","All","Button","返回","返回列表","returnList()","","","",""}
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
//发票号码-挂车校验
|
||||
function checkInvoiceNumberBak(){
|
||||
//取值
|
||||
var code = getItemValue(0,getRow(0),"Invoice_number_bak");
|
||||
//校验
|
||||
if (code.length == 8 || code.length == 0 ){
|
||||
setErrorTips("Invoice_number_bak","");
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("Invoice_number_bak","格式有误!发票号码长度为8位");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//发票代码挂车校验
|
||||
function checkInvoiceCodeBak(){
|
||||
//取值
|
||||
var code = getItemValue(0,getRow(0),"Invoice_code_bak");
|
||||
//校验
|
||||
if (code.length == 12 || code.length == 0 ){
|
||||
setErrorTips("Invoice_code_bak","");
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("Invoice_code_bak","格式有误!发票代码长度为12位");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//发票号码校验
|
||||
function checkInvoiceNumber(){
|
||||
//取值
|
||||
var code = getItemValue(0,getRow(0),"Invoice_number");
|
||||
//校验
|
||||
if (code.length == 8 || code.length == 0){
|
||||
setErrorTips("Invoice_number","");
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("Invoice_number","格式有误!发票号码长度为8位");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//发票代码校验
|
||||
function checkInvoiceCode(){
|
||||
//取值
|
||||
var code = getItemValue(0,getRow(0),"Invoice_code");
|
||||
//校验
|
||||
if (code.length == 12 || code.length == 0){
|
||||
setErrorTips("Invoice_code","");
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("Invoice_code","格式有误!发票代码长度为12位");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function save(HAS_GPS){
|
||||
setItemValue(0,0,"contract_id", "<%=ContractId%>");
|
||||
setItemValue(0,0,"flow_unid", "<%=flowunid%>");
|
||||
if(checkInvoiceCode()==false || checkInvoiceNumber()==false
|
||||
|| checkInvoiceCodeBak()==false || checkInvoiceNumberBak()==false){
|
||||
return;
|
||||
}
|
||||
var infoStatus = this.getInfoIsnull();
|
||||
if(infoStatus){
|
||||
as_save(0);
|
||||
}else{
|
||||
as_delete("myiframe0");
|
||||
}
|
||||
if(HAS_GPS=="Y"||HAS_GPS=="N"){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.contract.check.ContractInfoCheck","saveGps","contractid=<%=ContractId%>,hasGps="+HAS_GPS);
|
||||
};
|
||||
alert("数据保存成功");
|
||||
}
|
||||
//判断页面是否输入发票信息
|
||||
function getInfoIsnull(){
|
||||
var infoStatus = false;
|
||||
var invoiceCode = getItemValue(0,getRow(0),"Invoice_code");
|
||||
if(invoiceCode!=null && invoiceCode!='undefined' && invoiceCode.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceNumber = getItemValue(0,getRow(0),"Invoice_number");
|
||||
if(invoiceNumber!=null && invoiceNumber!='undefined' && invoiceNumber.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceDate = getItemValue(0,getRow(0),"Invoice_date");
|
||||
if(invoiceDate!=null && invoiceDate!='undefined' && invoiceDate.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceMoney = getItemValue(0,getRow(0),"Invoice_money");
|
||||
if(invoiceMoney!=null && invoiceMoney!='undefined' && invoiceMoney.length>0){
|
||||
return true;
|
||||
}
|
||||
var taxDue = getItemValue(0,getRow(0),"tax_due");
|
||||
if(taxDue!=null && taxDue!='undefined' && taxDue.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceCodeBak = getItemValue(0,getRow(0),"Invoice_code_bak");
|
||||
if(invoiceCodeBak!=null && invoiceCodeBak!='undefined' && invoiceCodeBak.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceNumberBak = getItemValue(0,getRow(0),"Invoice_number_bak");
|
||||
if(invoiceNumberBak!=null && invoiceNumberBak!='undefined' && invoiceNumberBak.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceDateBak = getItemValue(0,getRow(0),"Invoice_date_bak");
|
||||
if(invoiceDateBak!=null && invoiceDateBak!='undefined' && invoiceDateBak.length>0){
|
||||
return true;
|
||||
}
|
||||
var invoiceMoneyBak = getItemValue(0,getRow(0),"Invoice_money_bak");
|
||||
if(invoiceMoneyBak!=null && invoiceMoneyBak!='undefined' && invoiceMoneyBak.length>0){
|
||||
return true;
|
||||
}
|
||||
var taxDueBak = getItemValue(0,getRow(0),"tax_due_bak");
|
||||
if(taxDueBak!=null && taxDueBak!='undefined' && taxDueBak.length>0){
|
||||
return true;
|
||||
}
|
||||
return infoStatus;
|
||||
}
|
||||
$(function(){
|
||||
//setItemReadOnly(0,0,"INVOICE_DATE",true);
|
||||
document.getElementById("INVOICE_DATE").readOnly=true;
|
||||
document.getElementById("INVOICE_DATE_BAK").readOnly=true;
|
||||
})
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -1232,7 +1232,12 @@
|
||||
<attribute name="Invoice_number" label="发票号码" type="STRING" length="32"/>
|
||||
<attribute name="Invoice_date" label="开票日期" type="STRING" length="100"/>
|
||||
<attribute name="Invoice_money" label="开票金额" type="STRING" length="20"/>
|
||||
<attribute name="tax_due" label="税金" type="STRING" length="20"/>
|
||||
<attribute name="tax_due" label="税金" type="STRING" length="20"/>
|
||||
<attribute name="Invoice_code_bak" label="挂车_发票代码" type="STRING" length="32"/>
|
||||
<attribute name="Invoice_number_bak" label="挂车_发票号码" type="STRING" length="32"/>
|
||||
<attribute name="Invoice_date_bak" label="挂车_开票日期" type="STRING" length="100"/>
|
||||
<attribute name="Invoice_money_bak" label="挂车_开票金额" type="STRING" length="20"/>
|
||||
<attribute name="tax_due_bak" label="挂车_税金" type="STRING" length="20"/>
|
||||
<attribute name="remarks" label="备注" type="STRING" length="100"/>
|
||||
<attribute name="standby" label="备用" type="STRING" length="100"/>
|
||||
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
|
||||
@ -1258,7 +1263,12 @@
|
||||
<attribute name="Invoice_number" label="发票号码" type="STRING" length="32"/>
|
||||
<attribute name="Invoice_date" label="开票日期" type="STRING" length="100"/>
|
||||
<attribute name="Invoice_money" label="开票金额" type="STRING" length="20"/>
|
||||
<attribute name="tax_due" label="税金" type="STRING" length="20"/>
|
||||
<attribute name="tax_due" label="税金" type="STRING" length="20"/>
|
||||
<attribute name="Invoice_code_bak" label="挂车_发票代码" type="STRING" length="32"/>
|
||||
<attribute name="Invoice_number_bak" label="挂车_发票号码" type="STRING" length="32"/>
|
||||
<attribute name="Invoice_date_bak" label="挂车_开票日期" type="STRING" length="100"/>
|
||||
<attribute name="Invoice_money_bak" label="挂车_开票金额" type="STRING" length="20"/>
|
||||
<attribute name="tax_due_bak" label="挂车_税金" type="STRING" length="20"/>
|
||||
<attribute name="flow_unid" label="流程id" type="STRING" length="32"/>
|
||||
<attribute name="remarks" label="备注" type="STRING" length="100"/>
|
||||
<attribute name="standby" label="备用" type="STRING" length="100"/>
|
||||
|
||||
@ -46,6 +46,26 @@ public interface LB_INVOICE_INFO{
|
||||
*/
|
||||
public static final String tax_due = "tax_due";
|
||||
/**
|
||||
* 挂车_发票代码 STRING(32)<br>
|
||||
*/
|
||||
public static final String Invoice_code_bak = "Invoice_code_bak";
|
||||
/**
|
||||
* 挂车_发票号码 STRING(32)<br>
|
||||
*/
|
||||
public static final String Invoice_number_bak = "Invoice_number_bak";
|
||||
/**
|
||||
* 挂车_开票日期 STRING(100)<br>
|
||||
*/
|
||||
public static final String Invoice_date_bak = "Invoice_date_bak";
|
||||
/**
|
||||
* 挂车_开票金额 STRING(20)<br>
|
||||
*/
|
||||
public static final String Invoice_money_bak = "Invoice_money_bak";
|
||||
/**
|
||||
* 挂车_税金 STRING(20)<br>
|
||||
*/
|
||||
public static final String tax_due_bak = "tax_due_bak";
|
||||
/**
|
||||
* 备注 STRING(100)<br>
|
||||
*/
|
||||
public static final String remarks = "remarks";
|
||||
|
||||
@ -46,6 +46,26 @@ public interface LB_INVOICE_INFO_TEMP{
|
||||
*/
|
||||
public static final String tax_due = "tax_due";
|
||||
/**
|
||||
* 挂车_发票代码 STRING(32)<br>
|
||||
*/
|
||||
public static final String Invoice_code_bak = "Invoice_code_bak";
|
||||
/**
|
||||
* 挂车_发票号码 STRING(32)<br>
|
||||
*/
|
||||
public static final String Invoice_number_bak = "Invoice_number_bak";
|
||||
/**
|
||||
* 挂车_开票日期 STRING(100)<br>
|
||||
*/
|
||||
public static final String Invoice_date_bak = "Invoice_date_bak";
|
||||
/**
|
||||
* 挂车_开票金额 STRING(20)<br>
|
||||
*/
|
||||
public static final String Invoice_money_bak = "Invoice_money_bak";
|
||||
/**
|
||||
* 挂车_税金 STRING(20)<br>
|
||||
*/
|
||||
public static final String tax_due_bak = "tax_due_bak";
|
||||
/**
|
||||
* Á÷³Ìid STRING(32)<br>
|
||||
*/
|
||||
public static final String flow_unid = "flow_unid";
|
||||
|
||||
117
src_sql/投产SQL/V20200521/customer(zhanglei)_20200521.sql
Normal file
117
src_sql/投产SQL/V20200521/customer(zhanglei)_20200521.sql
Normal file
@ -0,0 +1,117 @@
|
||||
-- 新增 挂车发票信息字段
|
||||
alter table lb_invoice_info_temp add column `Invoice_code_bak` varchar(32) DEFAULT NULL COMMENT '挂车-发票代码';
|
||||
alter table lb_invoice_info_temp add column `Invoice_number_bak` varchar(32) DEFAULT NULL COMMENT '挂车-发票号码';
|
||||
alter table lb_invoice_info_temp add column `Invoice_date_bak` varchar(100) DEFAULT NULL COMMENT '挂车-开票日期';
|
||||
alter table lb_invoice_info_temp add column `Invoice_money_bak` varchar(20) DEFAULT NULL COMMENT '挂车-开票金额';
|
||||
alter table lb_invoice_info_temp add column `tax_due_bak` varchar(20) DEFAULT NULL COMMENT '挂车-税金';
|
||||
|
||||
alter table lb_invoice_info add column `Invoice_code_bak` varchar(32) DEFAULT NULL COMMENT '发票代码-挂车';
|
||||
alter table lb_invoice_info add column `Invoice_number_bak` varchar(32) DEFAULT NULL COMMENT '发票号码-挂车';
|
||||
alter table lb_invoice_info add column `Invoice_date_bak` varchar(100) DEFAULT NULL COMMENT '开票日期-挂车';
|
||||
alter table lb_invoice_info add column `Invoice_money_bak` varchar(20) DEFAULT NULL COMMENT '开票金额-挂车';
|
||||
alter table lb_invoice_info add column `tax_due_bak` varchar(20) DEFAULT NULL COMMENT '税金-挂车';
|
||||
-- 新增挂车发票显示
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_INVOICE_INFO_TEMP', '1170', '1170', '1', 'O', 'Invoice_code_bak', 'Invoice_code_bak', 'String', '', '发票代码-挂车', '', '1', 'Text', '1', '1', '', '', '', '32', '1', '0', '0', '1', '1', 1, '0', '', '', 'SYS_DESIGNER', '2020/03/16 11:42:17', '8009011U00000010', '2020/05/13 10:25:47', '', '', '1', '', '', '', '');
|
||||
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_INVOICE_INFO_TEMP', '1180', '1180', '1', 'O', 'Invoice_number_bak', 'Invoice_number_bak', 'String', '', '发票号码-挂车', '', '1', 'Text', '1', '1', '', '', '', '32', '1', '0', '0', '1', '1', 1, '0', '', '', 'SYS_DESIGNER', '2020/03/16 11:42:17', '8009011U00000010', '2020/05/13 10:25:47', '', '', '1', '', '', '', '');
|
||||
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_INVOICE_INFO_TEMP', '1190', '1190', '1', 'O', 'Invoice_date_bak', 'Invoice_date_bak', 'String', '', '开票日期-挂车', '', '1', 'Date', '3', '2', '', '', '', '100', '1', '0', '0', '1', '1', 1, '0', '', '', 'SYS_DESIGNER', '2020/03/16 11:42:17', '8009011U00000010', '2020/05/13 10:25:47', '0', '', '1', '', '', '', '');
|
||||
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_INVOICE_INFO_TEMP', '1200', '1200', '1', 'O', 'Invoice_money_bak', 'Invoice_money_bak', 'String', '', '开票金额-挂车', '', '1', 'Text', '2', '1', '', '', '', '20', '1', '0', '0', '1', '1', 1, '0', '', '', 'SYS_DESIGNER', '2020/03/16 11:42:17', '8009011U00000010', '2020/05/13 10:25:47', '0', '', '1', '', '', '', '');
|
||||
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_INVOICE_INFO_TEMP', '1210', '1210', '1', 'O', 'tax_due_bak', 'tax_due_bak', 'String', '', '税金-挂车', '', '1', 'Text', '2', '1', '', '', '', '20', '1', '0', '0', '1', '1', 1, '0', '', '', 'SYS_DESIGNER', '2020/03/16 11:42:17', '8009011U00000010', '2020/05/13 10:25:47', '0', '', '1', '', '', '', '');
|
||||
|
||||
|
||||
|
||||
-- 新增挂车租赁物基本情况显示
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_CONTRACT_INFO_PAY', '2610', '2610', '1', 'lec', 'FRAME_NUMBER2', 'FRAME_NUMBER2', 'String', '', '车架号-挂车', '', '1', 'Text', '1', '1', '', '', '', NULL, '1', '0', '0', '1', '0', 0, '', '0020', '', 'SYS_Designer', '2020/05/15 18:15:31', '80009U00000001', '2020/05/15 15:19:44', '', '', '1', '', '', '', '');
|
||||
|
||||
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_CONTRACT_INFO_PAY', '2620', '2620', '1', 'lec', 'FRAME_BRAND', 'FRAME_BRAND', 'String', '', '品牌-挂车', '', '1', 'Text', '1', '1', '', '', '', NULL, '1', '0', '0', '1', '0', 0, '', '0020', '', 'SYS_Designer', '2020/05/15 18:15:31', '80009U00000001', '2020/05/15 15:19:44', '', '', '1', '', '', '', '');
|
||||
|
||||
|
||||
INSERT INTO `awe_do_library` (`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`)
|
||||
VALUES
|
||||
('LB_CONTRACT_INFO_PAY', '2630', '2630', '1', 'lec', 'FRAME_COLOR', 'FRAME_COLOR', 'String', '', '颜色-挂车', '', '1', 'Text', '1', '1', '', '', '', NULL, '1', '0', '0', '1', '0', 0, '', '0020', '', 'SYS_Designer', '2020/05/15 18:15:31', '80009U00000001', '2020/05/15 15:19:44', '', '', '1', '', '', '', '');
|
||||
|
||||
-- 添加产品可选渠道【商用车一车一挂】
|
||||
INSERT INTO `apzl`.`code_library` (`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('operationType', 'SYCSHHZ', '商用车一车一挂', '', '0130', '1', '', '', '', '', '', '', '', '', '', '', '', 'SYS_Designer', NULL, '2020/05/09 15:08:56', 'SYS_Designer', '2020/05/09 15:08:56', '', '');
|
||||
|
||||
-- 添加合同模板相关标签车辆信息【carhandThree,carhandTwo】
|
||||
INSERT INTO `bf_lableconfig` (`ID`, `TAGNUMBER`, `TAGNAME`, `TITLE`, `TAGTYPE`, `VALUETYPE`, `VALUEFIELD`, `VALUEMETHOD`, `THOUSANDSFIELD`, `ISSHOEINDEX`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`, `OPERATORCLASS`)
|
||||
VALUES
|
||||
('8aea3b116bfd49ce8bc154c1d944c9df', '00050103', 'carhandThree', '合同制作-车辆信息2', 'tag_type2', 'value_type3', 'CONTRACT_NO,BRAND,MODEL,MANUFACTURER_NAME,VNDR_NAME,CAR_COLOUR,FRAME_NUMBER,ENGINE_NUMBER,FRAME_BRAND,FRAME_COLOR,FRAME_NUMBER2', 'SELECT \r\n lcit.CONTRACT_NO CONTRACT_NO,\r\n lect.BRAND BRAND, \r\n lect.MODEL MODEL,\r\n lect.MANUFACTURER_NAME MANUFACTURER_NAME,\r\n lect.VNDR_NAME VNDR_NAME,\r\n lect.CAR_COLOUR CAR_COLOUR,\r\n lect.FRAME_NUMBER FRAME_NUMBER,\r\n lect.ENGINE_NUMBER ENGINE_NUMBER,\r\n lect.FRAME_BRAND FRAME_BRAND,\r\n lect.FRAME_COLOR FRAME_COLOR,\r\n lect.FRAME_NUMBER2 FRAME_NUMBER2\r\nFROM\r\n LB_CONTRACT_INFO_TEMP lcit \r\n LEFT JOIN LB_EQUIPMENT_CAR_TEMP lect\r\nON lcit.flowunid = lect.FLOWUNID \r\nWHERE lcit.FlowUnid =:{FLOW_UNID}', '', 'N', '', '', '', '', '', '', '', 'word_default_class');
|
||||
|
||||
INSERT INTO `bf_lableconfig` (`ID`, `TAGNUMBER`, `TAGNAME`, `TITLE`, `TAGTYPE`, `VALUETYPE`, `VALUEFIELD`, `VALUEMETHOD`, `THOUSANDSFIELD`, `ISSHOEINDEX`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`, `OPERATORCLASS`)
|
||||
VALUES
|
||||
('bd438a80a3704ff4a213a35ebca9d56c', '00050102', 'carhandTwo', '合同制作-车辆信息', 'tag_type2', 'value_type3', 'CONTRACT_NO,BRAND,MODEL,MANUFACTURER_NAME,VNDR_NAME,CAR_COLOUR,FRAME_NUMBER,ENGINE_NUMBER,FRAME_BRAND,FRAME_COLOR,FRAME_NUMBER2', 'SELECT \r\n lcit.CONTRACT_NO CONTRACT_NO,\r\n lect.BRAND BRAND, \r\n lect.MODEL MODEL,\r\n lect.MANUFACTURER_NAME MANUFACTURER_NAME,\r\n lect.VNDR_NAME VNDR_NAME,\r\n lect.CAR_COLOUR CAR_COLOUR,\r\n lect.FRAME_NUMBER FRAME_NUMBER,\r\n lect.ENGINE_NUMBER ENGINE_NUMBER,\r\n lect.FRAME_BRAND FRAME_BRAND,\r\n lect.FRAME_COLOR FRAME_COLOR,\r\n lect.FRAME_NUMBER2 FRAME_NUMBER2\r\nFROM\r\n LB_CONTRACT_INFO_TEMP lcit \r\n LEFT JOIN LB_EQUIPMENT_CAR_TEMP lect\r\nON lcit.flowunid = lect.FLOWUNID \r\nWHERE lcit.FlowUnid =:{FLOW_UNID}', '', 'N', '', '', '', '', '', '', '', 'word_default_class');
|
||||
|
||||
-- 添加合同模板【融资租赁合同-商用车-模板】
|
||||
INSERT INTO `bf_template` (`ID`, `SERIALNO`, `SORTNUMBER`, `TEMPLATENAME`, `TEMPLATESHOWNAME`, `TEMPLATEPATH`, `TEMPLATETYPE`, `OPERATETYPE`, `CALLBACK`, `CREATEMETHOD`, `DOCTYPE`, `ONECLASSIFY`, `TWOCLASSIFY`, `THREECLASSIFY`, `FOURCLASSIFY`, `TEMPLATEVERSION`, `STATUS`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `INPUTTIME`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `CREATECONDITION`, `CREATESHEETCONDITION`)
|
||||
VALUES
|
||||
('7acb675c671b4f92ab8b45d26e477055', NULL, '', '融资租赁合同-商用车-模板', '融资租赁合同_商用车_{contractNo}.docx', '融资租赁合同-商用车-天津-定稿版.docx', 'word', 'create', '', NULL, '030', '030002', '', '', '', '1', '', '天津', 'administrator', '8009001', '2020/05/08 14:35:27', 'administrator', '8009001', '2020/05/11 09:36:16', '', '');
|
||||
|
||||
-- 添加合同模板和标签的关联关系
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('082989e8110a4563b58452148026d10d', '2554c750b4dd49398dfa0324f9e8403d', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('1f1b42127d1440a5be961f6d95bca96b', '9fd06315c45842699cabed15ed2ed7f9', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('2e56524c84184769b52cb733c9033c2a', 'e234e46e755f4c629445c8ca2882d6d6', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('2f910667008f4c2d95940f7aa3cf057e', '9ba1a7844e4447fe9cb115323a37736f', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('3420581d9c704c6cb88a739f7a23a7a1', '975294b526544d83b806e3fc2f99cd16', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('4f7e364b7ed24c30a821a8c0c5f8cfc8', 'd203ba8c8eca482f8fd9fc04368678af', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('580e351a995240f4a00ac87ad0781d1e', '484815c4a7a14cf6bdbf69939e5b060e', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('96ebc5a35b3245c29da20ebe8384d5fa', '755698c1c27a43efa6c23310757c6163', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('97871645fdfc492b8cca163602c520e5', '42223908127047f8ab57142dbb8d97a0', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('ab82e971a54545e2a30e746bbf9741d3', '8aea3b116bfd49ce8bc154c1d944c9df', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('ac90f4038cdd4968b33ff8ff7a96deba', 'bd438a80a3704ff4a213a35ebca9d56c', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('af480b6cb3894f949675df5c7d830908', '87e832695708478ead2acd3bcdb7a9a9', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('c069a2b6e3604a66b6b29fc183119e7d', 'bbe36e81f17542078489f223239e658a', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('dfc9b23c9b4e485489e32953bf9b02f6', '05bfac208cb145e1966d77a1243d726b', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('f248a6ed9b1343a598cc6763b6b6a956', 'ced1455267d64183ba1b270a9eda6089', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `bf_templatelable` (`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`)
|
||||
VALUES
|
||||
('fbb7a95f12ad41f490781b7acbf65079', '870f11068af6485d8ae0b2a859da3811', '7acb675c671b4f92ab8b45d26e477055', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user