Files
PropertyDeployment/resources/Web/MicroCommunityMallWeb/html/js/chunk-4bc02012.16bb9a0b.js
Anfioo adfd019d2d 江门
1
2026-02-01 15:37:55 +08:00

2 lines
6.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4bc02012","chunk-fcd760a4"],{"12be":function(e,t,r){},"162f":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("el-row",{attrs:{gutter:20}},[t("el-col",{staticClass:"padding-r-0",attrs:{span:4}},[t("admin-shop",{on:{"shop-change":e.handleShopChange}})],1),t("el-col",{attrs:{span:20}},[t("el-card",{},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("adminRefundGroupOrder.queryCondition")))])]),t("el-form",{staticClass:"flex justify-start",attrs:{inline:!0,model:e.conditions}},[t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("adminRefundGroupOrder.returnIdPlaceholder"),clearable:""},model:{value:e.conditions.returnId,callback:function(t){e.$set(e.conditions,"returnId",t)},expression:"conditions.returnId"}})],1),t("el-form-item",[t("el-input",{attrs:{placeholder:e.$t("adminRefundGroupOrder.orderIdPlaceholder"),clearable:""},model:{value:e.conditions.orderId,callback:function(t){e.$set(e.conditions,"orderId",t)},expression:"conditions.orderId"}})],1),t("el-form-item",[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("adminRefundGroupOrder.returnTypePlaceholder"),clearable:""},model:{value:e.conditions.returnType,callback:function(t){e.$set(e.conditions,"returnType",t)},expression:"conditions.returnType"}},[t("el-option",{attrs:{label:e.$t("adminRefundGroupOrder.all"),value:""}}),t("el-option",{attrs:{label:e.$t("adminRefundGroupOrder.selfRefund"),value:"1001"}}),t("el-option",{attrs:{label:e.$t("adminRefundGroupOrder.groupFailRefund"),value:"2002"}})],1)],1),t("el-form-item",[t("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.queryAdminRefundGroupOrder}},[e._v(" "+e._s(e.$t("adminRefundGroupOrder.query"))+" ")])],1)],1)],1),t("el-card",{staticClass:"margin-top-sm"},[t("div",{staticClass:"clearfix flex justify-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$t("adminRefundGroupOrder.groupRefundOrder")))])]),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.orders,border:""}},[t("el-table-column",{attrs:{prop:"returnId",label:e.$t("adminRefundGroupOrder.returnId"),align:"center"}}),t("el-table-column",{attrs:{prop:"orderId",label:e.$t("adminRefundGroupOrder.order"),align:"center"}}),t("el-table-column",{attrs:{prop:"prodName",label:e.$t("adminRefundGroupOrder.product"),align:"center"}}),t("el-table-column",{attrs:{prop:"buyerName",label:e.$t("adminRefundGroupOrder.buyer"),align:"center"}}),t("el-table-column",{attrs:{prop:"buyerCount",label:e.$t("adminRefundGroupOrder.buyCount"),align:"center"}}),t("el-table-column",{attrs:{prop:"groupPrice",label:e.$t("adminRefundGroupOrder.groupPrice"),align:"center"}}),t("el-table-column",{attrs:{prop:"returnMoney",label:e.$t("adminRefundGroupOrder.refundAmount"),align:"center"}}),t("el-table-column",{attrs:{prop:"returnType",label:e.$t("adminRefundGroupOrder.refundType"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("1001"===t.row.returnType?e.$t("adminRefundGroupOrder.selfRefund"):e.$t("adminRefundGroupOrder.groupFailRefund"))+" ")]}}])}),t("el-table-column",{attrs:{prop:"reason",label:e.$t("adminRefundGroupOrder.refundReason"),align:"center"}}),t("el-table-column",{attrs:{prop:"state",label:e.$t("adminRefundGroupOrder.status"),align:"center"}}),t("el-table-column",{attrs:{prop:"stateMsg",label:e.$t("adminRefundGroupOrder.auditDesc"),align:"center"}})],1),t("el-pagination",{staticClass:"margin-top-20",attrs:{"current-page":e.currentPage,"page-size":e.pageSize,layout:"total, prev, pager, next, jumper",total:e.total},on:{"current-change":e.handleCurrentChange}})],1)],1)],1)],1)},a=[],o=r("fe84"),l=r("c962"),s={components:{AdminShop:l["default"]},data(){return{loading:!1,currentPage:1,pageSize:10,total:0,orders:[],conditions:{returnId:"",orderId:"",returnType:"",shopId:""}}},created(){this.getList()},methods:{handleShopChange(e){this.conditions.shopId=e.shopId,this.getList()},handleCurrentChange(e){this.currentPage=e,this.getList()},queryAdminRefundGroupOrder(){this.currentPage=1,this.getList()},async getList(){this.loading=!0;try{const e={...this.conditions,page:this.currentPage,row:this.pageSize},t=await Object(o["a"])(e);this.orders=t.data,this.total=t.total||0}catch(e){console.error(e)}finally{this.loading=!1}}}},d=s,i=(r("6813"),r("2877")),u=Object(i["a"])(d,n,a,!1,null,"f9fd6634",null);t["default"]=u.exports},6813:function(e,t,r){"use strict";r("12be")},9418:function(e,t,r){"use strict";r("cd80")},c962:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;return t("el-card",{staticClass:"list-selector"},[t("ul",{staticClass:"list-selector-list"},["Y"==e.showAll?t("li",{class:{selected:""===e.adminShopInfo.shopId},on:{click:function(t){return e.swatchAdminShopId({shopId:"",shopName:"全部"})}}},[e._v(" "+e._s(e.$t("common.all"))+" ")]):e._e(),e._l(e.adminShopInfo.shops,(function(r,n){return t("li",{key:n,class:{selected:e.adminShopInfo.shopId===r.shopId},on:{click:function(t){return e.swatchAdminShopId(r)}}},[e._v(" "+e._s(r.shopName)+" ")])}))],2)])},a=[],o=r("7323"),l={name:"AdminShop",data(){return{adminShopInfo:{shops:[],shopId:""}}},props:{showAll:{type:String,default:"Y"}},created(){this._listAdminShops()},methods:{async _listAdminShops(){try{const e=await Object(o["k"])({page:1,row:100});this.adminShopInfo.shops=e.data,"N"==this.showAll&&this.adminShopInfo.shops.length>0&&this.swatchAdminShopId(this.adminShopInfo.shops[0])}catch(e){console.error("获取店铺列表失败:",e)}},swatchAdminShopId(e){this.adminShopInfo.shopId=e.shopId,this.$emit("shop-change",e)}}},s=l,d=(r("9418"),r("2877")),i=Object(d["a"])(s,n,a,!1,null,"177c0c26",null);t["default"]=i.exports},cd80:function(e,t,r){},fe84:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("b775");function a(e){return new Promise((t,r)=>{Object(n["a"])({url:"/productGroup.queryAdminRefundGroupOrder",method:"get",params:e}).then(e=>{const r=e.data;t(r)}).catch(e=>{r(e)})})}}}]);
//# sourceMappingURL=chunk-4bc02012.16bb9a0b.js.map