Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

2 строки
4.6 KiB

  1. webpackJsonp([72],{"5N20":function(t,e,r){"use strict";var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-container"},[r("el-form",{ref:"listQuery",attrs:{model:t.listQuery,inline:""}},[r("el-form-item",{attrs:{label:"门店",prop:"org"}},[r("el-select",{attrs:{placeholder:"门店"},on:{change:t.shopChange},model:{value:t.listQuery.shopId,callback:function(e){t.$set(t.listQuery,"shopId",e)},expression:"listQuery.shopId"}},t._l(t.shopList,function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}))],1)],1),t._v(" "),"user"==this.$store.getters.usertype?r("div",{staticClass:"listbutton"},[r("router-link",{attrs:{to:{path:"pdadd",query:{sid:t.listQuery.shopId}}}},[r("el-button",{attrs:{type:"primary"}},[t._v("新建盘点")])],1)],1):t._e(),t._v(" "),r("el-table",{attrs:{data:t.list,"element-loading-text":"拼命加载中",border:"",fit:""}},[r("el-table-column",{attrs:{align:"center",label:"盘点时间",prop:"time"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"操作人",prop:"operator"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("router-link",{attrs:{to:{path:"pdadd",query:{pid:e.row.id}}}},[r("el-button",{attrs:{type:"primary",size:"small"}},[t._v("详情")])],1)]}}])})],1),t._v(" "),r("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currPage,"page-sizes":[10,30,50,100],"page-size":t.listQuery.limit,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},n=[],s={render:i,staticRenderFns:n};e.a=s},C4CJ:function(t,e,r){"use strict";function i(t){return r.i(y.a)({url:"/service-inventory/inventory/check-stock/list",method:"get",params:t})}function n(t){return r.i(y.a)({url:"/service-inventory/inventory/check-stock/detail",method:"get",params:t})}function s(t){return r.i(y.a)({url:"/service-inventory/inventory/check-stock/summary",method:"get",params:t})}function o(t){return r.i(y.a)({url:"/service-inventory/inventory/history",method:"get",params:t})}function a(t){return r.i(y.a)({url:"/service-inventory/inventory/list",method:"get",params:t})}function u(t){return r.i(y.a)({url:"/service-inventory/inventory/stockIn",method:"post",data:t})}function l(t){return r.i(y.a)({url:"/service-inventory/inventory/checkAdd",method:"post",data:t})}function c(t){return r.i(y.a)({url:"/service-inventory/inventory/userReturn",method:"post",data:t})}function h(t){return r.i(y.a)({url:"/service-inventory/inventory/goodsTake",method:"put",data:t})}function d(t){return r.i(y.a)({url:"/service-inventory/inventory/checkDec",method:"put",data:t})}function p(t){return r.i(y.a)({url:"/service-inventory/inventory/supReturn",method:"put",data:t})}function v(t){return r.i(y.a)({url:"/service-inventory/inventory/total-amount",method:"get",params:t})}e.c=i,e.a=n,e.b=s,e.l=o,e.d=a,e.f=u,e.g=l,e.h=c,e.i=h,e.j=d,e.k=p,e.e=v;var y=r("Vo7i")},FVEQ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r("VIqL"),n=r("5N20"),s=r("VU/8"),o=s(i.a,n.a,null,null,null);e.default=o.exports},VIqL:function(t,e,r){"use strict";var i=r("g45I"),n=r("C4CJ");e.a={created:function(){var t=this;r.i(i.a)({org:this.listQuery.org}).then(function(e){t.shopList=e.result.rows,t.listQuery.shopId=t.shopList[0].id,t.selectlist()})},data:function(){return{dialogVisible:!1,img:"",width:"",title:"",usertype:this.$store.getters.usertype,statusList:{0:"无效",1:"生效"},listQuery:{shopId:"",limit:10,offset:0,isPage:!0},currPage:1,total:null,manageList:[],shopList:[],list:[]}},methods:{shopChange:function(){this.selectlist()},selectlist:function(){var t=this;r.i(n.c)(this.listQuery).then(function(e){t.list=e.result.data,t.total=e.result.total})},handleSizeChange:function(t){this.listQuery.limit=t,this.listQuery.offset=(this.currPage-1)*t,this.selectlist()},handleCurrentChange:function(t){this.currPage=t,this.listQuery.offset=this.listQuery.limit*(t-1),this.selectlist()}}}},g45I:function(t,e,r){"use strict";function i(t){return r.i(l.a)({url:"/service-org/shop/list",method:"get",params:t})}function n(t){return r.i(l.a)({url:"/unionService/shop/shop",method:"post",data:t})}function s(t){return r.i(l.a)({url:"/service-org/shop/detail?shopId="+t,method:"get"})}function o(t){return r.i(l.a)({url:"/unionService/shop/shop",method:"put",data:t})}function a(t){return r.i(l.a)({url:"/unionService/device/store",method:"put",data:t})}function u(t){return r.i(l.a)({url:"/service-org/shop/delete?shopId="+t,method:"DELETE"})}e.a=i,e.f=n,e.b=s,e.c=o,e.d=a,e.e=u;var l=r("Vo7i")}});
  2. //# sourceMappingURL=72.0a620aea7842ad332887.js.map