(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2aa38a4c"],{"1fa6":function(t,e,s){"use strict";s.d(e,"d",(function(){return a})),s.d(e,"b",(function(){return n})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return o}));var r=s("a27e");function a(t){return r["a"].post("/entrust/add",t)}function n(t){return r["a"].post("/entrust/list",t)}function i(t){return r["a"].post("/entrust/listById",t)}function o(t){return r["a"].post("/goods/add",t)}},b6b5:function(t,e,s){},ea19:function(t,e,s){"use strict";s("b6b5")},fdf3:function(t,e,s){"use strict";s.r(e);var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("transition",{attrs:{name:"el-fade-in-linear"}},[s("div",{staticClass:"app-verifyEntrust"},[s("div",{staticClass:"app-header"},[s("appHeader"),s("el-divider")],1),s("div",{staticClass:"verifyEntrust-body"},[s("div",{staticClass:"tableCardDiv"},[s("el-card",{staticClass:"box-card tableCard"},[s("div",{staticClass:"clearfix orderTitle",attrs:{slot:"header"},slot:"header"},[s("span",[t._v("待审核委托列表")])]),s("table",{staticClass:"verifyEntrust-table",attrs:{border:"0",cellspacing:"70px"}},[s("tr",[s("th",[t._v("委托物品图片")]),s("th",[t._v("委托物品名称")]),s("th",[t._v("委托租赁价格")]),s("th",[t._v("委托租赁数量")]),s("th",[t._v("确认审核")])]),t._l(this.entrustList,(function(e){return s("tr",{key:e.entrustId},[s("td",[s("img",{staticClass:"goodsImg",staticStyle:{width:"70px",height:"70px"},attrs:{src:t.getImgUrl(e.eGoodsCoverImg)}})]),s("td",[t._v(t._s(e.eGoodsName))]),s("td",[t._v(t._s(e.eGoodsPrice))]),s("td",[t._v(t._s(e.eStockNum))]),s("td",[s("el-button",{attrs:{type:"success"},on:{click:function(s){return t.toEditEntrust(e.entrustId)}}},[t._v("审核")])],1)])}))],2)])],1)]),s("div",{staticClass:"app-footer"},[s("el-divider"),s("appFooter",{staticClass:"app-footer"})],1)])])},a=[],n=(s("14d9"),s("f392")),i=s("2c4b"),o=s("1fa6"),u={name:"verifyEntrust",components:{appHeader:n["a"],appFooter:i["a"]},data(){return{entrustList:""}},methods:{async getEntrustList(){try{await Object(o["b"])({}).then(t=>{this.entrustList=t,console.log(t)})}catch(t){console.log(t)}},getImgUrl(t){return this.$store.state.baseUrl+"/img/"+t+".jpg"},toEditEntrust(t){this.$store.commit("commitEditEntrustId",t),console.log(this.$store.state.editEntrustId),this.$router.push({name:"editEntrust",query:{t:Date.now()}})}},mounted(){this.getEntrustList()},beforeRouteUpdate(){this.getEntrustList()}},d=u,c=(s("ea19"),s("2877")),l=Object(c["a"])(d,r,a,!1,null,"9e06330e",null);e["default"]=l.exports}}]);
//# sourceMappingURL=chunk-2aa38a4c.4fa71200.js.map