From dc81656f96bebd44b5728450f0a175b98c3d65c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Mon, 15 Apr 2024 18:04:12 +0800 Subject: [PATCH 1/2] rules --- src/views/operation/seaexport/detail/rules.js | 333 +++++++++--------- 1 file changed, 168 insertions(+), 165 deletions(-) diff --git a/src/views/operation/seaexport/detail/rules.js b/src/views/operation/seaexport/detail/rules.js index 44357de7..065bd302 100644 --- a/src/views/operation/seaexport/detail/rules.js +++ b/src/views/operation/seaexport/detail/rules.js @@ -1,184 +1,187 @@ export default { basicRules: { - customername: [{ required: false, message: '请选择委托单位', trigger: 'change' }], + // customername: [{ required: false, message: '请选择委托单位', trigger: 'change' }], + bsno: [{ required: false, message: '请输入业务编号', trigger: 'change' }], + masterNo: [{ required: false, message: '请输入主票业务编号', trigger: 'change' }], mblno: [{ required: false, message: '请输入提单号', trigger: 'change' }], - carrierid: [{ required: false, message: '请选择船公司', trigger: 'change' }], - forwarder: [{ required: false, message: '请输入订舱代理', trigger: 'change' }], - pono: [{ required: false, message: '请输入PO NO', trigger: 'change' }], + mblno: [{ required: false, message: '选择模板', trigger: 'change' }], + // carrierid: [{ required: false, message: '请选择船公司', trigger: 'change' }], + // forwarder: [{ required: false, message: '请输入订舱代理', trigger: 'change' }], + // pono: [{ required: false, message: '请输入PO NO', trigger: 'change' }], hblno: [{ required: false, message: '请输入分提单号', trigger: 'change' }], - custno: [{ required: false, message: '请输入订舱编号', trigger: 'change' }], - contractno: [{ required: false, message: '请输入运费协议号', trigger: 'change' }], - tmblno: [{ required: false, message: '请输入真提单号', trigger: 'change' }], // VOLTA WHL CSL - epCode: [{ required: false, message: '请输入EP号', trigger: 'change' }], // esl - vessel: [{ required: false, message: '请输入船名', trigger: 'change' }], - lanecode: [{ required: false, message: '请输入航线代码', trigger: 'change' }], // esl - voynoinner: [{ required: false, message: '请输入内部航次', trigger: 'change' }], - voyno: [{ required: false, message: '请输入航次/海关航次', trigger: 'change' }], - etd: [{ required: false, message: '请选择开船日期', trigger: 'change' }], - zhanCangFlag: [{ required: false, message: '请选择是否占舱', trigger: 'change' }], - // atd: [{ required: false, message: '请选择实际开船日期', trigger: 'change' }], - lanename: [{ required: false, message: '请输入船司航线', trigger: 'change' }], - shipagency: [{ required: false, message: '请输入船代', trigger: 'change' }], - lineName: [{ required: false, message: '请输入航线', trigger: 'change' }], - sale: [{ required: false, message: '请选择揽货人员', trigger: 'change' }], - op: [{ required: false, message: '请选择操作人员', trigger: 'change' }], - doc: [{ required: false, message: '请选择单证人员', trigger: 'change' }], - custservice: [{ required: false, message: '请选择客服人员', trigger: 'change' }], - route: [{ required: false, message: '请选择航线操作', trigger: 'change' }], - lineManage: [{ required: false, message: '请选择航线管理', trigger: 'change' }], - dzRemark: [{ required: false, message: '请选择单证备注', trigger: 'change' }], - czRemark: [{ required: false, message: '请选择操作备注', trigger: 'change' }], + // custno: [{ required: false, message: '请输入订舱编号', trigger: 'change' }], + // contractno: [{ required: false, message: '请输入运费协议号', trigger: 'change' }], + // tmblno: [{ required: false, message: '请输入真提单号', trigger: 'change' }], // VOLTA WHL CSL + // epCode: [{ required: false, message: '请输入EP号', trigger: 'change' }], // esl + // vessel: [{ required: false, message: '请输入船名', trigger: 'change' }], + // lanecode: [{ required: false, message: '请输入航线代码', trigger: 'change' }], // esl + // voynoinner: [{ required: false, message: '请输入内部航次', trigger: 'change' }], + // voyno: [{ required: false, message: '请输入航次/海关航次', trigger: 'change' }], + // etd: [{ required: false, message: '请选择开船日期', trigger: 'change' }], + // zhanCangFlag: [{ required: false, message: '请选择是否占舱', trigger: 'change' }], + // // atd: [{ required: false, message: '请选择实际开船日期', trigger: 'change' }], + // lanename: [{ required: false, message: '请输入船司航线', trigger: 'change' }], + // shipagency: [{ required: false, message: '请输入船代', trigger: 'change' }], + // lineName: [{ required: false, message: '请输入航线', trigger: 'change' }], + // sale: [{ required: false, message: '请选择揽货人员', trigger: 'change' }], + // op: [{ required: false, message: '请选择操作人员', trigger: 'change' }], + // doc: [{ required: false, message: '请选择单证人员', trigger: 'change' }], + // custservice: [{ required: false, message: '请选择客服人员', trigger: 'change' }], + // route: [{ required: false, message: '请选择航线操作', trigger: 'change' }], + // lineManage: [{ required: false, message: '请选择航线管理', trigger: 'change' }], + // dzRemark: [{ required: false, message: '请选择单证备注', trigger: 'change' }], + // czRemark: [{ required: false, message: '请选择操作备注', trigger: 'change' }], }, mailingRules: { - shipper: [{ required: false, message: '请输入发货人', trigger: 'submit' }], - consignee: [{ required: false, message: '请输入收货人', trigger: 'submit' }], - notifyparty: [{ required: false, message: '请输入通知人', trigger: 'submit' }], - yard: [{ required: false, message: '请输入场站', trigger: 'change' }], - feeself: [{ required: false, message: '请选择场站费自结', trigger: 'change' }], - customser: [{ required: false, message: '请输入报关行', trigger: 'change' }], - trucker: [{ required: false, message: '请输入车队', trigger: 'change' }], - agentname: [{ required: false, message: '请输入国外代理', trigger: 'change' }], - warehouse: [{ required: false, message: '请选择仓库', trigger: 'change' }], - shippingMethod: [{ required: false, message: '请选择装运方式', trigger: 'change' }], - closingdate: [{ required: false, message: '请选择截港时间', trigger: 'change' }], - closedocdate: [{ required: false, message: '请选择截单时间', trigger: 'change' }], - closevgmdate: [{ required: false, message: '请选择VGM时间', trigger: 'change' }], - placereceiptid: [{ required: false, message: '请选择收货地代码', trigger: 'change' }], - placereceipt: [{ required: false, message: '请选择收货地', trigger: 'change' }], - portloadid: [{ required: false, message: '请选择装货港代码', trigger: 'change' }], - portload: [{ required: false, message: '请选择装货港', trigger: 'change' }], - transportid: [{ required: false, message: '请选择中转港代码', trigger: 'change' }], - transport: [{ required: false, message: '请选择中转港', trigger: 'change' }], - portdischargeid: [{ required: false, message: '请选择卸货港代码', trigger: 'change' }], - portdischarge: [{ required: false, message: '请选择卸货港', trigger: 'change' }], - destinationid: [{ required: false, message: '请选择目的代码', trigger: 'change' }], - destination: [{ required: false, message: '请选择目的地', trigger: 'change' }], - placedeliveryid: [{ required: true, message: '请选择交货代码', trigger: 'change' }], - placedelivery: [{ required: true, message: '请选择交货地', trigger: 'change' }], - pkgs: [{ required: false, message: '请输入件数', trigger: 'change' }], - kindpkgs: [{ required: false, message: '请输入包装', trigger: 'change' }], - kgs: [{ required: false, message: '请输入毛重', trigger: 'change' }], - cbm: [{ required: false, message: '请输入尺寸', trigger: 'change' }], - blfrt: [{ required: false, message: '请选择付费方式', trigger: 'change' }], + // shipper: [{ required: false, message: '请输入发货人', trigger: 'submit' }], + // consignee: [{ required: false, message: '请输入收货人', trigger: 'submit' }], + // notifyparty: [{ required: false, message: '请输入通知人', trigger: 'submit' }], + // yard: [{ required: false, message: '请输入场站', trigger: 'change' }], + // feeself: [{ required: false, message: '请选择场站费自结', trigger: 'change' }], + // customser: [{ required: false, message: '请输入报关行', trigger: 'change' }], + // trucker: [{ required: false, message: '请输入车队', trigger: 'change' }], + // agentname: [{ required: false, message: '请输入国外代理', trigger: 'change' }], + // warehouse: [{ required: false, message: '请选择仓库', trigger: 'change' }], + // shippingMethod: [{ required: false, message: '请选择装运方式', trigger: 'change' }], + // closingdate: [{ required: false, message: '请选择截港时间', trigger: 'change' }], + // closedocdate: [{ required: false, message: '请选择截单时间', trigger: 'change' }], + // closevgmdate: [{ required: false, message: '请选择VGM时间', trigger: 'change' }], + // placereceiptid: [{ required: false, message: '请选择收货地代码', trigger: 'change' }], + // placereceipt: [{ required: false, message: '请选择收货地', trigger: 'change' }], + // portloadid: [{ required: false, message: '请选择装货港代码', trigger: 'change' }], + // portload: [{ required: false, message: '请选择装货港', trigger: 'change' }], + // transportid: [{ required: false, message: '请选择中转港代码', trigger: 'change' }], + // transport: [{ required: false, message: '请选择中转港', trigger: 'change' }], + // portdischargeid: [{ required: false, message: '请选择卸货港代码', trigger: 'change' }], + // portdischarge: [{ required: false, message: '请选择卸货港', trigger: 'change' }], + // destinationid: [{ required: false, message: '请选择目的代码', trigger: 'change' }], + // destination: [{ required: false, message: '请选择目的地', trigger: 'change' }], + // placedeliveryid: [{ required: true, message: '请选择交货代码', trigger: 'change' }], + // placedelivery: [{ required: true, message: '请选择交货地', trigger: 'change' }], + // pkgs: [{ required: false, message: '请输入件数', trigger: 'change' }], + // kindpkgs: [{ required: false, message: '请输入包装', trigger: 'change' }], + // kgs: [{ required: false, message: '请输入毛重', trigger: 'change' }], + // cbm: [{ required: false, message: '请输入尺寸', trigger: 'change' }], + // blfrt: [{ required: false, message: '请选择付费方式', trigger: 'change' }], }, cargoRules: { - marks: [{ required: false, message: '请输入Seal No. Marks & Nos', trigger: 'change' }], - cargoid: [{ required: false, message: '请选择货物标志', trigger: 'change' }], - hscode: [{ required: false, message: '请输入HS编码', trigger: 'change' }], - description: [{ required: false, message: '请输入包装种类与货名', trigger: 'change' }], - goodsname: [{ required: false, message: '请选择品名', trigger: 'change' }], + // marks: [{ required: false, message: '请输入Seal No. Marks & Nos', trigger: 'change' }], + // cargoid: [{ required: false, message: '请选择货物标志', trigger: 'change' }], + // hscode: [{ required: false, message: '请输入HS编码', trigger: 'change' }], + // description: [{ required: false, message: '请输入包装种类与货名', trigger: 'change' }], + // goodsname: [{ required: false, message: '请选择品名', trigger: 'change' }], }, billRules: { - issuetype: [{ required: false, message: '请选择签单方式', trigger: 'change' }], - issuedate: [{ required: false, message: '请选择签单日期', trigger: 'change' }], - issueplace: [{ required: false, message: '请选择签单地点', trigger: 'change' }], - issueplaceid: [{ required: false, message: '请输入签单地代码', trigger: 'change' }], - nobill: [{ required: false, message: '请选择提单份数', trigger: 'change' }], - copynobill: [{ required: false, message: '请选择副本份数', trigger: 'change' }], - prepardat: [{ required: false, message: '请选择预付地点', trigger: 'change' }], - payableat: [{ required: false, message: '请选择到付地点', trigger: 'change' }], - blfrt: [{ required: false, message: '请选择付费方式', trigger: 'change' }], - thirdpayaddr: [{ required: false, message: '请输入第三付款地', trigger: 'change' }], - service: [{ required: false, message: '请选择运输条款', trigger: 'change' }], - reeferf: [{ required: false, message: '请输入冷藏通风量', trigger: 'change' }], - tempset: [{ required: false, message: '请输入温度', trigger: 'change' }], - tempid: [{ required: false, message: '请选择温度单位', trigger: 'change' }], - tempmin: [{ required: false, message: '请输入最低温度', trigger: 'change' }], - tempmax: [{ required: false, message: '请输入最高温度', trigger: 'change' }], - humidity: [{ required: false, message: '请输入湿度', trigger: 'change' }], - dclass: [{ required: false, message: '请输入危险品等级', trigger: 'change' }], - dunno: [{ required: false, message: '请输入危险品编号', trigger: 'change' }], - dpage: [{ required: false, message: '请输入危险品页号', trigger: 'change' }], - dlabel: [{ required: false, message: '请输入危险品标签', trigger: 'change' }], - linkman: [{ required: false, message: '请输入危险品联系人', trigger: 'change' }], + // issuetype: [{ required: false, message: '请选择签单方式', trigger: 'change' }], + // issuedate: [{ required: false, message: '请选择签单日期', trigger: 'change' }], + // issueplace: [{ required: false, message: '请选择签单地点', trigger: 'change' }], + // issueplaceid: [{ required: false, message: '请输入签单地代码', trigger: 'change' }], + // nobill: [{ required: false, message: '请选择提单份数', trigger: 'change' }], + // copynobill: [{ required: false, message: '请选择副本份数', trigger: 'change' }], + // prepardat: [{ required: false, message: '请选择预付地点', trigger: 'change' }], + // payableat: [{ required: false, message: '请选择到付地点', trigger: 'change' }], + // blfrt: [{ required: false, message: '请选择付费方式', trigger: 'change' }], + // thirdpayaddr: [{ required: false, message: '请输入第三付款地', trigger: 'change' }], + // service: [{ required: false, message: '请选择运输条款', trigger: 'change' }], + // reeferf: [{ required: false, message: '请输入冷藏通风量', trigger: 'change' }], + // tempset: [{ required: false, message: '请输入温度', trigger: 'change' }], + // tempid: [{ required: false, message: '请选择温度单位', trigger: 'change' }], + // tempmin: [{ required: false, message: '请输入最低温度', trigger: 'change' }], + // tempmax: [{ required: false, message: '请输入最高温度', trigger: 'change' }], + // humidity: [{ required: false, message: '请输入湿度', trigger: 'change' }], + // dclass: [{ required: false, message: '请输入危险品等级', trigger: 'change' }], + // dunno: [{ required: false, message: '请输入危险品编号', trigger: 'change' }], + // dpage: [{ required: false, message: '请输入危险品页号', trigger: 'change' }], + // dlabel: [{ required: false, message: '请输入危险品标签', trigger: 'change' }], + // linkman: [{ required: false, message: '请输入危险品联系人', trigger: 'change' }], }, remarksRules: { - soremark: [{ required: false, message: '请输入订舱备注', trigger: 'change' }], - siremark: [{ required: false, message: '请输入截单备注', trigger: 'change' }], + // soremark: [{ required: false, message: '请输入订舱备注', trigger: 'change' }], + // siremark: [{ required: false, message: '请输入截单备注', trigger: 'change' }], }, ediRules: { - 'bookingEDIExt.sendCode': [ - { required: false, message: '请输入发送方EDI代码', trigger: 'change' }, - ], - 'bookingEDIExt.receiveCode': [ - { required: false, message: '请输入接收方EDI代码', trigger: 'change' }, - ], - 'bookingEDIExt.ediAttn': [ - { required: false, message: '请输入EDI联系人名称', trigger: 'change' }, - ], - 'bookingEDIExt.ediAttnTel': [ - { required: false, message: '请输入EDI联系人电话', trigger: 'change' }, - ], - 'bookingEDIExt.ediAttnMail': [ - { required: false, message: '请输入EDI联系人邮箱', trigger: 'change' }, - ], - 'bookingEDIExt.amsConsignee': [ - { required: false, message: '请输入AMS收货人', trigger: 'change' }, - ], - 'bookingEDIExt.amsNotifyParty': [ - { required: false, message: '请输入AMS通知人', trigger: 'change' }, - ], - 'bookingEDIExt.opEName': [ - { required: false, message: '请输入操作英文名称', trigger: 'change' }, - ], - 'bookingEDIExt.opTel': [{ required: false, message: '请输入操作电话', trigger: 'change' }], - 'bookingEDIExt.opEmail': [{ required: false, message: '请输入操作邮箱', trigger: 'change' }], - 'bookingEDIExt.goodsName': [{ required: false, message: '请输入商品名称', trigger: 'change' }], - iscontainersoc: [{ required: false, message: '请输入SOC箱', trigger: 'change' }], - scaccode: [{ required: false, message: '请输入SCAC代码', trigger: 'change' }], - itncode: [{ required: false, message: '请输入ITN编号', trigger: 'change' }], - 'bookingEDIExt.orderRemark': [ - { required: false, message: '请输入订舱人说明', trigger: 'change' }, - ], - freightpayer: [{ required: false, message: '请输入付款方', trigger: 'change' }], - 'bookingEDIExt.kingTareweight': [ - { required: false, message: '请输入第一层包装皮重', trigger: 'change' }, - ], - 'bookingEDIExt.weiTuoFang': [{ required: false, message: '请输入委托方', trigger: 'change' }], - 'bookingEDIExt.exRemark1': [{ required: false, message: '请输入辅助字段1', trigger: 'change' }], - 'bookingEDIExt.exRemark2': [{ required: false, message: '请输入辅助字段2', trigger: 'change' }], - 'bookingEDIExt.exRemark3': [{ required: false, message: '请输入辅助字段3', trigger: 'change' }], - 'bookingEDIExt.exRemark4': [{ required: false, message: '请输入辅助字段4', trigger: 'change' }], - 'bookingEDIExt.consigneeEdiCode': [ - { required: false, message: '请输入收货人EDI代码', trigger: 'change' }, - ], - 'bookingEDIExt.shipperEdiCode': [ - { required: false, message: '请输入发货人EDI代码', trigger: 'change' }, - ], - 'bookingEDIExt.notifyCdoe': [ - { required: false, message: '请输入通知方EDI代码', trigger: 'change' }, - ], - 'bookingEDIExt.salerCode': [ - { required: false, message: '请输入太平销售EDI代码', trigger: 'change' }, - ], - 'bookingEDIExt.emanifestHbl': [ - { required: false, message: '请输入EMANIFEST HBL', trigger: 'change' }, - ], - 'bookingEDIExt.masterBolIndicator': [ - { required: false, message: '请输入Master Bol Indicator', trigger: 'change' }, - ], - 'bookingEDIExt.s0CC0C': [{ required: false, message: '请输入S0C C0C', trigger: 'change' }], - 'bookingEDIExt.ckhi': [ - { required: false, message: '请输入欧盟港口、伊朗港口、KHI', trigger: 'change' }, - ], - 'bookingEDIExt.cncm': [{ required: false, message: '请输入南美东', trigger: 'change' }], - 'bookingEDIExt.wncm': [ - { required: false, message: '请输入巴西线木质包装情况', trigger: 'change' }, - ], - 'bookingEDIExt.acihbl': [{ required: false, message: '请输入ACI HBL', trigger: 'change' }], + // 'bookingEDIExt.sendCode': [ + // { required: false, message: '请输入发送方EDI代码', trigger: 'change' }, + // ], + // 'bookingEDIExt.receiveCode': [ + // { required: false, message: '请输入接收方EDI代码', trigger: 'change' }, + // ], + // 'bookingEDIExt.ediAttn': [ + // { required: false, message: '请输入EDI联系人名称', trigger: 'change' }, + // ], + // 'bookingEDIExt.ediAttnTel': [ + // { required: false, message: '请输入EDI联系人电话', trigger: 'change' }, + // ], + // 'bookingEDIExt.ediAttnMail': [ + // { required: false, message: '请输入EDI联系人邮箱', trigger: 'change' }, + // ], + // 'bookingEDIExt.amsConsignee': [ + // { required: false, message: '请输入AMS收货人', trigger: 'change' }, + // ], + // 'bookingEDIExt.amsNotifyParty': [ + // { required: false, message: '请输入AMS通知人', trigger: 'change' }, + // ], + // 'bookingEDIExt.opEName': [ + // { required: false, message: '请输入操作英文名称', trigger: 'change' }, + // ], + // 'bookingEDIExt.opTel': [{ required: false, message: '请输入操作电话', trigger: 'change' }], + // 'bookingEDIExt.opEmail': [{ required: false, message: '请输入操作邮箱', trigger: 'change' }], + // 'bookingEDIExt.goodsName': [{ required: false, message: '请输入商品名称', trigger: 'change' }], + // iscontainersoc: [{ required: false, message: '请输入SOC箱', trigger: 'change' }], + // scaccode: [{ required: false, message: '请输入SCAC代码', trigger: 'change' }], + // itncode: [{ required: false, message: '请输入ITN编号', trigger: 'change' }], + // 'bookingEDIExt.orderRemark': [ + // { required: false, message: '请输入订舱人说明', trigger: 'change' }, + // ], + // freightpayer: [{ required: false, message: '请输入付款方', trigger: 'change' }], + // 'bookingEDIExt.kingTareweight': [ + // { required: false, message: '请输入第一层包装皮重', trigger: 'change' }, + // ], + // 'bookingEDIExt.weiTuoFang': [{ required: false, message: '请输入委托方', trigger: 'change' }], + // 'bookingEDIExt.exRemark1': [{ required: false, message: '请输入辅助字段1', trigger: 'change' }], + // 'bookingEDIExt.exRemark2': [{ required: false, message: '请输入辅助字段2', trigger: 'change' }], + // 'bookingEDIExt.exRemark3': [{ required: false, message: '请输入辅助字段3', trigger: 'change' }], + // 'bookingEDIExt.exRemark4': [{ required: false, message: '请输入辅助字段4', trigger: 'change' }], + // 'bookingEDIExt.consigneeEdiCode': [ + // { required: false, message: '请输入收货人EDI代码', trigger: 'change' }, + // ], + // 'bookingEDIExt.shipperEdiCode': [ + // { required: false, message: '请输入发货人EDI代码', trigger: 'change' }, + // ], + // 'bookingEDIExt.notifyCdoe': [ + // { required: false, message: '请输入通知方EDI代码', trigger: 'change' }, + // ], + // 'bookingEDIExt.salerCode': [ + // { required: false, message: '请输入太平销售EDI代码', trigger: 'change' }, + // ], + // 'bookingEDIExt.emanifestHbl': [ + // { required: false, message: '请输入EMANIFEST HBL', trigger: 'change' }, + // ], + // 'bookingEDIExt.masterBolIndicator': [ + // { required: false, message: '请输入Master Bol Indicator', trigger: 'change' }, + // ], + // 'bookingEDIExt.s0CC0C': [{ required: false, message: '请输入S0C C0C', trigger: 'change' }], + // 'bookingEDIExt.ckhi': [ + // { required: false, message: '请输入欧盟港口、伊朗港口、KHI', trigger: 'change' }, + // ], + // 'bookingEDIExt.cncm': [{ required: false, message: '请输入南美东', trigger: 'change' }], + // 'bookingEDIExt.wncm': [ + // { required: false, message: '请输入巴西线木质包装情况', trigger: 'change' }, + // ], + // 'bookingEDIExt.acihbl': [{ required: false, message: '请输入ACI HBL', trigger: 'change' }], }, tableRules: { - ctnall: { required: false, title: '箱型', message: '请选择箱型', trigger: 'change' }, - ctnnum: { required: false, title: '箱量', message: '请选择箱量', trigger: 'change' }, - cntrno: { required: false, title: '箱号', message: '请选择箱号', trigger: 'change' }, - sealno: { required: false, title: '封号', message: '请选择封号', trigger: 'change' }, - pkgs: { required: false, title: '件数', message: '请选择件数', trigger: 'change' }, - kindpkgs: { required: false, title: '包装', message: '请选择包装', trigger: 'change' }, - kgs: { required: false, title: '重量', message: '请选择重量', trigger: 'change' }, - cbm: { required: false, title: '尺码', message: '请选择尺码', trigger: 'change' }, - tareweight: { required: false, title: '箱皮重', message: '请选择箱皮重', trigger: 'change' }, - weightype: { required: false, title: '称重方式', message: '请选择称重方式', trigger: 'change' }, - weighkgs: { required: false, title: '称重重量', message: '请选择称重重量', trigger: 'change' }, + // ctnall: { required: false, title: '箱型', message: '请选择箱型', trigger: 'change' }, + // ctnnum: { required: false, title: '箱量', message: '请选择箱量', trigger: 'change' }, + // cntrno: { required: false, title: '箱号', message: '请选择箱号', trigger: 'change' }, + // sealno: { required: false, title: '封号', message: '请选择封号', trigger: 'change' }, + // pkgs: { required: false, title: '件数', message: '请选择件数', trigger: 'change' }, + // kindpkgs: { required: false, title: '包装', message: '请选择包装', trigger: 'change' }, + // kgs: { required: false, title: '重量', message: '请选择重量', trigger: 'change' }, + // cbm: { required: false, title: '尺码', message: '请选择尺码', trigger: 'change' }, + // tareweight: { required: false, title: '箱皮重', message: '请选择箱皮重', trigger: 'change' }, + // weightype: { required: false, title: '称重方式', message: '请选择称重方式', trigger: 'change' }, + // weighkgs: { required: false, title: '称重重量', message: '请选择称重重量', trigger: 'change' }, }, preRules: { ctn: { required: false, title: '箱型', message: '请选择箱型', trigger: 'change' }, From eb829262d8b685b66e1321ad25af9575864dde4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Mon, 15 Apr 2024 18:05:16 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operation/seaexport/api/BookingLedger.js | 19 +- .../operation/seaexport/detail/index.vue | 2255 +++++++++-------- .../seaexport/detail/modules/basicInfo.vue | 6 +- .../seaexport/detail/modules/cargoInfo.vue | 8 +- .../seaexport/detail/modules/mailingInfo.vue | 8 +- .../detail/modules/operationArea.vue | 15 +- src/views/operation/seaexport/index.vue | 152 +- 7 files changed, 1181 insertions(+), 1282 deletions(-) diff --git a/src/views/operation/seaexport/api/BookingLedger.js b/src/views/operation/seaexport/api/BookingLedger.js index 70b327bb..96db7211 100644 --- a/src/views/operation/seaexport/api/BookingLedger.js +++ b/src/views/operation/seaexport/api/BookingLedger.js @@ -34,6 +34,14 @@ export function GetUserQuerySet(parameter) { params: parameter, }) } +// 获取船公司 +export function GetCarrierlist(parameter) { + return request({ + url: '/mainApi/ClientCommon/GetCarrierClientList', + method: 'get', + params: parameter, + }) +} /** * 获取订舱明细 * @params Id @@ -68,17 +76,6 @@ export function DjyCustomerSuggest(parameter) { params: parameter, }) } -/** - * 获取船公司 - * @params CnName - */ -export function GetCarrierlist(parameter) { - return request({ - url: '/commondb/carrierlist', - method: 'get', - params: parameter, - }) -} /** * 获取船名 diff --git a/src/views/operation/seaexport/detail/index.vue b/src/views/operation/seaexport/detail/index.vue index dfdad703..3675c189 100644 --- a/src/views/operation/seaexport/detail/index.vue +++ b/src/views/operation/seaexport/detail/index.vue @@ -40,7 +40,7 @@ -
  • +
  • @@ -176,11 +176,11 @@ }) -->