From 7d0f08949de6eef2a403ec1cf54626cc34a1b13f Mon Sep 17 00:00:00 2001 From: ddlucky Date: Mon, 10 Apr 2023 10:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E5=94=AE=E8=AE=A2=E8=88=B1=E7=9A=84?= =?UTF-8?q?=EF=BC=9A=E6=93=8D=E4=BD=9C=20=E9=94=80=E5=94=AE=20=E5=8D=95?= =?UTF-8?q?=E8=AF=81=20=E5=AE=A2=E6=9C=8D=20=E6=94=B9=E4=B8=BAloadinit?= =?UTF-8?q?=E6=97=B6=E5=86=99=E5=85=A5data=E4=B8=AD=E7=9A=84=E5=80=BC?= =?UTF-8?q?=EF=BC=8C=E5=8D=B3=E7=B1=BB=E4=BC=BC=E6=B5=B7=E8=BF=90=E5=87=BA?= =?UTF-8?q?=E5=8F=A3=E7=9A=84=E6=87=92=E5=8A=A0=E8=BD=BD=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Viewsjs/MsOpSeae/MsOpSeaeEdit.js | 5 +- .../Viewsjs/MsSeaeOrder/MsSeaeOrderEdit.js | 48 +++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) 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