(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-638d"],{YvpD:function(t,e,r){"use strict";var a=r("qqU0");r.n(a).a},brm8:function(t,e,r){"use strict";r.d(e,"r",function(){return i}),r.d(e,"j",function(){return o}),r.d(e,"o",function(){return s}),r.d(e,"t",function(){return u}),r.d(e,"p",function(){return c}),r.d(e,"q",function(){return l}),r.d(e,"s",function(){return d}),r.d(e,"g",function(){return h}),r.d(e,"f",function(){return p}),r.d(e,"c",function(){return b}),r.d(e,"m",function(){return f}),r.d(e,"l",function(){return g}),r.d(e,"h",function(){return m}),r.d(e,"i",function(){return j}),r.d(e,"k",function(){return O}),r.d(e,"d",function(){return z}),r.d(e,"n",function(){return y}),r.d(e,"e",function(){return v}),r.d(e,"a",function(){return A}),r.d(e,"b",function(){return P});var a=r("X4fA"),n=r("t3Un");function i(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/saleRecord4",method:"post",data:t})}function o(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/city-inbound-outbound",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/gender-sale",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/race-sale",method:"post",data:t})}function c(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/generation-sale",method:"post",data:t})}function l(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/getPurchaseDetailInUnit",method:"post",data:t})}function d(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/saleRecord3",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/export/saleRecord3",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/export/saleRecord4",method:"post",data:t})}function b(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/export/city-inbound-outbound",method:"post",data:t})}function f(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/enterpriseESS",method:"post",data:t})}function g(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/enterpriseESSExport",method:"post",data:t})}function m(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/order/cityESS",method:"post",data:t})}function j(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/city-inbound-outbound-detail",method:"post",data:t})}function O(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/city-type-sale",method:"post",data:t})}function z(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/export/city-type-sale",method:"post",data:t})}function y(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/enterprise-type-sale",method:"post",data:t})}function v(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/export/enterprise-type-sale",method:"post",data:t})}function A(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/district-type-sale",method:"post",data:t})}function P(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/statistics/export/district-type-sale",method:"post",data:t})}},qqU0:function(t,e,r){},zk4m:function(t,e,r){"use strict";r.r(e);var a=r("14Xm"),n=r.n(a),i=r("D3Ub"),o=r.n(i),s=r("brm8"),u=r("7Qib"),c={name:"index",data:function(){return{tableKey:"",listLoading:!1,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,personPurchaseDetailData:[],personPurchaseDetailVisible:!1,listQuery:{pageSize:10,pageIndex:1,filter:{starttime:"",endtime:"",identify:"",enterprisenumber:"",directionCode:""}}}},created:function(){},methods:{openPersonPurchaseDetail:function(t,e,r,a,n){this.listQuery.filter.starttime=t,this.listQuery.filter.endtime=e,this.listQuery.filter.identify=r,this.listQuery.filter.enterprisenumber=a,this.listQuery.filter.directioncode=n,this.listQuery.pageIndex=1,this.listQuery.pageSize=10,this.personPurchaseDetailVisible=!0,this.getPersonProductDetailList()},getPersonProductDetailList:function(){var t=this;return o()(n.a.mark(function e(){var r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.listLoading=!0,e.next=3,Object(s.q)(t.listQuery);case 3:"200"===(r=e.sent).data.code?(t.recordTotal=r.data.result.total,t.pageSize=r.data.result.size,t.pageTotal=Object(u.a)(r.data.result.total,r.data.result.size),t.currentPage=r.data.result.current,t.personPurchaseDetailData=r.data.result.records):t.$message({type:"warning",message:r.data.message}),t.listLoading=!1;case 6:case"end":return e.stop()}},e,t)}))()},handleSizeChange:function(t){this.listQuery.pageSize=t,this.getPersonProductDetailList()},handleCurrentChange:function(t){this.listQuery.pageIndex=t,this.getPersonProductDetailList()}}},l=(r("YvpD"),r("KHd+")),d=Object(l.a)(c,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{visible:t.personPurchaseDetailVisible,"close-on-click-modal":!1,width:"60%"},on:{"update:visible":function(e){t.personPurchaseDetailVisible=e}}},[r("div",{staticClass:"table_content"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.personPurchaseDetailData,border:"",fit:"","highlight-current-row":""}},[r("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),r("el-table-column",{attrs:{label:"流向码",prop:"directioncode",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"购买单号",prop:"ordercode",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"产品名称",prop:"itemname",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"产品编号",prop:"itemcode",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"规格",prop:"specification",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"价格",prop:"price",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"购买时间",prop:"createdat",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"是否退货",prop:"returnflag",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1===e.row.returnflag?"√":"")+"\n ")]}}])})],1),t._v(" "),r("br"),t._v(" "),r("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,30,50],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),r("br")],1)])},[],!1,null,"567027b6",null);d.options.__file="index.vue";e.default=d.exports}}]);
|