20241211-1

ShenZhenCHJY
dengyu 1 week ago
parent 7dfcf174b0
commit 7cf89aad0d

@ -1798,8 +1798,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
minChars: 2, minChars: 2,
queryParam: 'CODENAME', queryParam: 'CODENAME',
name: 'CUSTSERVICE', name: 'CUSTSERVICE',
labelWidth: 45, //labelWidth: 45,
flex: 0.6, //flex: 0.6,
valueField: 'UserName', valueField: 'UserName',
displayField: 'CodeAndName', displayField: 'CodeAndName',
enableKeyEvents: true, enableKeyEvents: true,
@ -1821,7 +1821,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
queryParam: 'CODENAME', queryParam: 'CODENAME',
labelWidth: 45, labelWidth: 45,
name: 'SALE', name: 'SALE',
flex: 0.6, //flex: 0.6,
valueField: 'UserName', valueField: 'UserName',
displayField: 'CodeAndName', displayField: 'CodeAndName',
enableKeyEvents: true, enableKeyEvents: true,
@ -1840,10 +1840,11 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
queryMode: 'remote', queryMode: 'remote',
minChars: 2, minChars: 2,
queryParam: 'CODENAME', queryParam: 'CODENAME',
labelWidth: 30, //labelWidth: 30,
forceSelection: true, forceSelection: true,
name: 'OP', name: 'OP',
flex: 0.6, valueField: 'UserName', //flex: 0.6,
valueField: 'UserName',
displayField: 'CodeAndName', displayField: 'CodeAndName',
enableKeyEvents: true, enableKeyEvents: true,
listeners: { listeners: {
@ -1957,11 +1958,11 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
this.comboxLANE = Ext.create('DsExt.ux.RefTableCombox', { this.comboxLANE = Ext.create('DsExt.ux.RefTableCombox', {
fieldLabel: Zi.LAN.LANE, //'航线', fieldLabel: Zi.LAN.LANE, //'航线',
store: this.storeLANE, store: this.storeLANE,
labelWidth: 30, //labelWidth: 30,
queryMode: 'remote', queryMode: 'remote',
minChars: 0, minChars: 0,
queryParam: 'CODENAME', queryParam: 'CODENAME',
flex: 0.6, //flex: 0.6,
name: 'LANE', name: 'LANE',
valueField: 'LANE', valueField: 'LANE',
displayField: 'LANE', displayField: 'LANE',
@ -1985,8 +1986,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
fieldLabel: Zi.LAN.VESSEL, //'船 名',//'船名', fieldLabel: Zi.LAN.VESSEL, //'船 名',//'船名',
store: this.storeVoyVeg, store: this.storeVoyVeg,
name: 'VESSEL', name: 'VESSEL',
labelWidth: 30, //labelWidth: 30,
flex: 0.8, flex: 1,
valueField: 'VESSEL', valueField: 'VESSEL',
displayField: 'VESSEL', displayField: 'VESSEL',
enableKeyEvents: true, enableKeyEvents: true,
@ -2006,8 +2007,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
proxy: { url: '/CommMng/BasicDataRef/GetCodeLoadportListRm' } proxy: { url: '/CommMng/BasicDataRef/GetCodeLoadportListRm' }
}); });
this.comboxPORTLOAD = Ext.create('DsExt.ux.RefTableCombox', { this.comboxPORTLOAD = Ext.create('DsExt.ux.RefTableCombox', {
flex: 1.2, //flex: 1.2,
labelWidth: 50, labelWidth: 48,
fieldLabel: Zi.LAN.PORTLOAD, //'装货港', fieldLabel: Zi.LAN.PORTLOAD, //'装货港',
store: this.storeCodeLoadport, store: this.storeCodeLoadport,
name: 'PORTLOAD', name: 'PORTLOAD',
@ -2082,8 +2083,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
this.comboxDESTINATION = Ext.create('DsExt.ux.RefTableCombox', { this.comboxDESTINATION = Ext.create('DsExt.ux.RefTableCombox', {
fieldLabel: Zi.LAN.DESTINATIONID, //'目的地', fieldLabel: Zi.LAN.DESTINATIONID, //'目的地',
store: this.storeCodeDisport2, store: this.storeCodeDisport2,
labelWidth: 60, //labelWidth: 60,
flex: 0.8, //flex: 0.8,
name: 'DESTINATIONID', name: 'DESTINATIONID',
queryMode: 'remote', queryMode: 'remote',
minChars: 2, minChars: 2,
@ -2128,7 +2129,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
fieldLabel: Zi.LAN.CARRIER, //'船公司', fieldLabel: Zi.LAN.CARRIER, //'船公司',
store: this.storeCARRIER, store: this.storeCARRIER,
labelWidth: 48, labelWidth: 48,
flex: 0.7, //flex: 0.7,
forceSelection: true, forceSelection: true,
queryMode: 'remote', queryMode: 'remote',
minChars: 0, minChars: 0,
@ -2151,8 +2152,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
fieldLabel: Zi.LAN.ISEI, //'委托分公司', fieldLabel: Zi.LAN.ISEI, //'委托分公司',
store: this.storeISEI, store: this.storeISEI,
forceSelection: true, forceSelection: true,
labelWidth: 48, //labelWidth: 48,
flex:0.7, //flex:0.7,
name: 'ISEI', name: 'ISEI',
valueField: 'GVALUE', valueField: 'GVALUE',
displayField: 'GVALUE', displayField: 'GVALUE',
@ -2204,7 +2205,8 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
//#region formSearch 查询面板 //#region formSearch 查询面板
_this = this; _this = this;
this.formSearch = Ext.widget('form', { this.formSearch = Ext.widget('form',
{
frame: true, frame: true,
region: 'center', region: 'center',
bodyPadding: 5, bodyPadding: 5,
@ -2231,63 +2233,41 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
xtype: 'container', xtype: 'container',
layout: 'hbox', layout: 'hbox',
defaultType: 'textfield', defaultType: 'textfield',
items: [{ items: [
fieldLabel: Zi.LAN.MblNo2, //'编号', {
name: 'MblNo', fieldLabel: Zi.LAN.MblNo2, //'编号',
labelWidth: 30, name: 'MblNo',
flex: 0.6, labelWidth: 48,
enableKeyEvents: true, //flex: 0.6,
listeners: { enableKeyEvents: true,
specialkey: function (field, e) { listeners: {
if (e.getKey() == e.ENTER) { specialkey: function (field, e) {
_this.onRefreshClick(); if (e.getKey() == e.ENTER) {
} _this.onRefreshClick();
} }
}
}, {
fieldLabel: 'HBLNO', //'编号',
name: 'HblNo',
labelWidth: 40,
flex: 0.6,
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, this.comboxCustCode, {
fieldLabel: Zi.LAN.ETD2, //'开船日期',
labelWidth: 60,
flex: 0.8,
format: 'Y-m-d',
xtype: 'datefield',
name: 'ETDbgn',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
} }
} }
} },
}, { {
fieldLabel: Zi.LAN.ETDend, //'到', fieldLabel: 'HBLNO', //'编号',
labelWidth: 20, name: 'HblNo', hidden: true,
flex: 0.7, labelWidth: 40,
format: 'Y-m-d', flex: 0.6,
xtype: 'datefield', enableKeyEvents: true,
name: 'ETDend', listeners: {
enableKeyEvents: true, specialkey: function (field, e) {
listeners: { if (e.getKey() == e.ENTER) {
specialkey: function (field, e) { _this.onRefreshClick();
if (e.getKey() == e.ENTER) { }
_this.onRefreshClick();
} }
} }
} }
}, this.comboxOP, this.comboxSALE, { , this.comboxCustCode
, this.comboxSALE
, this.comboxOP
, this.comboxDoc
, this.comboxCUSTSERVICE
, {
xtype: 'button', xtype: 'button',
flex:0.4, flex:0.4,
text: Zi.LAN.btnrefresh, //"执行查询", text: Zi.LAN.btnrefresh, //"执行查询",
@ -2300,24 +2280,60 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
} }
, { , {
xtype: 'container', xtype: 'container',
layout: 'hbox', layout: 'hbox',
defaultType: 'textfield', defaultType: 'textfield',
items: [this.comboxVoyVeg, { items: [
fieldLabel: Zi.LAN.VOYNO, this.comboxCARRIER
labelWidth: 40,
flex: 0.4, , this.comboxVoyVeg
name: 'VOYNO', , {
enableKeyEvents: true, fieldLabel: Zi.LAN.VOYNO,
listeners: { //labelWidth: 40,
specialkey: function (field, e) { flex: 1,
if (e.getKey() == e.ENTER) { name: 'VOYNO',
_this.onRefreshClick(); enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
} }
} }
} , {
}, this.comboxPORTDISCHARGE, this.comboxDESTINATION, this.comboxCARRIER, this.comboxLANE, this.comboxCUSTSERVICE, { fieldLabel: Zi.LAN.ETD2, //'开船日期',
labelWidth: 60,
flex: 1,
format: 'Y-m-d',
xtype: 'datefield',
name: 'ETDbgn',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, {
fieldLabel: Zi.LAN.ETDend, //'到',
labelWidth: 60,
flex:1,
format: 'Y-m-d',
xtype: 'datefield',
name: 'ETDend',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}
, this.comboxLANE, {
xtype: 'button', xtype: 'button',
flex: 0.4, flex: 0.4,
text: Zi.LAN.btnmore, //"高级查询", text: Zi.LAN.btnmore, //"高级查询",
@ -2348,19 +2364,15 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
items: [ items: [
//0.6, 0.6, 1, 0.8, 0.7, 0.6,0.6 //0.6, 0.6, 1, 0.8, 0.7, 0.6,0.6
this.comboxPORTLOAD,//1.2 this.comboxPORTLOAD
this.comboxDoc,//1 , this.comboxPORTDISCHARGE
, this.comboxDESTINATION
//{ ,
// xtype: 'hiddenfield',
// flex: 1.9,
// scope: this
//}
{ {
fieldLabel: '柜号', //'编号', fieldLabel: '柜号', //'编号',
name: 'CNTRNO', name: 'CNTRNO',
labelWidth: 30, //labelWidth: 30,
flex: 0.8, //flex: 0.8,
enableKeyEvents: true, enableKeyEvents: true,
listeners: { listeners: {
specialkey: function (field, e) { specialkey: function (field, e) {
@ -2370,6 +2382,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
} }
} }
}, },
this.comboxISCANCEL,
this.comboxISEI,//hidden 1.2 this.comboxISEI,//hidden 1.2
//{ //{
// xtype: 'hiddenfield', // xtype: 'hiddenfield',
@ -2386,7 +2399,7 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
// flex: 1, // flex: 1,
// scope: this // scope: this
//}, //},
this.comboxISCANCEL,
//{ //{
// xtype: 'hiddenfield', // xtype: 'hiddenfield',
// flex: 0.2, // flex: 0.2,

@ -1447,7 +1447,7 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
}); });
this.comboxPORTLOAD = Ext.create('DsExt.ux.RefTableCombox', { this.comboxPORTLOAD = Ext.create('DsExt.ux.RefTableCombox', {
//flex: 1.2, //flex: 1.2,
labelWidth: 50, //labelWidth: 50,
fieldLabel: Zi.LAN.PORTLOAD, //'装货港', fieldLabel: Zi.LAN.PORTLOAD, //'装货港',
store: this.storeCodeLoadport, store: this.storeCodeLoadport,
name: 'PORTLOAD', name: 'PORTLOAD',
@ -1470,22 +1470,21 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
}); });
this.storeCodeDisport = Ext.create('DsExt.ux.RefTableStore', { this.storeCodeDisport2 = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.CodeDisportModel', model: 'DsShipping.ux.CodeDisportModel',
proxy: { url: '/CommMng/BasicDataRef/GetCodeDisportListRm' } proxy: { url: '/CommMng/BasicDataRef/GetCodeDisportListRm' }
}); });
// this.storeCodeDisport.loadData(mainWin.GetPubStore("CODE_PORTDISCHARGE").data.items); // this.storeCodeDisport2.loadData(mainWin.GetPubStore("CODE_PORTDISCHARGE").data.items);
this.comboxPORTDISCHARGE = Ext.create('DsExt.ux.RefTableCombox', { this.comboxDESTINATION = Ext.create('DsExt.ux.RefTableCombox', {
fieldLabel: Zi.LAN.PORTDISCHARGE, //'卸货港', fieldLabel: Zi.LAN.DESTINATIONID, //'目的地',
store: this.storeCodeDisport, store: this.storeCodeDisport2,
name: 'PORTDISCHARGEID', //labelWidth: 60,
// labelWidth: 48, //flex: 1,
// flex: 0.7, name: 'DESTINATIONID',
// forceSelection: true,
valueField: 'EDICODE',
queryMode: 'remote', queryMode: 'remote',
minChars: 2, minChars: 2,
queryParam: 'PORT', queryParam: 'PORT',
valueField: 'EDICODE',
displayField: 'CodeAndName', displayField: 'CodeAndName',
enableKeyEvents: true, enableKeyEvents: true,
listeners: { listeners: {
@ -1496,8 +1495,8 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
}, },
//beforequery: function (e) { //beforequery: function (e) {
// return FilterCombox(e,2);//在beforequery使用此方法 // return FilterCombox(e,2);//在beforequery使用此方法
//} //},
//,
specialkey: function (field, e) { specialkey: function (field, e) {
//if (e.getKey() == e.ENTER) { //if (e.getKey() == e.ENTER) {
// e.keyCode = 9; // e.keyCode = 9;
@ -1505,9 +1504,9 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
if (e.keyCode == 9) { if (e.keyCode == 9) {
if (field.value == null) { if (field.value == null) {
_rec = _this.storeCodeDisport.getAt(0); _rec = _this.storeCodeDisport2.getAt(0);
_this.formSearch.getForm().findField('PORTDISCHARGEID').setValue(_rec.data.EDICODE); _this.formSearch.getForm().findField('DESTINATIONID').setValue(_rec.data.EDICODE);
} }
} }
} }
@ -1524,7 +1523,7 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
fieldLabel: Zi.LAN.VESSEL, //'船 名',//'船名', fieldLabel: Zi.LAN.VESSEL, //'船 名',//'船名',
store: this.storeVoyVeg, store: this.storeVoyVeg,
name: 'VESSEL', name: 'VESSEL',
labelWidth: 30, //labelWidth: 30,
flex: 1, flex: 1,
valueField: 'VESSEL', valueField: 'VESSEL',
displayField: 'VESSEL', displayField: 'VESSEL',
@ -1616,11 +1615,11 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
items: [ items: [
this.comboxCARRIER this.comboxCARRIER
, this.comboxPORTLOAD , this.comboxPORTLOAD
, this.comboxPORTDISCHARGE , this.comboxDESTINATION
, this.comboxVoyVeg , this.comboxVoyVeg
, { , {
fieldLabel: Zi.LAN.VOYNO, fieldLabel: Zi.LAN.VOYNO,
labelWidth: 40, //labelWidth: 40,
flex: 1, flex: 1,
name: 'VOYNO', name: 'VOYNO',
enableKeyEvents: true, enableKeyEvents: true,
@ -1644,7 +1643,7 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
} }
} }
} }
, this.comboxISEI
, { , {
xtype: 'button', xtype: 'button',
flex: 0.4, flex: 0.4,
@ -1725,9 +1724,10 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
} }
} }
} }
, { xtype: 'hiddenfield', flex: 1 } , this.comboxISEI
, { xtype: 'hiddenfield', flex: 1 } , { xtype: 'hiddenfield', flex: 1 }
//, { xtype: 'hiddenfield', flex: 1 } //, { xtype: 'hiddenfield', flex: 1 }
//, { xtype: 'hiddenfield', flex: 1 }
, { xtype: 'hiddenfield', flex: 0.39 } , { xtype: 'hiddenfield', flex: 0.39 }
] ]
} }
@ -2882,38 +2882,43 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
// var ACCDATE = form.findField('ACCDATE').getRawValue(); // var ACCDATE = form.findField('ACCDATE').getRawValue();
// sql = sql + getAndConSql(sql, ACCDATE, "B.ACCDATE='" + ACCDATE + "'"); // sql = sql + getAndConSql(sql, ACCDATE, "B.ACCDATE='" + ACCDATE + "'");
// //船名 //船名
// var VESSEL = form.findField('VESSEL').getValue(); var VESSEL = form.findField('VESSEL').getValue();
// sql = sql + getAndConSql(sql, VESSEL, "B.VESSEL like '%" + VESSEL + "%'"); sql = sql + getAndConSql(sql, VESSEL, "B.VESSEL like '%" + VESSEL + "%'");
//航次
var VOYNO = form.findField('VOYNO').getValue();
sql = sql + getAndConSql(sql, VOYNO, "B.VOYNO like '%" + VOYNO + "%'");
// //航次 //装货港
// var VOYNO = form.findField('VOYNO').getValue(); var PORTLOAD = form.findField('PORTLOAD').getValue();
// sql = sql + getAndConSql(sql, VOYNO, "B.VOYNO like '%" + VOYNO + "%'"); sql = sql + getAndConSql(sql, PORTLOAD, " (B.PORTLOADID+' '+B.PORTLOAD) like '%" + PORTLOAD + "%' ");
//装货港
var PORTLOAD = form.findField('PORTLOAD').getValue();
sql = sql + getAndConSql(sql, PORTLOAD, "B.PORTLOAD like '%" + PORTLOAD + "%'");
//卸货 //目的港
var PORTDISCHARGE = form.findField('PORTDISCHARGE').getValue(); var DESTINATIONID = form.findField('DESTINATIONID').getValue();
sql = sql + getAndConSql(sql, PORTDISCHARGE, "B.PORTDISCHARGE like '%" + PORTDISCHARGE + "%'"); sql = sql + getAndConSql(sql, DESTINATIONID, "B.DESTINATIONID like '%" + DESTINATIONID + "%'");
//揽货人
var SALE = form.findField('SALE').getValue();
sql = sql + getAndConSql(sql, SALE, "B.SALE='" + SALE + "'");
//船公司
var CARRIER = form.findField('CARRIER').getValue();
sql = sql + getAndConSql(sql, CARRIER, "B.CARRIER='" + CARRIER + "'");
//所属分部 //船公司
var SALECORPID = form.findField('SALECORPID').getValue(); var CARRIER = form.findField('CARRIER').getValue();
sql = sql + getAndConSql(sql, SALECORPID, "B.SALECORPID='" + SALECORPID + "'"); sql = sql + getAndConSql(sql, CARRIER, "B.CARRIER='" + CARRIER + "'");
//所属分部
var SALECORPID = form.findField('SALECORPID').getValue();
sql = sql + getAndConSql(sql, SALECORPID, "B.SALECORPID='" + SALECORPID + "'");
//所属部门 //所属部门
var SALEDEPT = form.findField("SALEDEPT").getValue(); var SALEDEPT = form.findField("SALEDEPT").getValue();
sql = sql + getAndConSql(sql, SALEDEPT, "B.SALEDEPT='" + SALEDEPT + "'"); sql = sql + getAndConSql(sql, SALEDEPT, "B.SALEDEPT='" + SALEDEPT + "'");
var ISEI = form.findField('ISEI').getValue(); var ISEI = form.findField('ISEI').getValue();
sql = sql + getAndConSql(sql, ISEI, "B.ISEI = '" + ISEI + "'"); sql = sql + getAndConSql(sql, ISEI, "B.ISEI = '" + ISEI + "'");
var SERVICECONTRACTNO = form.findField('SERVICECONTRACTNO').getValue(); var SERVICECONTRACTNO = form.findField('SERVICECONTRACTNO').getValue();
@ -2922,99 +2927,7 @@ Ext.extend(Shipping.MsOpSeaeSaleIndex, Ext.Panel, {
var CNTRNO = form.findField('CNTRNO').getValue(); var CNTRNO = form.findField('CNTRNO').getValue();
sql = sql + getAndConSql(sql, CNTRNO, "exists(select 1 from op_ctn where bsno=B.bsno and cntrno like '%" + CNTRNO + "')"); sql = sql + getAndConSql(sql, CNTRNO, "exists(select 1 from op_ctn where bsno=B.bsno and cntrno like '%" + CNTRNO + "')");
// //代理
// var AGENTID = form.findField('AGENTID').getValue();
// sql = sql + getAndConSql(sql, AGENTID, "B.AGENTID='" + AGENTID + "'");
// //费用状态
// var FEESTATUS = form.findField('FEESTATUS').getValue();
// if (FEESTATUS != null) {
// if (FEESTATUS.toString().trim() == "锁定") {
// sql = sql + getAndConSql(sql, FEESTATUS, "B.FEESTATUS=1");
// }
// else if (FEESTATUS.toString().trim() == "未锁定") {
// sql = sql + getAndConSql(sql, FEESTATUS, "B.FEESTATUS=0");
// }
// }
//#endregion formSearch
//#region formSearch2 隐藏查询面板
// //建单日期
// var CREATETIMEbgn = form2.findField('CREATETIMEbgn').getRawValue();
// sql = sql + getAndConSql(sql, CREATETIMEbgn, "B.CREATETIME >='" + CREATETIMEbgn + "'");
// var CREATETIMEend = form2.findField('CREATETIMEend').getRawValue();
// sql = sql + getAndConSql(sql, CREATETIMEend, "B.CREATETIME <='" + CREATETIMEend + "'");
// //接单日期
// var BSDATEbgn = form2.findField('BSDATEbgn').getRawValue();
// sql = sql + getAndConSql(sql, BSDATEbgn, "B.BSDATE >='" + BSDATEbgn + "'");
// var BSDATEend = form2.findField('BSDATEend').getRawValue();
// sql = sql + getAndConSql(sql, BSDATEend, "B.BSDATE <='" + BSDATEend + "'");
// //操作人
// var OP = form2.findField('OP').getValue();
// sql = sql + getAndConSql(sql, OP, "B.OP='" + OP + "'");
// //揽货人
// var SALE = form2.findField('SALE').getValue();
// sql = sql + getAndConSql(sql, SALE, "B.SALE='" + SALE + "'");
// // //录入人
// // var INPUTBY = form2.findField('INPUTBY').getValue();
// // sql = sql + getAndConSql(sql, INPUTBY, "INPUTBY='" + INPUTBY + "'");
// // //
// // var BSTYPE = form2.findField('BSTYPE').getValue();
// // sql = sql + getAndConSql(sql, BSTYPE, "BSTYPE='" + BSTYPE + "'");
// //牌号
// var CNTRTOTAL = form2.findField('CNTRTOTAL').getValue();
// sql = sql + getAndConSql(sql, CNTRTOTAL, "B.CNTRTOTAL like '%" + CNTRTOTAL + "%'");
// //业务状态
// var BSSTATUS = form2.findField('BSSTATUS').getValue();
// if (BSSTATUS != null) {
// if (BSSTATUS.toString().trim() == "锁定") {
// sql = sql + getAndConSql(sql, BSSTATUS, "B.BSSTATUS=1");
// }
// else if (BSSTATUS.toString().trim() == "未锁定") {
// sql = sql + getAndConSql(sql, BSSTATUS, "B.BSSTATUS=0");
// }
// }
// // //车队
// // var TRUCKER = form2.findField('TRUCKER').getValue();
// // sql = sql + getAndConSql(sql, TRUCKER, "TRUCKER='" + TRUCKER + "'");
// // //报关行
// // var CUSTOMSER = form2.findField('CUSTOMSER').getValue();
// // sql = sql + getAndConSql(sql, CUSTOMSER, "CUSTOMSER='" + CUSTOMSER + "'");
// //业务来源
// var BSSOURCE = form2.findField('BSSOURCE').getValue();
// sql = sql + getAndConSql(sql, BSSOURCE, "B.BSSOURCE='" + BSSOURCE + "'");
// //来源明细
// var BSSOURCEDETAIL = form2.findField('BSSOURCEDETAIL').getValue();
// sql = sql + getAndConSql(sql, BSSOURCEDETAIL, "B.BSSOURCEDETAIL='" + BSSOURCEDETAIL + "'");
// //装运方式
// var BLTYPE = form2.findField('BLTYPE').getValue();
// sql = sql + getAndConSql(sql, BLTYPE, "B.BLTYPE='" + BLTYPE + "'");
// // //备注
// // var REMARK = form2.findField('REMARK').getValue();
// // sql = sql + getAndConSql(sql, REMARK, "B.REMARK like '%" + REMARK + "%'");
//#endregion formSearch2 //#endregion formSearch2
return sql; return sql;

@ -131,19 +131,19 @@
<add name="DongShengDB" connectionString="Server=123.234.225.158,26600;Database=shippingwebTEST;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="DongShengDB" connectionString="Server=123.234.225.158,26600;Database=shippingwebTEST;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Server=123.234.225.158,26600;Database=shippingwebTEST;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="sydevzsh" connectionString="Server=123.234.225.158,26600;Database=shippingwebTEST;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
--> -->
<!-- 深圳彩虹捷运 正式库 rainbow admin admin --> <!-- 深圳彩虹捷运 正式库 rainbow admin admin
<add name="DongShengDB" connectionString="Server=119.23.249.201,12356;Database=ShippingWeb_CHJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="DongShengDB" connectionString="Server=119.23.249.201,12356;Database=ShippingWeb_CHJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Server=119.23.249.201,12356;Database=ShippingWeb_CHJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="sydevzsh" connectionString="Server=119.23.249.201,12356;Database=ShippingWeb_CHJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
-->
<!-- 深圳彩虹捷运 测试库 CHJY admin 123456 <!-- 深圳彩虹捷运 测试库 CHJY admin 123456
<add name="DongShengDB" connectionString="Server=119.23.249.201,12356;Database=1107;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="DongShengDB" connectionString="Server=119.23.249.201,12356;Database=1107;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Server=119.23.249.201,12356;Database=1107;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="sydevzsh" connectionString="Server=119.23.249.201,12356;Database=1107;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
--> -->
<!-- 深圳泛亚捷运 正式库 SZFYJY admin 123456 <!-- 深圳泛亚捷运 正式库 SZFYJY admin 123456 -->
<add name="DongShengDB" connectionString="Server=39.108.7.69,62356;Database=ShippingWeb_SZFYJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="DongShengDB" connectionString="Server=39.108.7.69,62356;Database=ShippingWeb_SZFYJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Server=39.108.7.69,62356;Database=ShippingWeb_SZFYJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" /> <add name="sydevzsh" connectionString="Server=39.108.7.69,62356;Database=ShippingWeb_SZFYJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
-->
</connectionStrings> </connectionStrings>
<!-- <!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。

Loading…
Cancel
Save