(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e49ba9c4","chunk-08793e13","chunk-58df6c5c"],{1414:function(e,t,a){"use strict";a("e1c4")},"193a":function(e,t,a){"use strict";a("b121")},"20ca":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const s=(e,t)=>{let a,s=t||300;return function(){let t=arguments;a&&clearTimeout(a);let r=!a;a=setTimeout(()=>{a=null},s),r&&e.apply(this,t)}}},"3d0c":function(e,t,a){},"5eeb":function(e,t,a){"use strict";a("3d0c")},7114:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{staticClass:"transport-dialog",attrs:{title:e.dataForm.transportId?"修改":"新增","close-on-click-modal":!1,visible:e.visible,width:"1400px"},on:{"update:visible":function(t){e.visible=t}}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,"label-width":"80px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:"模板名称",prop:"transName",rules:[{required:!0,message:"模板名称不能为空"},{pattern:/\s\S+|S+\s|\S/,message:"请输入正确的模板名称",trigger:"blur"}]}},[a("el-input",{attrs:{placeholder:"模板名称"},model:{value:e.dataForm.transName,callback:function(t){e.$set(e.dataForm,"transName",t)},expression:"dataForm.transName"}})],1),a("el-form-item",{attrs:{label:"模板类型",prop:"isFreeFee",required:"required"}},[[a("el-radio-group",{on:{change:e.changeFreeFee},model:{value:e.dataForm.isFreeFee,callback:function(t){e.$set(e.dataForm,"isFreeFee",t)},expression:"dataForm.isFreeFee"}},[a("el-radio",{attrs:{label:0}},[e._v("买家承担运费")]),a("el-radio",{attrs:{label:1}},[e._v("卖家包邮")])],1)]],2),a("el-form-item",{attrs:{label:"收费方式",prop:"chargeType"}},[[a("el-radio-group",{attrs:{disabled:1==e.dataForm.isFreeFee},model:{value:e.dataForm.chargeType,callback:function(t){e.$set(e.dataForm,"chargeType",t)},expression:"dataForm.chargeType"}},[a("el-radio",{attrs:{label:0}},[e._v("按件数")]),a("el-radio",{attrs:{label:1}},[e._v("按重量")]),a("el-radio",{attrs:{label:2}},[e._v("按体积")])],1)]],2),a("el-table",{staticClass:"table-con",staticStyle:{width:"100%"},attrs:{data:e.dataForm.transfees,border:""}},[a("el-table-column",{attrs:{"header-align":"center",align:"center",width:"450",label:"可配送区域"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.$index?a("span",[e._v("所有地区")]):e._e(),t.row.cityList&&t.row.cityList.length||!(t.$index>0)?e._e():a("span",[e._v("请选择可配送区域")]),t.$index>0?a("span",e._l(t.row.cityList,(function(t){return a("el-tag",{key:t.areaId},[e._v(e._s(t.areaName))])})),1):e._e(),e.isAuth("shop:transfee:update")&&t.$index>0?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.addOrUpdateHandle(""+t.$index)}}},[e._v("编辑")]):e._e(),e.isAuth("shop:transfee:delete")&&t.$index>0?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.deleteHandle(""+t.$index)}}},[e._v("删除")]):e._e()]}}])}),a("el-table-column",{attrs:{"header-align":"center",align:"center",width:"180",label:e.tableTitle[0]},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"transfees."+t.$index+".firstPiece","label-width":"0px",rules:[{required:!0,message:e.tableTitle[0]+"不能为空"}]}},[a("el-input",{attrs:{type:"number",disabled:!t.row.status&&0===t.$index},on:{change:function(a){return e.checkNumber(t.row,1)}},model:{value:t.row.firstPiece,callback:function(a){e.$set(t.row,"firstPiece",a)},expression:"scope.row.firstPiece"}})],1)]}}])}),a("el-table-column",{attrs:{"header-align":"center",align:"center",label:e.tableTitle[1]},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"transfees."+t.$index+".firstFee","label-width":"0px",rules:[{required:!0,message:e.tableTitle[1]+"不能为空"}]}},[a("el-input",{attrs:{type:"number",disabled:!t.row.status&&0===t.$index},model:{value:t.row.firstFee,callback:function(a){e.$set(t.row,"firstFee",a)},expression:"scope.row.firstFee"}})],1)]}}])}),a("el-table-column",{attrs:{"header-align":"center",align:"center",label:e.tableTitle[2]},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"transfees."+t.$index+".continuousPiece","label-width":"0px",rules:[{required:!0,message:e.tableTitle[2]+"不能为空"}]}},[a("el-input",{attrs:{type:"number",disabled:!t.row.status&&0===t.$index},on:{change:function(a){return e.checkNumber(t.row,3)}},model:{value:t.row.continuousPiece,callback:function(a){e.$set(t.row,"continuousPiece",a)},expression:"scope.row.continuousPiece"}})],1)]}}])}),a("el-table-column",{attrs:{"header-align":"center",align:"center",label:e.tableTitle[3]},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"transfees."+t.$index+".continuousFee","label-width":"0px",rules:[{required:!0,message:e.tableTitle[3]+"不能为空"}]}},[a("el-input",{attrs:{type:"number",disabled:!t.row.status&&0===t.$index},model:{value:t.row.continuousFee,callback:function(a){e.$set(t.row,"continuousFee",a)},expression:"scope.row.continuousFee"}})],1)]}}])})],1),0==e.dataForm.isFreeFee?a("div",{staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-location-outline"},on:{click:function(t){return e.addTransfee()}}},[e._v("点击添加可配送的区域和运费")])],1):e._e(),e.dataForm.isFreeFee?e._e():a("el-checkbox",{staticStyle:{"margin-top":"10px","font-size":"50px"},model:{value:e.dataForm.hasFreeCondition,callback:function(t){e.$set(e.dataForm,"hasFreeCondition",t)},expression:"dataForm.hasFreeCondition"}},[e._v("指定条件包邮")]),e.dataForm.hasFreeCondition&&!e.dataForm.isFreeFee?a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataForm.transfeeFrees,border:""}},[a("el-table-column",{attrs:{"header-align":"center",align:"center",width:"350",label:"指定区域"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.freeCityList&&t.row.freeCityList.length?e._e():a("span",[e._v("请选择指定包邮城市")]),e._l(t.row.freeCityList,(function(t){return a("el-tag",{key:t.areaId},[e._v(e._s(t.areaName))])})),e.isAuth("shop:transfee:update")?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.addOrUpdateTransfeeFree(""+t.$index)}}},[e._v("编辑")]):e._e(),e.isAuth("shop:transfee:delete")?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.deleteTransfeeFree(""+t.$index)}}},[e._v("删除")]):e._e()]}}],null,!1,3082875511)}),a("el-table-column",{attrs:{"header-align":"center",align:"center",width:"600",label:"设置包邮条件"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-radio-group",{model:{value:t.row.freeType,callback:function(a){e.$set(t.row,"freeType",a)},expression:"scope.row.freeType"}},[a("el-radio",{attrs:{label:0}},[e._v("满件/重量/体积包邮")]),a("el-radio",{attrs:{label:1}},[e._v("满金额包邮")]),a("el-radio",{attrs:{label:2}},[e._v("满件/重量/体积且满金额包邮")])],1)]}}],null,!1,949012075)}),a("el-table-column",{attrs:{"header-align":"center",align:"left"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.freeType||2==t.row.freeType?a("el-form-item",{attrs:{prop:"transfeeFrees."+t.$index+".amount","label-width":"0px",rules:[{required:!0,message:"不能为空"}]}},[e._v(" 满 "),a("el-input",{staticStyle:{width:"100px"},model:{value:t.row.amount,callback:function(a){e.$set(t.row,"amount",a)},expression:"scope.row.amount"}}),e._v(" 元包邮 ")],1):e._e(),0==t.row.freeType||2==t.row.freeType?a("el-form-item",{attrs:{prop:"transfeeFrees."+t.$index+".piece","label-width":"0px",rules:[{required:!0,message:"不能为空"}]}},[e._v(" 满 "),a("el-input",{staticStyle:{width:"100px"},model:{value:t.row.piece,callback:function(a){e.$set(t.row,"piece",a)},expression:"scope.row.piece"}}),e._v(" 件/重量/体积包邮 ")],1):e._e()]}}],null,!1,3563727550)})],1):e._e(),0==e.dataForm.isFreeFee?a("div",{staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-location-outline"},on:{click:function(t){return e.addTransfeeFree()}}},[e._v("点击添加指定包邮条件")])],1):e._e()],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.dataFormSubmit()}}},[e._v("确定")])],1),e.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:e.getDataList}}):e._e()],1)},r=[],i=(a("14d9"),a("20ca")),n=a("8bae"),l={data(){return{hasFreeCondition:0,visible:!1,addOrUpdateVisible:!1,dataForm:{hasFreeCondition:!1,transName:"",createTime:"",chargeType:0,transportId:0,isFreeFee:0,transfees:[{cityList:[],status:1}],transfeeFrees:[{freeCityList:[],freeType:0}]},page:{total:0,currentPage:1,pageSize:10},editVisible:!1}},components:{AddOrUpdate:n["default"]},watch:{visible:function(e){e||(this.addOrUpdateVisible=!1)}},computed:{tableTitle(){var e=[["首件(个)","运费(元)","续件(个)","续费(元)"],["首重(kg)","运费(元)","续重(kg)","续费(元)"],["首体积(m³)","运费(元)","续体积(m³)","续费(元)"]];return this.dataForm.chargeType?e[this.dataForm.chargeType]:e[0]}},methods:{init(e){this.visible=!0,this.dataForm.transportId=e||0,this.$nextTick(()=>{this.$refs.dataForm.resetFields(),this.dataForm={hasFreeCondition:!1,transName:"",createTime:"",chargeType:0,transportId:0,isFreeFee:0,transfees:[{cityList:[],status:1}],transfeeFrees:[{freeCityList:[],freeType:0}]}}),this.dataForm.transportId&&this.$http({url:this.$http.adornUrl("/shop/transport/info/"+this.dataForm.transportId),method:"get"}).then(({data:e})=>{e.isFreeFee?e.transfees[0].status=0:e.transfees[0].status=1,this.dataForm=e,this.dataForm.hasFreeCondition=!!e.hasFreeCondition})},getDataList(e,t,a){0===a&&this.$set(this.dataForm.transfees[e],"cityList",t),1===a&&this.$set(this.dataForm.transfeeFrees[e],"freeCityList",t)},addTransfee(){this.editVisible=!0,this.dataForm.transfees.push({cityList:[],status:1})},deleteHandle(e){this.dataForm.transfees.splice(e,1)},addOrUpdateHandle(e){this.addOrUpdateVisible=!0;let t=[];for(let a=1;a<this.dataForm.transfees.length;a++){const e=this.dataForm.transfees[a].cityList;t=t.concat(e)}this.$nextTick(()=>{this.$refs.addOrUpdate.init(e,this.dataForm.transfees[e].cityList||[],t,0)})},addTransfeeFree(){this.dataForm.hasFreeCondition&&this.dataForm.transfeeFrees.push({freeCityList:[],freeType:0})},deleteTransfeeFree(e){this.dataForm.transfeeFrees.splice(e,1)},addOrUpdateTransfeeFree(e){this.addOrUpdateVisible=!0;let t=[];for(let a=1;a<this.dataForm.transfeeFrees.length;a++){const e=this.dataForm.transfeeFrees[a].freeCityList;t=t.concat(e)}this.$nextTick(()=>{this.$refs.addOrUpdate.init(e,this.dataForm.transfeeFrees[e].freeCityList||[],t,1)})},changeFreeFee(e){this.dataForm.hasFreeCondition=!1,e?(this.dataForm.chargeType=0,this.dataForm.transfees=[{cityList:[],status:0,firstPiece:1,firstFee:0,continuousPiece:1,continuousFee:0}]):this.dataForm.transfees=[{cityList:[],status:1}]},checkNumber(e,t){1===t?(e.firstPiece=this.getNumber(e.firstPiece),e.firstPiece=0===e.firstPiece?1:e.firstPiece):3===t&&(e.continuousPiece=this.getNumber(e.continuousPiece),e.continuousPiece=0===e.continuousPiece?1:e.continuousPiece)},getNumber(e){return e=Math.round(e),e<0?0:e},dataFormSubmit:Object(i["a"])((function(){this.$refs["dataForm"].validate(e=>{if(e){for(let e=1;e<this.dataForm.transfees.length;e++){const t=this.dataForm.transfees[e];if(0===t.cityList.length)return void this.$message({message:"请选择可配送区域",type:"error",duration:1500})}this.dataForm.hasFreeCondition?this.hasFreeCondition=1:this.hasFreeCondition=0,this.dataForm.transfees[0].cityList=[],this.$http({url:this.$http.adornUrl("/shop/transport"),method:this.dataForm.transportId?"put":"post",data:this.$http.adornData({transportId:this.dataForm.transportId||void 0,transName:this.dataForm.transName,chargeType:this.dataForm.chargeType,isFreeFee:this.dataForm.isFreeFee,transfees:this.dataForm.transfees,transfeeFrees:this.dataForm.transfeeFrees,hasFreeCondition:this.hasFreeCondition})}).then(({data:e})=>{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.visible=!1,this.$emit("refreshDataList",this.page)}})})}})}))}},o=l,d=(a("5eeb"),a("2877")),c=Object(d["a"])(o,s,r,!1,null,"6be9c4da",null);t["default"]=c.exports},"8bae":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shop-transcity-add-or-update"},[a("el-dialog",{attrs:{modal:!1,title:"选择配送区域","close-on-click-modal":!1,visible:e.visible},on:{"update:visible":function(t){e.visible=t}}},[a("el-form",{ref:"dataForm",staticStyle:{height:"400px"},attrs:{model:e.dataForm,"label-width":"80px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.dataFormSubmit()}}},[a("el-scrollbar",{staticStyle:{height:"100%"}},[a("el-form-item",{attrs:{size:"mini",label:"配送区域"}},[e.visible?a("el-tree",{ref:"menuListTree",attrs:{data:e.menuList,props:e.menuListTreeProps,"node-key":"areaId","show-checkbox":""}}):e._e()],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.dataFormSubmit()}}},[e._v("确定")])],1)],1)],1)},r=[],i=a("ed08"),n={data(){return{type:0,visible:!1,menuList:[],rowIndex:0,menuListTreeProps:{label:"areaName",children:"children"},dataForm:{transfeeId:0}}},methods:{init(e,t,a,s){this.type=s,this.rowIndex=e,0===this.menuList.length?this.$http({url:this.$http.adornUrl("/admin/area/list"),method:"get",params:this.$http.adornParams()}).then(({data:e})=>{this.menuList=Object(i["e"])(e,"areaId","parentId")}).then(()=>{this.visible=!0,this.disabledNodes(t,a),this.$nextTick(()=>{this.$refs["dataForm"].resetFields(),this.$refs.menuListTree.setCheckedNodes(t)})}):(this.visible=!0,this.disabledNodes(t,a),this.$nextTick(()=>{this.$refs["dataForm"].resetFields(),this.$refs.menuListTree.setCheckedNodes(t)}))},disabledNodes(e,t){for(let a=0;a<this.menuList.length;a++){const s=this.menuList[a].children;this.menuList[a].disabled=!1;let r=0;for(let i=0;i<s.length;i++){const n=s[i];this.menuList[a].children[i].disabled=!1;let l=t.findIndex(e=>n.areaId===e.areaId)>-1,o=e.findIndex(e=>n.areaId===e.areaId)>-1;l&&!o&&(this.menuList[a].children[i].disabled=!0,r++)}r===this.menuList[a].children.length&&(this.menuList[a].disabled=!0)}},dataFormSubmit(){this.$emit("refreshDataList",this.rowIndex,this.$refs.menuListTree.getCheckedNodes(!0),this.type),this.visible=!1}}},l=n,o=(a("1414"),a("2877")),d=Object(o["a"])(l,s,r,!1,null,"4d32a6c1",null);t["default"]=d.exports},a2f8:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const s={searchMenuSpan:6,columnBtn:!1,border:!0,selection:!1,index:!1,indexLabel:"序号",stripe:!0,menuAlign:"center",menuWidth:150,align:"center",refreshBtn:!0,searchSize:"mini",addBtn:!1,editBtn:!1,delBtn:!1,viewBtn:!1,props:{label:"label",value:"value"},column:[{label:"用户名",prop:"userName",search:!0},{label:"ip",prop:"ip",hide:!0,search:!0},{type:"select",label:"账户类型",prop:"roleName",searchFilterable:!0,search:!0,searchValue:"",filterable:!0,multiple:!1,dicData:[{label:"所有账号",value:""},{label:"正式账号",value:"MEMBER"},{label:"演示账号",value:"GUEST"},{label:"试用账号",value:"TEST"}]},{label:"UID",prop:"partyId"},{label:"品种",prop:"symbol"},{label:"操作",prop:"direction",type:"select",dicData:[{label:"多",value:"buy"},{label:"空",value:"sell"}]},{label:"委托张数",prop:"volumeOpen"},{label:"杠杆",prop:"leverRate"},{label:"报价类型",prop:"orderPriceType",type:"select",dicData:[{label:"限价",value:"limit"},{label:"市价",value:"opponent"}]},{label:"限价",prop:"price"},{label:"止盈止损",prop:"stopProfitLoss"},{label:"状态",prop:"state",type:"select",dicData:[{label:"已提交",value:"submitted "},{label:"已撤销",value:"canceled"},{label:"委托完成",value:"created"}]},{label:"创建时间",prop:"createTime"}]}},b121:function(e,t,a){},bbbe:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mod-transport"},[a("el-form",{attrs:{inline:!0,model:e.dataForm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getDataList(this.page)}}},[a("el-form-item",{attrs:{label:"用户名/UID:"}},[a("el-input",{attrs:{placeholder:"用户名/UID",clearable:""},model:{value:e.dataForm.orderNumber2,callback:function(t){e.$set(e.dataForm,"orderNumber2",t)},expression:"dataForm.orderNumber2"}})],1),a("el-form-item",{attrs:{label:"起始时间:"}},[a("el-date-picker",{attrs:{type:"datetimerange","range-separator":"至","value-format":"yyyy-MM-dd HH:mm:ss","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"small"},on:{click:function(t){return e.getDataList()}}},[e._v("查询")]),a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.clearDatas()}}},[e._v("清空")])],1)],1),a("div",{staticClass:"main"},[a("div",{staticClass:"content"},[a("div",{staticClass:"tit"},[a("el-row",{staticStyle:{width:"100%"}},[a("el-col",{attrs:{span:1}},[a("span",{staticClass:"item product"},[e._v("用户名")])]),a("el-col",{attrs:{span:1}},[a("span",{staticClass:"item"},[e._v("UID")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("用户数")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("代理数")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("充值USDT")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("充值BTC")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("充值ETH")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("提现USDT")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("提现BTC")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("提现ETH")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("交易盈亏")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("手续费")])]),a("el-col",{attrs:{span:2}},[a("span",{staticClass:"item"},[e._v("总收益")])])],1)],1),e._l(e.dataList,(function(t){return a("div",{key:t.orderId,staticClass:"prod"},[a("div",{staticClass:"prod-tit"},[a("span",[e._v("订单编号:"+e._s(t.orderNumber))]),a("span",[e._v("下单时间:"+e._s(t.createTime))])]),a("div",{staticClass:"prod-cont"},[a("el-row",{staticStyle:{width:"100%"}},[a("el-col",{attrs:{span:12}},[a("div",{staticClass:"prod-item"},e._l(t.orderItems,(function(t){return a("div",{key:t.orderItemId,staticClass:"items name"},[a("div",{staticClass:"prod-image"},[a("img",{staticStyle:{height:"100px",width:"100px"},attrs:{src:e.resourcesUrl+t.pic}})]),a("div",{staticClass:"prod-name"},[a("span",[e._v(e._s(t.prodName))]),a("span",{staticClass:"prod-info"},[e._v(e._s(t.skuName))])]),a("div",{staticClass:"prod-price"},[a("span",[e._v("¥"+e._s(t.price))]),a("span",[e._v("×"+e._s(t.prodCount))])])])})),0)]),a("el-col",{staticStyle:{height:"100%"},attrs:{span:3}},[a("div",{staticClass:"item"},[a("div",[a("span",{staticClass:"totalprice"},[e._v("¥"+e._s(t.actualTotal))]),t.freightAmount?a("span",[e._v("(含运费:¥"+e._s(t.freightAmount)+")")]):e._e(),a("span",[e._v("共"+e._s(t.productNums)+"件")])])])]),a("el-col",{staticStyle:{height:"100%"},attrs:{span:3}},[a("div",{staticClass:"item"},[a("div",[1===t.payType?a("span",[e._v("微信支付")]):2===t.payType?a("span",[e._v("支付宝")]):a("span",[e._v("手动代付")])])])]),a("el-col",{staticStyle:{height:"100%"},attrs:{span:3}},[a("div",{staticClass:"item"},[1===t.status?a("span",{attrs:{size:"small",type:"danger"}},[e._v("待付款")]):2===t.status?a("span",{attrs:{size:"small",type:"danger"}},[e._v("待发货")]):3===t.status?a("span",{attrs:{size:"small",type:"danger"}},[e._v("待收货")]):4===t.status?a("span",{attrs:{size:"small",type:"danger"}},[e._v("待评价")]):5===t.status?a("span",{attrs:{size:"small",type:"danger"}},[e._v("成功")]):a("span",{attrs:{size:"small"}},[e._v("失败")])])]),a("el-col",{staticStyle:{height:"100%"},attrs:{span:3}},[a("div",{staticClass:"item"},[a("div",{staticClass:"operate"},[e.isAuth("order:order:update")?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.addOrUpdateHandle(t.orderNumber)}}},[e._v("查看")]):e._e()],1)])])],1)],1),a("div",{staticClass:"remark"},[a("div",{staticClass:"buyer-remark"},[a("span",[e._v("备注:"+e._s(t.remarks))])])])])}))],2)]),a("div",{staticClass:"empty-tips"},[e._v("暂无数据")]),a("el-pagination",{attrs:{"current-page":e.page.pageIndex,"page-sizes":[10,20,50,100],"page-size":e.page.pageSize,total:e.page.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":e.sizeChangeHandle,"current-change":e.currentChangeHandle}})],1)},r=[],i=a("a2f8"),n=a("7114"),l={data(){return{dateRange:[],option1:[{value:1,label:"所有合约"},{value:2,label:"正式账号合约"},{value:3,label:"演示账号合约"},{value:4,label:"试用账号合约"}],option2:[{value2:1,label2:"DOGE/USTD"},{value2:2,label2:"MLN/USTD"},{value2:3,label2:"QTUM/USTD"},{value2:4,label2:"BTC/USTD"}],dataForm:{transName:""},activeName:"1",activeName2:"1",dataList:[],dataListLoading:!1,dataListSelections:[],addOrUpdateVisible:!1,page:{total:0,currentPage:1,pageSize:10},tableOption:i["a"]}},components:{AddOrUpdate:n["default"]},methods:{getDataList(e,t,a){e=void 0===e?this.page:e,this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("/order/order/page"),method:"get",params:this.$http.adornParams(Object.assign({current:null==e?this.page.currentPage:e.currentPage,size:null==e?this.page.pageSize:e.pageSize,orderNumber:this.dataForm.orderNumber,status:this.dataForm.status,startTime:null===this.dateRange?null:this.dateRange[0],endTime:null===this.dateRange?null:this.dateRange[1]},t),!1)}).then(({data:e})=>{this.dataList=e.records,this.page.total=e.total,this.dataListLoading=!1,a&&a()})},clearDatas(){this.dataForm={},this.dateRange=[]},sizeChangeHandle(e){this.page.pageSize=e,this.page.currentPage=1,this.getDataList(this.page)},currentChangeHandle(e){this.page.currentPage=e,this.getDataList(this.page)},handleClick(e,t){console.log(e,t)},handleClick2(e,t){console.log(e,t)},addOrUpdateHandle(e){this.addOrUpdateVisible=!0,this.$nextTick(()=>{this.$refs.addOrUpdate.init(e)})},deleteHandle(e){var t=e?[e]:this.dataListSelections.map(e=>e.transportId);this.$confirm(`确定进行[${e?"删除":"批量删除"}]操作?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.$http({url:this.$http.adornUrl("/shop/transport"),method:"delete",data:this.$http.adornData(t,!1)}).then(({data:e})=>{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.refreshChange()}})})}).catch(e=>{console.log("e: ",e)})},searchChange(e,t){this.getDataList(this.page,e,t)},refreshChange(){this.page=this.$refs.crud.$refs.tablePage.defaultPage,this.getDataList(this.page),this.dataListSelections=[],this.$refs.crud.selectClear()},selectionChange(e){console.log("val: ",e),this.dataListSelections=e}}},o=l,d=(a("193a"),a("2877")),c=Object(d["a"])(o,s,r,!1,null,"b07cd858",null);t["default"]=c.exports},e1c4:function(e,t,a){}}]);
|