Files
PropertyDeployment/resources/Web/MicroCommunityMallWeb/html/js/chunk-720e3e7c.4353fc6b.js
Anfioo adfd019d2d 江门
1
2026-02-01 15:37:55 +08:00

2 lines
7.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-720e3e7c"],{"32eb":function(e,t,r){"use strict";r("a8d7")},"50e9":function(e,t,r){"use strict";r("7830")},7830:function(e,t,r){},"97c2":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e._self._c;return t("div",[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("storeOrderLogistics.queryCondition")))])]),t("div",{},[t("el-form",{staticClass:"flex justify-start",attrs:{inline:!0,model:e.storeOrderLogisticsInfo.conditions}},[t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("storeOrderLogistics.orderIdPlaceholder"),clearable:""},model:{value:e.storeOrderLogisticsInfo.conditions.orderId,callback:function(t){e.$set(e.storeOrderLogisticsInfo.conditions,"orderId",t)},expression:"storeOrderLogisticsInfo.conditions.orderId"}})],1),t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("storeOrderLogistics.solNumPlaceholder"),clearable:""},model:{value:e.storeOrderLogisticsInfo.conditions.solNum,callback:function(t){e.$set(e.storeOrderLogisticsInfo.conditions,"solNum",t)},expression:"storeOrderLogisticsInfo.conditions.solNum"}})],1),t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("storeOrderLogistics.solCompanyPlaceholder"),clearable:""},model:{value:e.storeOrderLogisticsInfo.conditions.solCompany,callback:function(t){e.$set(e.storeOrderLogisticsInfo.conditions,"solCompany",t)},expression:"storeOrderLogisticsInfo.conditions.solCompany"}})],1),t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("storeOrderLogistics.statePlaceholder"),clearable:""},model:{value:e.storeOrderLogisticsInfo.conditions.state,callback:function(t){e.$set(e.storeOrderLogisticsInfo.conditions,"state",t)},expression:"storeOrderLogisticsInfo.conditions.state"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e._queryStoreOrderLogisticsMethod}},[e._v(" "+e._s(e.$t("storeOrderLogistics.query"))+" ")])],1)],1)],1)]),t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("storeOrderLogistics.orderLogistics")))])]),t("div",{},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.storeOrderLogisticsInfo.logisticss,border:""}},[t("el-table-column",{attrs:{prop:"orderId",label:e.$t("storeOrderLogistics.orderId"),align:"center"}}),t("el-table-column",{attrs:{prop:"solNum",label:e.$t("storeOrderLogistics.solNum"),align:"center"}}),t("el-table-column",{attrs:{prop:"solCompanyName",label:e.$t("storeOrderLogistics.solCompany"),align:"center"}}),t("el-table-column",{attrs:{prop:"username",label:e.$t("storeOrderLogistics.username"),align:"center"}}),t("el-table-column",{attrs:{prop:"address",label:e.$t("storeOrderLogistics.address"),align:"center"}}),t("el-table-column",{attrs:{prop:"tel",label:e.$t("storeOrderLogistics.tel"),align:"center"}}),t("el-table-column",{attrs:{prop:"stateName",label:e.$t("storeOrderLogistics.state"),align:"center"}}),t("el-table-column",{attrs:{prop:"curPos",label:e.$t("storeOrderLogistics.curPos"),align:"center"}}),t("el-table-column",{attrs:{prop:"remark",label:e.$t("storeOrderLogistics.remark"),align:"center"}}),t("el-table-column",{attrs:{prop:"createTime",label:e.$t("storeOrderLogistics.createTime"),align:"center"}}),t("el-table-column",{attrs:{label:e.$t("storeOrderLogistics.operation"),align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e._toStoreOrderDetial(r.row)}}},[e._v(" "+e._s(e.$t("storeOrderLogistics.orderDetail"))+" ")]),t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e._openStoreOrderLogisticsModal(r.row)}}},[e._v(" "+e._s(e.$t("storeOrderLogistics.logistics"))+" ")])]}}])})],1),t("el-pagination",{attrs:{"current-page":e.storeOrderLogisticsInfo.conditions.page,"page-size":e.storeOrderLogisticsInfo.conditions.row,layout:"total, prev, pager, next",total:e.storeOrderLogisticsInfo.total},on:{"current-change":e.handleCurrentChange}})],1)]),t("show-store-order-express",{ref:"showStoreOrderExpress"})],1)},o=[],i=r("b775"),l=r("7323");function a(e){return new Promise((t,r)=>{Object(i["a"])({url:"/storeOrder.listStoreOrderLogistics",method:"get",params:{...e,shopId:Object(l["f"])()}}).then(e=>{const r=e.data;t(r)}).catch(e=>{r(e)})})}function n(e){return new Promise((t,r)=>{Object(i["a"])({url:"/storeOrder.queryLogisticsDetail",method:"get",params:{...e,shopId:Object(l["f"])()}}).then(e=>{const r=e.data;t(r)}).catch(e=>{r(e)})})}var c=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.$t("storeOrderLogistics.logisticsInfo"),visible:e.dialogVisible,width:"50%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"express-container"},e._l(e.showStoreOrderExpressInfo.express,(function(r,s){return t("el-row",{key:s,staticClass:"express-item"},[t("el-col",{attrs:{span:6}},[t("label",[e._v(e._s(r.time)+"")])]),t("el-col",{attrs:{span:18}},[t("label",[e._v(e._s(r.context))])])],1)})),1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.close}},[e._v(e._s(e.$t("storeOrderLogistics.close")))])],1)])},d=[],p={name:"ShowStoreOrderExpress",data(){return{dialogVisible:!1,showStoreOrderExpressInfo:{orderId:"",express:[]}}},methods:{open(e){this.clear(),this.showStoreOrderExpressInfo.orderId=e.orderId,this._loadStoreOrderExpress(),this.dialogVisible=!0},close(){this.dialogVisible=!1},clear(){this.showStoreOrderExpressInfo={orderId:"",express:[]}},async _loadStoreOrderExpress(){try{const e={page:1,row:100,orderId:this.showStoreOrderExpressInfo.orderId,shopId:Object(l["f"])()},t=await n(e);this.showStoreOrderExpressInfo.express=t.data}catch(e){console.error("请求物流详情失败:",e)}}}},g=p,u=(r("50e9"),r("2877")),O=Object(u["a"])(g,c,d,!1,null,"3b03e5f7",null),f=O.exports,h={name:"StoreOrderLogistics",components:{ShowStoreOrderExpress:f},data(){return{storeOrderLogisticsInfo:{logisticss:[],total:0,conditions:{orderId:"",solNum:"",solCompany:"",state:"",shopId:"",page:1,row:10}}}},created(){this._listStoreOrderLogisticss(1,10)},methods:{async _listStoreOrderLogisticss(e,t){this.storeOrderLogisticsInfo.conditions.page=e,this.storeOrderLogisticsInfo.conditions.row=t;let r=await Object(l["f"])();this.storeOrderLogisticsInfo.conditions.shopId=r;try{const e=await a(this.storeOrderLogisticsInfo.conditions);this.storeOrderLogisticsInfo.total=e.total,this.storeOrderLogisticsInfo.logisticss=e.data}catch(s){console.error("请求失败:",s)}},_queryStoreOrderLogisticsMethod(){this._listStoreOrderLogisticss(1,10)},_openStoreOrderLogisticsModal(e){this.$refs.showStoreOrderExpress.open(e)},_toStoreOrderDetial(e){this.$router.push("/pages/goods/storeOrderCartDetail?orderId="+e.orderId)},handleCurrentChange(e){this._listStoreOrderLogisticss(e,this.storeOrderLogisticsInfo.conditions.row)}}},m=h,b=(r("32eb"),Object(u["a"])(m,s,o,!1,null,"885f3206",null));t["default"]=b.exports},a8d7:function(e,t,r){}}]);
//# sourceMappingURL=chunk-720e3e7c.4353fc6b.js.map