|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-handover-feeding-create"],{"0f10":function(e,t,a){"use strict";var i=a("4ea4");a("4160"),a("fb6a"),a("45fc"),a("a434"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("96cf");var n=i(a("1da1")),r=i(a("d4ec")),o=i(a("bee2")),s=i(a("262e")),l=i(a("2caf")),c=a("9ab4"),u=a("60a3"),d=a("22da"),f=i(a("f59c")),p=i(a("34b3")),h=a("2bf0"),g=function(e){(0,s.default)(a,e);var t=(0,l.default)(a);function a(){var e;return(0,r.default)(this,a),e=t.apply(this,arguments),e.detailHeader=h.CreteListHeader,e.PropoHeader=h.PropoHeader,e.model=f.default,e.border=!0,e.show=!1,e.PageShow=!0,e.List=[],e.some={},e.qty="",e.PopupList=[],e.prdOrder="",e.materialCode="",e}return(0,o.default)(a,[{key:"propoWindow",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.show=!this.show,void 0!=this.obj&&(this.PopupList=this.obj[0]),0==this.PopupList.length?this.PageShow=!1:this.PageShow=!0;case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"query",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.PageShow=!1,this.PopupList=[],this.obj=void 0,t={prdOrder:this.prdOrder,materialCode:this.materialCode},e.next=6,this.model.queryMaterialList(t);case 6:this.obj=this.group(this.model.MaterialList,10),this.PopupList=this.obj[0],this.PageShow=!0;case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"group",value:function(e,t){var a=0,i=[];while(a<e.length)i.push(e.slice(a,a+=t));return i}},{key:"Change",value:function(e){this.PopupList=this.obj[e.current-1],this.PopupList.forEach((function(e){e.checked=!1}))}},{key:"selectItem",value:function(e){console.log(e)}},{key:"onOk",value:function(){var e=!1,t=0;this.PopupList.forEach((function(a,i){a.checked&&(e=!0,t=i)})),0!=e?(this.some=this.PopupList[t],this.show=!this.show,this.prdOrder="",this.materialCode=""):uni.showToast({title:this.$t("message.Commission_tips6"),image:"/static/icons/icon-52.png"})}},{key:"Add",value:function(){var e=this;if(this.some=={})return uni.showToast({title:this.$t("message.Commission_tips6"),image:"/static/icons/icon-52.png"}),void(this.qty="");if(""!=this.qty)if(0!=this.List.length){var t=!0;if(this.List.forEach((function(a){if(a.prdOrder==e.some.prdOrder&&a.materialCode==e.some.materialCode&&a.mrpCode==e.some.mrpCode&&a.sendSpot==e.some.sendSpot)return t=!1})),!t)return uni.showToast({title:this.$t("message.repeatedly"),image:"/static/icons/icon-52.png"}),void(this.qty="");this.some.amount=this.qty,this.List.push(this.some),this.qty=""}else this.some.amount=this.qty,this.List.push(this.some),this.qty="";else uni.showToast({title:this.$t("message.Summary_PleaseInputNumber"),image:"/static/icons/icon-52.png"})}},{key:"deleteItem",value:function(e){var t=this;console.log(e),uni.showModal({title:this.$t("message.product_Delete"),confirmText:this.$t("message.workArea_Confirm"),cancelText:this.$t("message.Cancel"),success:function(a){if(a.confirm)t.List.splice(e.contentIndex,1);else if(a.cancel)return}})}},{key:"onSubmit",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!=this.List.length){e.next=3;break}return uni.showToast({title:this.$t("message.Pi_tip4"),image:"/static/icons/icon-52.png"}),e.abrupt("return");case 3:return this.List.forEach((function(e){e.factoryCode=t.session.factoryCode,e.loginName=t.session.loginName})),e.next=6,this.model.submitList(this.List);case 6:console.log("submitListCode",this.model.submitListCode),this.model.submitListCode&&(uni.showToast({title:this.$t("message.Warehouse_Tip9"),image:"/static/icons/icon-51.png"}),this.empty());case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"empty",value:function(){this.List=[],this.some={},this.qty="",this.prdOrder="",this.materialCode=""}}]),a}(d.BasePage);g=(0,c.__decorate)([(0,u.Component)({components:{jPicker:p.default}})],g);var b=g;t.default=b},"19d9":function(e,t,a){"use strict";var i=a("631d"),n=a.n(i);n.a},"291d":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* uni.scss */.TEMP_page[data-v-3783e340]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-3783e340]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-3783e340]{font-size:2em;font-weight:400}.u-search[data-v-3783e340]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;flex:1}.u-content[data-v-3783e340]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 %?18?%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.u-clear-icon[data-v-3783e340]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center}.u-input[data-v-3783e340]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?28?%;line-height:1;margin:0 %?10?%;color:#909399}.u-close-wrap[data-v-3783e340]{width:%?40?%;height:100%;\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:50%}.u-placeholder-class[data-v-3783e340]{color:#909399}.u-action[data-v-3783e340]{font-size:%?28?%;color:#303133;width:0;overflow:hidden;-webkit-transition:all .3s;transition:all .3s;white-space:nowrap;text-align:center}.u-action-active[data-v-3783e340]{width:%?80?%;margin-left:%?10?%}',""]),e.exports=t},"2b19":function(e,t,a){var i=a("23e7"),n=a("129f");i({target:"Object",stat:!0},{is:n})},"2bf0":function(e,t,a){"use strict";var i=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.CreteListHeader=t.PropoHeader=t.RUSdetailHeader=t.detailHeader=t.headers=void 0;var n=i(a("cd49")),r=[{label:n.default.$t("message.InventoryOrderNo"),key:"prdOrder",width:220},{label:n.default.$t("message.po_MaterielNo"),key:"materialCode",width:220},{label:n.default.$t("message.po_MaterielDes"),key:"materialDesc",width:350},{label:n.default.$t("message.po_ActualQuantity"),key:"fillAmount"},{label:n.default.$t("message.Summary_Number"),key:"amount"},{label:n.default.$t("message.Feeding_ReplenishedQuantity"),key:"totalFillAmount"},{label:n.default.$t("message.po_Location"),key:"locationCode"}];t.headers=r;var o=[{label:n.default.$t("message.po_MaterielNo"),key:"materialCode",width:260},{label:n.default.$t("message.receiveAStation"),key:"sendSpot"},{label:n.default.$t("message.CommissionedLocation"),key:"wlCode"},{label:n.default.$t("message.quantityNum"),key:"qty"}];t.detailHeader=o;var s=[{label:n.default.$t("message.po_MaterielNo"),key:"materialCode",width:260},{label:n.default.$t("message.receiveAStation"),key:"sendSpot"},{label:n.default.$t("message.CommissionedLocation"),key:"wlCode"},{label:n.default.$t("message.quantityNum"),key:"qty"},{label:n.default.$t("message.Container"),key:"barcode",width:700}];t.RUSdetailHeader=s;var l=[{label:n.default.$t("message.po_MaterielNo"),key:"materialCode",width:300},{label:n.default.$t("message.po_MaterielDes"),key:"materialDesc",width:450},{label:n.default.$t("message.Pi_unit"),key:"unit",width:300},{label:n.default.$t("message.Production"),key:"prdOrder",width:300}];t.PropoHeader=l;var c=[{label:n.default.$t("message.po_MaterielNo"),key:"materialCode",width:200},{label:n.default.$t("message.receiveAStation"),key:"sendSpot"},{label:n.default.$t("message.Production"),key:"prdOrder"},{label:n.default.$t("message.quantityNum"),key:"amount"}];t.CreteListHeader=c},"32a9":function(e,t,a){var i=a("84fd");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("e04c157c",i,!0,{sourceMap:!1,shadowMode:!1})},"3bc9":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var i={uIcon:a("f86b").default,uButton:a("d9ad").default,uInput:a("d5da").default,uPopup:a("df25").default,uSearch:a("9cf5").default,wybPagination:a("89f4").default,uRow:a("d67a").default,uCol:a("b408").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-raw-receipt"},[a("v-uni-view",{staticClass:"top"}),a("v-uni-view",{staticClass:"header"},[a("v-uni-view",{staticClass:"left"},[a("u-icon",{staticClass:"icon",attrs:{name:"arrow-left"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack()}}})],1),a("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("message.create")))]),a("v-uni-view",{staticClass:"right"})],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"single"},[a("v-uni-view",{staticClass:"single-right"},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.propoWindow.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.Warehouse_Tip6")))])],1)],1),a("v-uni-view",{staticClass:"material"},[a("v-uni-view",{staticClass:"material-right"},[a("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.Production"))+":")]),a("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.some.prdOrder))])],1)],1),a("v-uni-view",{staticClass:"material"},[a("v-uni-view",{staticClass:"material-right"},[a("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.Pi_materielNo"))+":")]),a("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.some.materialCode))])],1)],1),a("v-uni-view",{staticClass:"material"},[a("v-uni-view",{staticClass:"material-right"},[a("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.materialName"))+":")]),a("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.some.materialDesc))])],1)],1),a("v-uni-view",{staticClass:"material"},[a("v-uni-view",{staticClass:"material-right"},[a("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.Pi_unit"))+":")]),a("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.some.unit))])],1)],1),a("v-uni-view",{staticClass:"library"},[a("v-uni-view",{staticClass:"library-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.receiveAStation"))+":")]),a("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.some.sendSpot))])],1)],1),a("v-uni-view",{staticClass:"library"},[a("v-uni-view",{staticClass:"library-right"},[a("v-uni-view",{staticClass:"library-right-title"},[e._v(e._s(e.$t("message.quantityNum"))+":")]),a("u-input",{staticClass:"input",attrs:{placeholder:e.$t("message.Summary_PleaseInputNumber"),type:"number",border:e.border},model:{value:e.qty,callback:function(t){e.qty=t},expression:"qty"}})],1),a("v-uni-view",{staticClass:"add"},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Add.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.product_add")))])],1)],1),a("wyb-table",{ref:"table",staticClass:"table",attrs:{width:"100%","show-left-and-right-border":!0,headers:e.detailHeader,contents:e.List,"show-vert-border":!1},on:{onCellClick:function(t){arguments[0]=t=e.$handleEvent(t),e.deleteItem(t)}}})],1),a("u-popup",{attrs:{mode:"center",closeable:!0,width:"95%",height:"90%","border-radius":"14"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("v-uni-view",{staticClass:"single"},[a("v-uni-view",{staticClass:"single-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.Production")))]),a("u-search",{attrs:{placeholder:e.$t("message.Commission_tips1"),"show-action":!1},model:{value:e.prdOrder,callback:function(t){e.prdOrder="string"===typeof t?t.trim():t},expression:"prdOrder"}})],1)],1),a("v-uni-view",{staticClass:"singles"},[a("v-uni-view",{staticClass:"single-lefts"},[a("v-uni-view",[e._v(e._s(e.$t("message.po_MaterielNo")))]),a("u-search",{attrs:{placeholder:e.$t("message.materialCode"),"show-action":!1},model:{value:e.materialCode,callback:function(t){e.materialCode="string"===typeof t?t.trim():t},expression:"materialCode"}})],1),a("v-uni-view",{staticClass:"single-rights"},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.Query")))])],1)],1),a("v-uni-scroll-view",{staticStyle:{height:"360px","padding-top":"20px","white-space":"nowrap"},attrs:{"scroll-y":"true","scroll-x":"true"}},[a("v-uni-view",{staticStyle:{display:"inline-block"}},[a("wyb-table",{ref:"table",staticClass:"table",attrs:{"enable-check":"single","show-left-and-right-border":!0,width:"100%",headers:e.PropoHeader,contents:e.PopupList,"show-vert-border":!1},on:{onCheck:function(t){arguments[0]=t=e.$handleEvent(t),e.selectItem(t)}}})],1)],1),e.PageShow?a("wyb-pagination",{attrs:{"total-items":e.model.MaterialList.length,"page-items":"10","prev-text":e.$t("message.previousPage"),"next-text":e.$t("message.nextPage"),"first-text":e.$t("message.HomePage"),"last-text":e.$t("message.TailPage")},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.Change.apply(void 0,arguments)}}}):e._e(),a("u-button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onOk.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.workArea_Confirm")))])],1),a("v-uni-view",{staticClass:"bottom-bar"},[a("div",{staticClass:"container"},[a("u-row",[a("u-col",{attrs:{span:6}},[a("u-button",{attrs:{type:"success"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSubmit.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.product_Confirm")))])],1),a("u-col",{attrs:{span:6}},[a("u-button",{attrs:{type:"error"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack()}}},[e._v(e._s(e.$t("message.po_Return")))])],1)],1)],1)])],1)},r=[]},"43f6":function(e,t,a){"use strict";a.r(t);var i=a("980b"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},4408:function(e,t,a){"use strict";var i=a("32a9"),n=a.n(i);n.a},"60a3b":function(e,t,a){"use strict";var i=a("a0d2"),n=a.n(i);n.a},"631d":function(e,t,a){var i=a("98f6");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("5721bc4b",i,!0,{sourceMap:!1,shadowMode:!1})},"7e9a":function(e,t,a){"use strict";a.r(t);var i=a("d541"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},"84fd":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* uni.scss */.TEMP_page[data-v-05dfc6bf]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-05dfc6bf]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-05dfc6bf]{font-size:2em;font-weight:400}.page-raw-receipt[data-v-05dfc6bf]{background:#f2f2f2 -webkit-linear-gradient(bottom,#f2f2f2,#4a78ea 51%,#1753ea) no-repeat;background:#f2f2f2 linear-gradient(0deg,#f2f2f2,#4a78ea 51%,#1753ea) no-repeat;background-size:100% %?600?%;padding:%?118?% %?30?% %?162?%;min-height:100%}.page-raw-receipt .uni-scroll-view-content[data-v-05dfc6bf]{overflow-x:auto}.page-raw-receipt .uni-scroll-view-content .single[data-v-05dfc6bf]{width:100%;height:80px;display:-webkit-box;display:-webkit-flex;display:flex;padding-top:30px}.page-raw-receipt .uni-scroll-view-content .single .single-left[data-v-05dfc6bf]{width:100%;height:60px;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .uni-scroll-view-content .single .single-left uni-view[data-v-05dfc6bf]{width:%?110?%;height:100%;line-height:%?100?%}.page-raw-receipt .uni-scroll-view-content .single .single-right uni-button[data-v-05dfc6bf]{margin-top:%?15?%;width:%?150?%;height:%?70?%}.page-raw-receipt .uni-scroll-view-content .singles[data-v-05dfc6bf]{width:100%;height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .uni-scroll-view-content .singles .single-lefts[data-v-05dfc6bf]{width:80%;height:60px;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .uni-scroll-view-content .singles .single-lefts uni-view[data-v-05dfc6bf]{width:%?110?%;height:100%;line-height:%?100?%}.page-raw-receipt .uni-scroll-view-content .singles .single-rights uni-button[data-v-05dfc6bf]{margin-top:%?15?%;width:%?150?%;height:%?70?%}.page-raw-receipt .header[data-v-05dfc6bf]{position:fixed;top:%?36?%;left:0;right:0;z-index:99;display:-webkit-box;display:-webkit-flex;display:flex;height:%?88?%;line-height:%?88?%;color:#fff;font-size:%?34?%;font-weight:500;text-align:center}.page-raw-receipt .header .title[data-v-05dfc6bf]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-raw-receipt .header .left[data-v-05dfc6bf],\n.page-raw-receipt .header .right[data-v-05dfc6bf]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-raw-receipt .header .icon[data-v-05dfc6bf]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:%?88?%;height:%?88?%}.page-raw-receipt .content[data-v-05dfc6bf]{width:100%;background:#fff;border-radius:%?15?%;padding:%?10?%}.page-raw-receipt .content .material[data-v-05dfc6bf]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-left[data-v-05dfc6bf]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-left uni-view[data-v-05dfc6bf]{width:%?145?%;line-height:%?100?%}.page-raw-receipt .content .material .material-left .search[data-v-05dfc6bf]{padding-left:12px}.page-raw-receipt .content .material[data-v-05dfc6bf]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-right[data-v-05dfc6bf]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-right .material-right-title[data-v-05dfc6bf]{width:%?145?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .material .material-right .material-right-code[data-v-05dfc6bf]{width:80%;height:100%;line-height:%?100?%;text-align:left;padding-left:10px}.page-raw-receipt .content .number[data-v-05dfc6bf]{height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-left[data-v-05dfc6bf]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-left .number-left-title[data-v-05dfc6bf]{width:%?120?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .number .number-left .input[data-v-05dfc6bf]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .number .number-right[data-v-05dfc6bf]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-right .number-right-title[data-v-05dfc6bf]{width:%?120?%;height:100%;line-height:%?100?%;text-align:center}.page-raw-receipt .content .number .number-right .input[data-v-05dfc6bf]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .library[data-v-05dfc6bf]{width:100%;height:%?100?%}.page-raw-receipt .content .library .library-left[data-v-05dfc6bf]{width:100%;height:100%}.page-raw-receipt .content .library .library-left uni-view[data-v-05dfc6bf]{width:%?120?%;line-height:%?100?%}.page-raw-receipt .content .library .library-left .material-right-code[data-v-05dfc6bf]{width:200px;padding-left:20px}.page-raw-receipt .content .library .library-right[data-v-05dfc6bf]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .library .library-right .library-right-title[data-v-05dfc6bf]{width:%?120?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .library .library-right .input[data-v-05dfc6bf]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .library .add[data-v-05dfc6bf]{width:100%;height:%?100?%;position:relative}.page-raw-receipt .content .library .add uni-button[data-v-05dfc6bf]{position:absolute;top:%?10?%;right:%?20?%}.page-raw-receipt .bottom-bar[data-v-05dfc6bf]{z-index:21;position:fixed;bottom:0;left:0;right:0}.page-raw-receipt .bottom-bar .container[data-v-05dfc6bf]{background:#fff;padding:%?20?%}.page-raw-receipt .bottom-bar .extra[data-v-05dfc6bf]{background-color:#fff;margin:5px;border-radius:5px;padding:0 10px}.page-raw-receipt .bottom-bar .bottom-info .u-form-item[data-v-05dfc6bf]{padding:0}',""]),e.exports=t},"89f4":function(e,t,a){"use strict";a.r(t);var i=a("eaea"),n=a("7e9a");for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("19d9");var o,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"88d8d9d0",null,!1,i["a"],o);t["default"]=l.exports},"980b":function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"u-search",props:{shape:{type:String,default:"round"},bgColor:{type:String,default:"#f2f2f2"},placeholder:{type:String,default:"请输入关键字"},clearabled:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},showAction:{type:Boolean,default:!0},actionStyle:{type:Object,default:function(){return{}}},actionText:{type:String,default:"搜索"},inputAlign:{type:String,default:"left"},disabled:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},borderColor:{type:String,default:"none"},value:{type:String,default:""},height:{type:[Number,String],default:64},inputStyle:{type:Object,default:function(){return{}}},maxlength:{type:[Number,String],default:"-1"},searchIconColor:{type:String,default:""},color:{type:String,default:"#606266"},placeholderColor:{type:String,default:"#909399"},margin:{type:String,default:"0"},searchIcon:{type:String,default:"search"}},data:function(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword:function(e){this.$emit("input",e),this.$emit("change",e)},value:{immediate:!0,handler:function(e){this.keyword=e}}},computed:{showActionBtn:function(){return!(this.animation||!this.showAction)},borderStyle:function(){return this.borderColor?"1px solid ".concat(this.borderColor):"none"}},methods:{inputChange:function(e){this.keyword=e.detail.value},clear:function(){var e=this;this.keyword="",this.$nextTick((function(){e.$emit("clear")}))},search:function(e){this.$emit("search",e.detail.value);try{uni.hideKeyboard()}catch(e){}},custom:function(){this.$emit("custom",this.keyword);try{uni.hideKeyboard()}catch(e){}},getFocus:function(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur:function(){var e=this;setTimeout((function(){e.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler:function(){this.disabled&&this.$emit("click")}}};t.default=i},"98f6":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@font-face{font-family:iconfont;src:url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAALUAAsAAAAABtwAAAKFAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCCfgqBQIE1ATYCJAMMCwgABCAFhG0HRBsBBhEVjCOyrw7sYPj4I0QqzNq3zfnzDrGGnxGGLSGIJLifI6jWsJ7dDaIDIM/lo6IIVFyEAVaJdC8Ma5KsX18DIvAAvNrML65E6KwwVPnjwadURdk9jquzLCnj43Q3FiERMuvuW6CtkLIwkLa2RJ8WB1673A9cYIWJ1mV/lpeyxOTL57kc310BZdH8QIGltvZ+PiZgggWyN0aRFViUecPYBS/wPoFG/WbFduUD1CvsZYG41DlCfSGsKCxXL9Q27C3iTY369JLe4zX6fPyzHJHUZPZDOxcuwfrP5M0rFXuZ6+WcYIfImEUhdhvTO7JgjKwxXYxyrGnBz/RX/EwCqzgqMxF/nVvdDCahKj2RxFN7NAk8IIEMapPsCjYQvTsQUof9hYqOoxqqWHWbqJ9LAh/W3Mq8UOvnzz9Gr1/8fZwsnhvGHNLy5fPH0Q1H/TAu1g7uN/MIVHJPFhG/fhEIau4W/277/5oK+Govv4JgpdC81J/RE/w9ycCuYshsSy6a2BNb3mx4ojMBhdynmu3v9GO6tmdwNaFeT4akTh+yeqNEoc+iRpNV1KonXkOjGfXhJl3YXpQGTPsACO0+kbR6h6zdQhT6ihq9/lGrPfZotBtdZzYZD33YYmwEe2jfQXfBk2uTQ1x7hWq2DedlEesOedIxKNK8nKvRIy+xYXpRpQgBcXBQgcfQ2gCRw4idpINIPGcZNb0o7YLbHGxhqCFQD7TeAa0TeBQMFofK+68gZWY1uKOuzn8HsYkeHhRS+QCiVvtBdY/yzOSFUhKCAMICB1RgFrKsAMTmWSPUEalhQjI6y5x+NFSdbq91P1DEmrDX5EiRo2g8a/yovQUS5ourYW68Kpg2GwAAAA==") format("woff2")}.iconfont[data-v-88d8d9d0]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-danjiantou[data-v-88d8d9d0]:before{content:"\\e62d"}.icon-shuangjiantou[data-v-88d8d9d0]:before{content:"\\e62e"}.wyb-pagination-box[data-v-88d8d9d0]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.wyb-pagination-left[data-v-88d8d9d0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.wyb-pagination-right[data-v-88d8d9d0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.wyb-pagination-first-page-t[data-v-88d8d9d0],\n.wyb-pagination-prev-page-t[data-v-88d8d9d0],\n.wyb-pagination-next-page-t[data-v-88d8d9d0],\n.wyb-pagination-last-page-t[data-v-88d8d9d0]{font-size:%?27?%;padding:%?14?% %?25?%;box-sizing:border-box;background-color:#f8f8f8;border:1px solid #e5e5e5;white-space:nowrap}.wyb-pagination-first-page-i[data-v-88d8d9d0],\n.wyb-pagination-prev-page-i[data-v-88d8d9d0],\n.wyb-pagination-next-page-i[data-v-88d8d9d0],\n.wyb-pagination-last-page-i[data-v-88d8d9d0]{font-size:%?27?%;padding:%?14?% %?33?%;box-sizing:border-box;background-color:#f8f8f8;border:1px solid #e5e5e5;white-space:nowrap}.wyb-pagination-first-page-t[data-v-88d8d9d0],\n.wyb-pagination-first-page-i[data-v-88d8d9d0]{margin-right:%?15?%}.wyb-pagination-last-page-t[data-v-88d8d9d0],\n.wyb-pagination-last-page-i[data-v-88d8d9d0]{margin-left:%?15?%}.wyb-pagination-info[data-v-88d8d9d0]{font-size:%?33?%;white-space:nowrap;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-flex:1;-webkit-flex:1;flex:1}.wyb-pagination-input uni-input[data-v-88d8d9d0]{text-align:center}.wyb-pagination-span[data-v-88d8d9d0]{margin:0 %?2?%}.wyb-pagination-info-total[data-v-88d8d9d0]{margin-left:%?10?%}.wyb-pagination-first-page-t[data-v-88d8d9d0]:active,\n.wyb-pagination-prev-page-t[data-v-88d8d9d0]:active,\n.wyb-pagination-next-page-t[data-v-88d8d9d0]:active,\n.wyb-pagination-last-page-t[data-v-88d8d9d0]:active,\n.wyb-pagination-first-page-i[data-v-88d8d9d0]:active,\n.wyb-pagination-prev-page-i[data-v-88d8d9d0]:active,\n.wyb-pagination-next-page-i[data-v-88d8d9d0]:active,\n.wyb-pagination-last-page-i[data-v-88d8d9d0]:active{background-color:var(--hover)!important}.left-arrow[data-v-88d8d9d0]{-webkit-transform:scale(.9);transform:scale(.9);margin-right:%?5?%}.right-arrow[data-v-88d8d9d0]{margin-left:%?5?%;transform:scale(.9) rotate(180deg);-webkit-transform:scale(.8) rotate(180deg)}',""]),e.exports=t},"9cf5":function(e,t,a){"use strict";a.r(t);var i=a("c690"),n=a("43f6");for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("60a3b");var o,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"3783e340",null,!1,i["a"],o);t["default"]=l.exports},a0d2:function(e,t,a){var i=a("291d");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("4fc5a69a",i,!0,{sourceMap:!1,shadowMode:!1})},af52:function(e,t,a){"use strict";a.r(t);var i=a("0f10"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},c690:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var i={uIcon:a("f86b").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-search",style:{margin:e.margin},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clickHandler.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"u-content",style:{backgroundColor:e.bgColor,borderRadius:"round"==e.shape?"100rpx":"10rpx",border:e.borderStyle,height:e.height+"rpx"}},[a("v-uni-view",{staticClass:"u-icon-wrap"},[a("u-icon",{staticClass:"u-clear-icon",attrs:{size:30,name:e.searchIcon,color:e.searchIconColor?e.searchIconColor:e.color}})],1),a("v-uni-input",{staticClass:"u-input",style:[{textAlign:e.inputAlign,color:e.color,backgroundColor:e.bgColor},e.inputStyle],attrs:{"confirm-type":"search",value:e.value,disabled:e.disabled,focus:e.focus,maxlength:e.maxlength,"placeholder-class":"u-placeholder-class",placeholder:e.placeholder,"placeholder-style":"color: "+e.placeholderColor,type:"text"},on:{blur:function(t){arguments[0]=t=e.$handleEvent(t),e.blur.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.search.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.inputChange.apply(void 0,arguments)},focus:function(t){arguments[0]=t=e.$handleEvent(t),e.getFocus.apply(void 0,arguments)}}}),e.keyword&&e.clearabled&&e.focused?a("v-uni-view",{staticClass:"u-close-wrap",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clear.apply(void 0,arguments)}}},[a("u-icon",{staticClass:"u-clear-icon",attrs:{name:"close-circle-fill",size:"34",color:"#c0c4cc"}})],1):e._e()],1),a("v-uni-view",{staticClass:"u-action",class:[e.showActionBtn||e.show?"u-action-active":""],style:[e.actionStyle],on:{click:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t),e.custom.apply(void 0,arguments)}}},[e._v(e._s(e.actionText))])],1)},r=[]},cb84:function(e,t,a){"use strict";a.r(t);var i=a("3bc9"),n=a("af52");for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("4408");var o,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"05dfc6bf",null,!1,i["a"],o);t["default"]=l.exports},cdd0:function(e,t,a){"use strict";var i=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.auth=void 0,a("96cf");var n=i(a("1da1")),r=i(a("d4ec")),o=i(a("bee2")),s=i(a("262e")),l=i(a("2caf")),c=a("9ab4"),u=a("6fc5"),d=i(a("b32d")),f=i(a("0613")),p=a("110c"),h=function(e){(0,s.default)(a,e);var t=(0,l.default)(a);function a(){return(0,r.default)(this,a),t.apply(this,arguments)}return(0,o.default)(a,[{key:"getUserInfo",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.loginName,e.next=3,d.default.post(p.url.auth.userInfo,{loginName:a});case 3:if(i=e.sent,"1"===i.code){e.next=8;break}throw new Error(i.msg);case 8:return e.abrupt("return",i.list[0]);case 9:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"checkPassword",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,i,n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.rfPwd,i=t.factoryCode,n=t.loginName,e.next=3,d.default.post(p.url.auth.pwd.check,{rfPwd:a,factoryCode:i,loginName:n});case 3:if(r=e.sent,"1"===r.code){e.next=8;break}throw new Error(r.msg);case 8:return e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),a}(u.VuexModule);(0,c.__decorate)([u.Action],h.prototype,"getUserInfo",null),(0,c.__decorate)([u.Action],h.prototype,"checkPassword",null),h=(0,c.__decorate)([(0,u.Module)({dynamic:!0,store:f.default,namespaced:!0,name:"auth"})],h);var g=(0,u.getModule)(h);t.auth=g},d541:function(e,t,a){"use strict";a("99af"),a("4160"),a("c975"),a("fb6a"),a("a9e3"),a("2b19"),a("acd8"),a("e25e"),a("ac1f"),a("5319"),a("1276"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{currentPage:this.current||1,inputPage:"",infoClick:!1,infoFocus:!1}},computed:{totalPage:function(){return Math.ceil(parseFloat(this.totalItems)/parseFloat(this.pageItems))},autoHover:function(){return this.btnStyle.backgroundColor?this.RGBChange(this.btnStyle.backgroundColor,.1,"dark"):this.RGBChange("#f8f8f8",.05,"dark")},btnStyleStr:function(){var e="";for(var t in this.btnStyle)e+="".concat(this.sortFieldMatch(t),": ").concat(this.btnStyle[t],"; ");return e}},watch:{current:function(e){var t=this.currentPage;Object.is(t,e)||(this.currentPage=e,this.$emit("change",{type:"prop-page",current:this.currentPage}))}},props:{totalItems:{type:[String,Number],default:20},pageItems:{type:[String,Number],default:5},current:{type:Number,default:1},prevText:{type:String,default:"上一页"},nextText:{type:String,default:"下一页"},firstText:{type:String,default:"首页"},lastText:{type:String,default:"尾页"},pageInfoColor:{type:String,default:"#494949"},currentColor:{type:String,default:"#007aff"},padding:{type:[String,Number],default:15},btnStyle:{type:Object,default:function(){return{}}},showIcon:{type:Boolean,default:!1},showTotalItem:{type:Boolean,default:!1},showFirst:{type:Boolean,default:!0},showLast:{type:Boolean,default:!0},couldInput:{type:Boolean,default:!0},cursorSpacing:{type:Number,default:0}},methods:{onPageBtnTap:function(e){switch(e){case"first-page":Object.is(this.currentPage,1)||(this.currentPage=1,this.$emit("change",{type:e,current:this.currentPage}));break;case"prev-page":Object.is(this.currentPage,1)||(this.currentPage--,this.$emit("change",{type:e,current:this.currentPage}));break;case"next-page":Object.is(this.currentPage,this.totalPage)||(this.currentPage++,this.$emit("change",{type:e,current:this.currentPage}));break;case"last-page":Object.is(this.currentPage,this.totalPage)||(this.currentPage=this.totalPage,this.$emit("change",{type:e,current:this.currentPage}));break}},onInfoTap:function(){var e=this;this.couldInput&&(this.infoClick=!0,this.inputPage=this.currentPage,setTimeout((function(){e.infoFocus=!0}),10))},onInfoConfirm:function(e){var t=this,a=e.detail.value,i=this.currentPage;parseFloat(a)>this.totalPage?this.currentPage=this.totalPage:parseFloat(a)<1?this.currentPage=1:this.currentPage=""===a?i:parseFloat(a),Object.is(i,this.currentPage)||this.$emit("change",{type:"input-page",current:this.currentPage}),this.infoClick=!1,this.$nextTick((function(){t.infoFocus=!1}))},onInfoBlur:function(e){var t=this,a=e.detail.value,i=this.currentPage;parseFloat(a)>this.totalPage?this.currentPage=this.totalPage:parseFloat(a)<1?this.currentPage=1:this.currentPage=""===a?i:parseFloat(a),Object.is(i,this.currentPage)||this.$emit("change",{type:"input-page",current:this.currentPage}),this.infoClick=!1,this.$nextTick((function(){t.infoFocus=!1}))},RGBChange:function(e,t,a){var i=0,n=0,r=0,o=!1,s=1;if(-1!==e.indexOf("#")){if(4===e.length){var l=e.split("");e="#"+l[1]+l[1]+l[2]+l[2]+l[3]+l[3]}var c=[e.substring(1,3),e.substring(3,5),e.substring(5,7)];i=parseInt(c[0],16),n=parseInt(c[1],16),r=parseInt(c[2],16)}else{o=-1!==e.indexOf("a");var u=e.slice(),d=u.indexOf("(")+1;u=u.substring(d);var f=u.indexOf(",");i=parseFloat(u.substring(0,f)),u=u.substring(f+1);var p=u.indexOf(",");if(n=parseFloat(u.substring(0,p)),u=u.substring(p+1),o){var h=u.indexOf(",");r=parseFloat(u.substring(0,h)),s=parseFloat(u.substring(h+1))}else r=parseFloat(u)}for(var g=[i,n,r],b=0;b<3;b++)g[b]="light"===a?Math.floor((255-g[b])*t+g[b]):Math.floor(g[b]*(1-t));return o?"rgba(".concat(g[0],", ").concat(g[1],", ").concat(g[2],", ").concat(s,")"):"rgb(".concat(g[0],", ").concat(g[1],", ").concat(g[2],")")},sortFieldMatch:function(e){var t=e.split(""),a=e;return t.forEach((function(t){/[A-Z]/.test(t)&&(a=e.replace(t,"-".concat(t.toLowerCase())))})),a}}};t.default=i},eaea:function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"wyb-pagination-box",style:{paddingLeft:e.padding+"rpx",paddingRight:e.padding+"rpx","--hover":e.autoHover}},[a("v-uni-view",{staticClass:"wyb-pagination-left",style:{opacity:1===e.currentPage?.5:1}},[e.showFirst?a("v-uni-view",{class:"wyb-pagination-first-page-"+(e.showIcon?"i":"t"),style:e.btnStyleStr,attrs:{"hover-class":1===e.currentPage?"":"wyb-pagination-hover"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onPageBtnTap("first-page")}}},[e.showIcon?a("v-uni-view",{staticClass:"iconfont icon-shuangjiantou left-arrow"}):a("v-uni-text",[e._v(e._s(e.firstText))])],1):e._e(),a("v-uni-view",{class:"wyb-pagination-prev-page-"+(e.showIcon?"i":"t"),style:e.btnStyleStr,attrs:{"hover-class":1===e.currentPage?"":"wyb-pagination-hover"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onPageBtnTap("prev-page")}}},[e.showIcon?a("v-uni-view",{staticClass:"iconfont icon-danjiantou left-arrow"}):a("v-uni-text",[e._v(e._s(e.prevText))])],1)],1),a("v-uni-view",{staticClass:"wyb-pagination-info",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.onInfoTap.apply(void 0,arguments)}}},[e.infoClick?a("v-uni-view",{staticClass:"wyb-pagination-input"},[a("v-uni-input",{style:{color:e.currentColor},attrs:{type:"number",onpaste:!1,focus:e.infoFocus,value:e.currentPage,"cursor-spacing":e.cursorSpacing},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onInfoConfirm.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.onInfoBlur.apply(void 0,arguments)}},model:{value:e.inputPage,callback:function(t){e.inputPage=t},expression:"inputPage"}})],1):a("v-uni-view",{staticClass:"wyb-pagination-num"},[a("v-uni-text",{style:{color:e.currentColor}},[e._v(e._s(e.currentPage))]),a("v-uni-text",{staticClass:"wyb-pagination-span",style:{color:e.pageInfoColor}},[e._v("/")]),a("v-uni-text",{style:{color:e.pageInfoColor}},[e._v(e._s(e.totalPage))]),e.showTotalItem?a("v-uni-text",{staticClass:"wyb-pagination-info-total",style:{color:e.RGBChange(e.pageInfoColor,.5,"light")}},[e._v("("+e._s(e.totalItems)+")")]):e._e()],1)],1),a("v-uni-view",{staticClass:"wyb-pagination-right",style:{opacity:e.currentPage===e.totalPage?.5:1}},[a("v-uni-view",{class:"wyb-pagination-next-page-"+(e.showIcon?"i":"t"),style:e.btnStyleStr,attrs:{"hover-class":e.currentPage===e.totalPage?"":"wyb-pagination-hover"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onPageBtnTap("next-page")}}},[e.showIcon?a("v-uni-view",{staticClass:"iconfont icon-danjiantou right-arrow"}):a("v-uni-text",[e._v(e._s(e.nextText))])],1),e.showLast?a("v-uni-view",{class:"wyb-pagination-last-page-"+(e.showIcon?"i":"t"),style:e.btnStyleStr,attrs:{"hover-class":e.currentPage===e.totalPage?"":"wyb-pagination-hover"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onPageBtnTap("last-page")}}},[e.showIcon?a("v-uni-view",{staticClass:"iconfont icon-shuangjiantou right-arrow"}):a("v-uni-text",[e._v(e._s(e.lastText))])],1):e._e()],1)],1)},r=[]},f59c:function(e,t,a){"use strict";var i=a("4ea4");a("4de4"),a("c740"),a("4160"),a("d81d"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FeedingModule=void 0;var n=i(a("5530"));a("96cf");var r=i(a("1da1")),o=i(a("d4ec")),s=i(a("bee2")),l=i(a("262e")),c=i(a("2caf")),u=a("9ab4"),d=a("6fc5"),f=i(a("0613")),p=i(a("b32d")),h=a("110c"),g=a("cdd0"),b=a("54a3"),w=function(e){(0,l.default)(a,e);var t=(0,c.default)(a);function a(){var e;return(0,o.default)(this,a),e=t.apply(this,arguments),e.blDetailList=[],e.LocList=[],e.submitListCode="",e.ContainerCode="",e.locationList=[],e.MaterialList=[],e}return(0,s.default)(a,[{key:"clearState",value:function(){this.blDetailList=[]}},{key:"confirmCheckedBlDetailList",value:function(e){this.blDetailList.filter((function(e){return e.checked})).forEach((function(t){e.locationCode&&(t.wkposCodeP=e.locationCode),e.amount&&(t.fillAmount=e.amount)}))}},{key:"queryItemLoc",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,a,i,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,p.default.post(h.url.sortscan.save.queryWlByMatBL,t);case 3:return a=e.sent,i=[],a.forEach((function(e){var t={label:e.locationCode,value:e.locationCode+"("+e.sendSpot+")"};i.push(t)})),console.log("res",a),console.log("LocList",i),e.abrupt("return",{LocList:i});case 9:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"saveBlDetailUpload",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,g.auth.checkPassword({factoryCode:b.session.factoryCode,loginName:t.operatorPass,rfPwd:t.rfPwd});case 2:return e.next=4,p.default.post(h.url.bl.u,(0,n.default)({factoryCode:b.session.factoryCode,loginName:b.session.loginName},t));case 4:uni.showToast({title:"success",duration:2e3,image:"/static/icons/icon-51.png"});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"unlockBlDetailList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.blDetailList.map((function(e){return e.sapSupplyId})),a={factoryCode:b.session.factoryCode,loginName:b.session.loginName,sapSupplyIdList:t},e.next=5,p.default.post(h.url.bl.unlock,a,{custom:{hideError:!0}});case 5:e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"queryBlDetailList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.bl.query,(0,n.default)({factoryCode:b.session.factoryCode,loginName:b.session.loginName},t));case 2:return a=e.sent,i=a.list,e.abrupt("return",{blDetailList:i});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"querydetaildlist",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post("/wmspda/tl/getBlListSn",t);case 2:return a=e.sent,console.log("明细》》》》》》》》》",a.list),this.detailedList=a.list,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryLocationList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.auth.query.location,{factoryCode:b.session.factoryCode,loginName:b.session.loginName,workareaCode:b.session.workareaCode});case 2:return t=e.sent,a=t.list.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{locationList:a});case 5:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"queryMaterialList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.auth.query.queryAppendDetail,{factoryCode:b.session.factoryCode,loginName:b.session.loginName,prdOrder:t.prdOrder,materialCode:t.materialCode});case 2:return a=e.sent,i=a.list,e.abrupt("return",{MaterialList:i});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"submitList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.auth.query.createAppendList,t);case 2:return a=e.sent,i=a.code,e.abrupt("return",{submitListCode:i});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"lock",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.auth.query.lock,{factoryCode:b.session.factoryCode,loginName:b.session.loginName,sapSupplyIdList:t});case 2:return a=e.sent,console.log(a),e.abrupt("return",{});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"searchBarcode",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.auth.query.barcode,{factoryCode:b.session.factoryCode,loginName:b.session.loginName,barcode:t.barcode,productCode:t.productCode});case 2:return a=e.sent,i=a.data,e.abrupt("return",{ContainerCode:i});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"saveBlDetailSubmit",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.bl.uRussia,(0,n.default)({factoryCode:b.session.factoryCode,loginName:b.session.loginName},t));case 2:uni.showToast({title:"success",duration:2e3,image:"/static/icons/icon-51.png"});case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryByFactoryCodeAndWorkAreaCode",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post("/wmspda/fg/queryByFactoryCodeAndWorkAreaCode",t);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"hasBlDetailChecked",get:function(){return this.checkedBlDetailList.length>0}},{key:"checkedBlDetailList",get:function(){return this.blDetailList.filter((function(e){return e.checked}))}},{key:"hasBlDetailFillAmount",get:function(){return this.blDetailList.findIndex((function(e){return e.fillAmount}))>-1}},{key:"blDetailUploadList",get:function(){return this.blDetailList.map((function(e){return e.checked||(e.fillAmount=0),e}))}}]),a}(d.VuexModule);t.FeedingModule=w,(0,u.__decorate)([d.Mutation],w.prototype,"clearState",null),(0,u.__decorate)([d.Mutation],w.prototype,"confirmCheckedBlDetailList",null),(0,u.__decorate)([d.MutationAction],w.prototype,"queryItemLoc",null),(0,u.__decorate)([(0,d.Action)({commit:"clearState"})],w.prototype,"saveBlDetailUpload",null),(0,u.__decorate)([d.Action],w.prototype,"unlockBlDetailList",null),(0,u.__decorate)([d.MutationAction],w.prototype,"queryBlDetailList",null),(0,u.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],w.prototype,"querydetaildlist",null),(0,u.__decorate)([d.MutationAction],w.prototype,"queryLocationList",null),(0,u.__decorate)([d.MutationAction],w.prototype,"queryMaterialList",null),(0,u.__decorate)([d.MutationAction],w.prototype,"submitList",null),(0,u.__decorate)([d.MutationAction],w.prototype,"lock",null),(0,u.__decorate)([d.MutationAction],w.prototype,"searchBarcode",null),(0,u.__decorate)([(0,d.Action)({commit:"clearState"})],w.prototype,"saveBlDetailSubmit",null),(0,u.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],w.prototype,"queryByFactoryCodeAndWorkAreaCode",null),t.FeedingModule=w=(0,u.__decorate)([(0,d.Module)({namespaced:!0,dynamic:!0,store:f.default,name:"raw.handover.feeding"})],w);var v=(0,d.getModule)(w);t.default=v}}]); |