zx/public/mer/js/chunk-1145abd2.56f5c2f2.js

1 line
11 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1145abd2"],{"31df":function(e,t,r){},"381f":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("el-tabs",{model:{value:e.headNum,callback:function(t){e.headNum=t},expression:"headNum"}},[r("el-tab-pane",{attrs:{name:"1",label:"一号通"}}),e._v(" "),r("el-tab-pane",{attrs:{name:"2",label:"电子面单"}})],1),e._v(" "),r("el-form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.rules,"label-width":"110px",size:"small"}},[1==e.headNum?[r("el-form-item",{attrs:{label:"APPID",prop:"serve_account"}},[r("el-input",{staticClass:"pageWidth",attrs:{placeholder:"请输入APPID"},model:{value:e.formValidate.serve_account,callback:function(t){e.$set(e.formValidate,"serve_account",t)},expression:"formValidate.serve_account"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"AppSecret",prop:"serve_token"}},[r("el-input",{staticClass:"pageWidth",attrs:{type:"input",placeholder:"请输入serve_token"},model:{value:e.formValidate.serve_token,callback:function(t){e.$set(e.formValidate,"serve_token",t)},expression:"formValidate.serve_token"}})],1)]:e._e(),e._v(" "),2==e.headNum?[r("el-form-item",{attrs:{label:"快递公司:"}},[r("el-select",{staticClass:"pageWidth",attrs:{placeholder:"请选择快递公司",clearable:"",filterable:""},on:{change:function(t){return e.getDumpList("")}},model:{value:e.formValidate.mer_from_com,callback:function(t){e.$set(e.formValidate,"mer_from_com",t)},expression:"formValidate.mer_from_com"}},e._l(e.deliveryList,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"电子面单:"}},[r("el-select",{staticClass:"pageWidth",attrs:{placeholder:"请选择电子面单",clearable:""},model:{value:e.formValidate.mer_config_temp_id,callback:function(t){e.$set(e.formValidate,"mer_config_temp_id",t)},expression:"formValidate.mer_config_temp_id"}},e._l(e.dumpList,(function(e){return r("el-option",{key:e.temp_id,attrs:{label:e.title,value:e.temp_id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"云打印机编号:"}},[r("el-input",{staticClass:"pageWidth",attrs:{placeholder:"请填写快递100云打印机编号"},model:{value:e.formValidate.mer_config_siid,callback:function(t){e.$set(e.formValidate,"mer_config_siid",t)},expression:"formValidate.mer_config_siid"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"寄件人姓名:",prop:"mer_from_name"}},[r("el-input",{staticClass:"pageWidth",attrs:{placeholder:"请输入寄件人姓名"},model:{value:e.formValidate.mer_from_name,callback:function(t){e.$set(e.formValidate,"mer_from_name",t)},expression:"formValidate.mer_from_name"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"寄件人电话:",prop:"mer_from_tel"}},[r("el-input",{staticClass:"pageWidth",attrs:{placeholder:"请输入寄件人电话"},model:{value:e.formValidate.mer_from_tel,callback:function(t){e.$set(e.formValidate,"mer_from_tel",t)},expression:"formValidate.mer_from_tel"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"寄件人地址:",prop:"mer_from_addr"}},[r("el-input",{staticClass:"pageWidth",attrs:{type:"textarea",placeholder:"请输入寄件人地址"},model:{value:e.formValidate.mer_from_addr,callback:function(t){e.$set(e.formValidate,"mer_from_addr",t)},expression:"formValidate.mer_from_addr"}})],1)]:e._e(),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("formValidate")}}},[e._v("提交")])],1)],2)],1)],1)},o=[],a=(r("7f7f"),r("90e7")),i=r("f8b7"),u={name:"Index",data:function(){return{headNum:"1",formValidate:{mer_config_temp_id:"",mer_from_com:"",mer_from_name:"",mer_config_siid:"",mer_from_tel:"",mer_from_addr:"",APPID:"",AppSecret:""},mer_config_temp_id:"",deliveryList:[],dumpList:[],loading:!1,rules:{mer_from_com:[{required:!0,message:"请选择快递公司",trigger:"change"}],mer_config_temp_id:[{required:!0,message:"请选<EFBFBD>