Files
PropertyDeployment/resources/Web/MicroCommunityMallWeb/html/js/chunk-022c840f.ba34003d.js
Anfioo adfd019d2d 江门
1
2026-02-01 15:37:55 +08:00

2 lines
5.0 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-022c840f"],{"6e2b":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t._self._c;return e("div",[e("el-card",{staticClass:"ibox"},[e("div",{staticClass:"flex justify-between",attrs:{slot:"header"},slot:"header"},[e("div",[t._v(t._s(t.$t("getInoutInfo.queryTitle")))])]),e("div",{},[e("el-form",{staticClass:"flex justify-start",attrs:{inline:!0,model:t.getInoutInfoManageInfo.conditions}},[e("el-form-item",[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",placeholder:t.$t("getInoutInfo.startTime"),"value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:t.getInoutInfoManageInfo.conditions.beginTime,callback:function(e){t.$set(t.getInoutInfoManageInfo.conditions,"beginTime",e)},expression:"getInoutInfoManageInfo.conditions.beginTime"}})],1),e("el-form-item",[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",placeholder:t.$t("getInoutInfo.endTime"),"value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:t.getInoutInfoManageInfo.conditions.endTime,callback:function(e){t.$set(t.getInoutInfoManageInfo.conditions,"endTime",e)},expression:"getInoutInfoManageInfo.conditions.endTime"}})],1),e("el-form-item",[e("el-input",{attrs:{placeholder:t.$t("getInoutInfo.productName")},model:{value:t.getInoutInfoManageInfo.conditions.prodNameLike,callback:function(e){t.$set(t.getInoutInfoManageInfo.conditions,"prodNameLike",e)},expression:"getInoutInfoManageInfo.conditions.prodNameLike"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:t._queryGetInoutInfoMethod}},[e("i",{staticClass:"el-icon-search"}),t._v(" "+t._s(t.$t("common.query"))+" ")]),e("el-button",{attrs:{type:"primary",size:"small"},on:{click:t._resetGetInoutInfoMethod}},[e("i",{staticClass:"el-icon-refresh"}),t._v(" "+t._s(t.$t("common.reset"))+" ")])],1)],1)],1)]),e("el-card",{staticClass:"margin-top-sm"},[e("div",{staticClass:"flex justify-between",attrs:{slot:"header"},slot:"header"},[e("div",[t._v(t._s(t.$t("getInoutInfo.listTitle")))])]),e("div",{},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.getInoutInfoManageInfo.getInoutInfos,border:""}},[e("el-table-column",{attrs:{prop:"barCode",label:t.$t("getInoutInfo.barCode"),align:"center"}}),e("el-table-column",{attrs:{prop:"prodName",label:t.$t("getInoutInfo.prodName"),align:"center"}}),e("el-table-column",{attrs:{prop:"specName",label:t.$t("getInoutInfo.specName"),align:"center"}}),e("el-table-column",{attrs:{prop:"prodCount",label:t.$t("getInoutInfo.prodCount"),align:"center"}}),e("el-table-column",{attrs:{prop:"actCount",label:t.$t("getInoutInfo.actCount"),align:"center"}}),e("el-table-column",{attrs:{prop:"price",label:t.$t("getInoutInfo.price"),align:"center"}}),e("el-table-column",{attrs:{prop:"unitName",label:t.$t("getInoutInfo.unitName"),align:"center"}}),e("el-table-column",{attrs:{prop:"amount",label:t.$t("getInoutInfo.amount"),align:"center"}}),e("el-table-column",{attrs:{prop:"tActCount",label:t.$t("getInoutInfo.tActCount"),align:"center"}}),e("el-table-column",{attrs:{prop:"tAmount",label:t.$t("getInoutInfo.tAmount"),align:"center"}}),e("el-table-column",{attrs:{prop:"createTime",label:t.$t("getInoutInfo.createTime"),align:"center"}})],1),e("el-pagination",{staticStyle:{"margin-top":"20px","text-align":"right"},attrs:{"current-page":t.currentPage,"page-size":t.pageSize,layout:"total, prev, pager, next",total:t.getInoutInfoManageInfo.total},on:{"current-change":t.handleCurrentChange}})],1)])],1)},a=[],i=n("b775");function s(t){return new Promise((e,n)=>{Object(i["a"])({url:"/mallReport/getInoutInfo",method:"get",params:t}).then(t=>{const n=t.data;e(n)}).catch(t=>{n(t)})})}var l=n("7323"),r={name:"GetInoutInfoManage",data(){return{DEFAULT_PAGE:1,DEFAULT_ROWS:10,currentPage:1,pageSize:10,getInoutInfoManageInfo:{getInoutInfos:[],total:0,records:1,moreCondition:!1,conditions:{beginTime:"",endTime:"",prodNameLike:"",shopId:""}}}},created(){this.getInoutInfoManageInfo.conditions.shopId=Object(l["f"])(),this._listGetInoutInfos(this.DEFAULT_PAGE,this.DEFAULT_ROWS)},methods:{handleCurrentChange(t){this.currentPage=t,this._listGetInoutInfos(t,this.DEFAULT_ROWS)},async _listGetInoutInfos(t,e){this.getInoutInfoManageInfo.conditions.page=t,this.getInoutInfoManageInfo.conditions.row=e;const n={params:this.getInoutInfoManageInfo.conditions};n.params.prodNameLike=n.params.prodNameLike.trim();try{const e=await s(n.params);this.getInoutInfoManageInfo.total=e.total,this.getInoutInfoManageInfo.records=e.records,this.getInoutInfoManageInfo.getInoutInfos=e.data,this.currentPage=t}catch(o){console.error("请求失败处理",o)}},_queryGetInoutInfoMethod(){this._listGetInoutInfos(this.DEFAULT_PAGE,this.DEFAULT_ROWS)},_resetGetInoutInfoMethod(){this.getInoutInfoManageInfo.conditions={beginTime:"",endTime:"",prodNameLike:"",shopId:Object(l["f"])()},this._listGetInoutInfos(this.DEFAULT_PAGE,this.DEFAULT_ROWS)}}},c=r,I=(n("cac4"),n("2877")),u=Object(I["a"])(c,o,a,!1,null,"b9c0f23a",null);e["default"]=u.exports},"89c6":function(t,e,n){},cac4:function(t,e,n){"use strict";n("89c6")}}]);
//# sourceMappingURL=chunk-022c840f.ba34003d.js.map