diff --git a/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js b/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js index 811ed6c5..3ab8f027 100644 --- a/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js +++ b/DSWeb/Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeEdit.js @@ -13001,7 +13001,10 @@ DFF42726-A0BA-4264-BFDF-2500A35E89C7 isVehiclesDispatcher 是否派车调度人 this.LoadPeriod(this.opStatus); - } else { + } + + else + { Ext.Ajax.request({ diff --git a/DSWeb/Areas/MvcShipping/Viewsjs/MsSeaeOrder/MsSeaeOrderEdit.js b/DSWeb/Areas/MvcShipping/Viewsjs/MsSeaeOrder/MsSeaeOrderEdit.js index a52ecfdc..262dbbb5 100644 --- a/DSWeb/Areas/MvcShipping/Viewsjs/MsSeaeOrder/MsSeaeOrderEdit.js +++ b/DSWeb/Areas/MvcShipping/Viewsjs/MsSeaeOrder/MsSeaeOrderEdit.js @@ -3400,6 +3400,8 @@ DFF42726-A0BA-4264-BFDF-2500A35E89C7 isVehiclesDispatcher 是否派车调度人 scope: this }); + + var BLTYPE = this.formHead.getForm().findField('BLTYPE').getValue(); if (BLTYPE == "拼箱单票" || BLTYPE == "拼箱分票") { @@ -3464,6 +3466,52 @@ DFF42726-A0BA-4264-BFDF-2500A35E89C7 isVehiclesDispatcher 是否派车调度人 this.storeFORWARDER.add(recordCustCode); } + + if (data.CUSTSERVICE != '') { + + var recordCustCode = Ext.create('DsShipping.ux.UserRefModel', { + GId: NewGuid(), + UserCode: data.CUSTSERVICE, + UserName: data.CUSTSERVICE, + CodeAndName: data.CUSTSERVICE + }); + + this.storeOpCode.add(recordCustCode); + } + if (data.SALE != '') { + + var recordCustCode = Ext.create('DsShipping.ux.UserRefModel', { + GId: NewGuid(), + UserCode: data.SALE, + UserName: data.SALE, + CodeAndName: data.SALE + }); + + this.storeOpCode2.add(recordCustCode); + } + if (data.OP != '') { + + var recordCustCode = Ext.create('DsShipping.ux.UserRefModel', { + GId: NewGuid(), + UserCode: data.OP, + UserName: data.OP, + CodeAndName: data.OP + }); + + this.storeOpCode3.add(recordCustCode); + } + if (data.DOC != '') { + + var recordCustCode = Ext.create('DsShipping.ux.UserRefModel', { + GId: NewGuid(), + UserCode: data.DOC, + UserName: data.DOC, + CodeAndName: data.DOC + }); + + this.storeOpCode4.add(recordCustCode); + } + }, //#endregion