You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
28 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-ingoods-SpareInbound-SparePartsWarehouse-index"],{"114f":function(e,t,a){"use strict";var n=a("4ea4");a("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.wholeTransfer=void 0,a("96cf");var i=n(a("1da1")),r=n(a("d4ec")),o=n(a("bee2")),s=n(a("262e")),u=n(a("2caf")),l=a("9ab4"),c=a("6fc5"),d=n(a("0613")),f=n(a("b32d")),p=a("110c"),h=a("54a3"),v=function(e){(0,s.default)(a,e);var t=(0,u.default)(a);function a(){var e;return(0,r.default)(this,a),e=t.apply(this,arguments),e.WlList=[],e.orderNoItemList=[],e.productCodeList=[],e.BoxResCode="",e.BoxObj={},e.SubmitCode="",e.DetailList=[],e}return(0,o.default)(a,[{key:"queryLocation",value:function(){var e=(0,i.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,f.default.post(p.url.warehouse.wholeTransfer.getSpareMdLocation,{factoryCode:h.session.factoryCode,loginName:h.session.loginName});case 2:return t=e.sent,a=t.data.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{WlList:a});case 5:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"queryOrderNo",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(t){var a,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.findSpareInfoByDN,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,nxOutCode:t});case 2:return a=e.sent,n=a.data,i=a.data.map((function(e){return{label:e.materialCode,value:e.materialCode}})),e.abrupt("return",{orderNoItemList:n,productCodeList:i});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"BoxCode",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(t){var a,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.scanBox,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,barcode:t});case 2:return a=e.sent,n=a.code,i=a.data,e.abrupt("return",{BoxResCode:n,BoxObj:i});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"OnSubmit",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(t){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.saleScan,t);case 2:return a=e.sent,n=a.code,e.abrupt("return",{SubmitCode:n});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"empty",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[],e.abrupt("return",{productCodeList:t});case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"SearchDetail",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(t){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.querySpareListInfoByDnNo,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,order1:t});case 2:return a=e.sent,n=a.data,e.abrupt("return",{DetailList:n});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),a}(c.VuexModule);t.wholeTransfer=v,(0,l.__decorate)([c.MutationAction],v.prototype,"queryLocation",null),(0,l.__decorate)([c.MutationAction],v.prototype,"queryOrderNo",null),(0,l.__decorate)([c.MutationAction],v.prototype,"BoxCode",null),(0,l.__decorate)([c.MutationAction],v.prototype,"OnSubmit",null),(0,l.__decorate)([c.MutationAction],v.prototype,"empty",null),(0,l.__decorate)([c.MutationAction],v.prototype,"SearchDetail",null),t.wholeTransfer=v=(0,l.__decorate)([(0,c.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"page.raw.ingoods.SpareInbound.SparePartsWarehouse"})],v);var m=(0,c.getModule)(v);t.default=m},"1ced":function(e,t,a){"use strict";a.r(t);var n=a("2e3c"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},"2e3c":function(e,t,a){"use strict";a("c975"),a("d3b7"),a("25f0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"jPicker",data:function(){return{listData:this.options,nSel:-1,pickerVisable:!1,searchPosition:"middle",selStyle:"height:50px;"}},props:["options","showKey","valKey","val","position","disabled","bgColor","sureColor","focus"],watch:{options:function(e){this.listData=e,this.selByValKey()},val:{handler:function(){this.selByValKey()}},reset:function(e){""!==e&&void 0!==e&&null!==e||(this.nSel=-1)}},computed:{reset:function(){return this.val}},mounted:function(){this.selByValKey(),this.position&&(this.searchPosition=this.position)},methods:{showPicker:function(){this.disabled||(this.pickerVisable=!0,this.listData=this.options)},cancelSel:function(){if(this.pickerVisable=!1,this.val)if(this.valKey){for(var e=this.listData,t=0,a=e.length;t<a;t++)if(e[t][this.valKey]==this.val){this.nSel=t;break}}else this.nSel=this.val;else this.nSel=-1},sureSelect:function(){if(this.pickerVisable=!1,0==this.listData.length)uni.showToast({icon:"none",title:this.$t("message.unselected")}),this.$emit("sure",{});else{var e={pickerVal:this.nSel,pickerName:-1==this.nSel?this.listData[0]:this.listData[this.nSel]};console.log("子组件要传的值",e),this.$emit("bindpicker",e)}},selChange:function(e){console.log("触发机制。。"),this.nSel=e.detail.value[0]},filterOp:function(e){var t=e.detail.value;if(""!=t){t=t.toLowerCase();var a=this.options;this.listData=[],this.nSel=0;for(var n=0;n<a.length;n++){var i=a[n];this.showKey&&(i=a[n][this.showKey]),i.toString().toLowerCase().indexOf(t)>-1&&this.listData.push(a[n])}}else this.listData=this.options,this.nSel=this.val?this.val:-1,this.selByValKey()},selByValKey:function(){var e=this.options;if(this.listData=e,this.valKey){for(var t=0,a=e.length;t<a;t++)if(e[t][this.valKey]==this.val){this.nSel=t;break}}else this.nSel=this.val},doNothing:function(){}}};t.default=n},"34b3":function(e,t,a){"use strict";a.r(t);var n=a("85f5"),i=a("1ced");for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);a("f469");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"5d98e345",null,!1,n["a"],o);t["default"]=u.exports},4864:function(e,t,a){var n=a("5bdf");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("284e2910",n,!0,{sourceMap:!1,shadowMode:!1})},"5bdf":function(e,t,a){var n=a("24fb");t=n(!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-77db9e4f]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-77db9e4f]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-77db9e4f]{font-size:2em;font-weight:400}.page-product-receipt[data-v-77db9e4f]{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-product-receipt .header[data-v-77db9e4f]{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-product-receipt .header .title[data-v-77db9e4f]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-product-receipt .header .left[data-v-77db9e4f],\n.page-product-receipt .header .right[data-v-77db9e4f]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-product-receipt .header .icon[data-v-77db9e4f]{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-product-receipt .form[data-v-77db9e4f]{background-color:#fff;padding:%?40?%;border-radius:%?10?%;box-shadow:0 0 %?20?% 0 hsla(0,0%,50.2%,.2)}.page-product-receipt .form .u-form-item[data-v-77db9e4f]{padding:%?30?% 0;line-height:%?35?%}.page-product-receipt .form .u-form-item .Transfer[data-v-77db9e4f]{width:%?280?%;height:%?64?%;background:#f2f2f2;border-radius:%?110?%}.page-product-receipt .form .single[data-v-77db9e4f]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left[data-v-77db9e4f]{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left uni-view[data-v-77db9e4f]{width:%?170?%;height:100%;line-height:%?100?%}.page-product-receipt .form .single .single-right uni-button[data-v-77db9e4f]{margin-top:%?15?%;width:%?140?%;height:%?70?%}.page-product-receipt .bottom-bar[data-v-77db9e4f]{position:fixed;bottom:0;left:0;right:0;z-index:99;background:#fff;box-shadow:0 %?1?% %?20?% 0 hsla(0,0%,50.2%,.2);padding:%?20?%}',""]),e.exports=t},"6f41":function(e,t,a){"use strict";a.r(t);var n=a("a360"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},"761b":function(e,t,a){"use strict";a.r(t);var n=a("89a6"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},"7f7f":function(e,t,a){var n=a("a5df");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("59e86729",n,!0,{sourceMap:!1,shadowMode:!1})},"85f5":function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"jPicker"},[a("v-uni-view",{staticClass:"showLine",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showPicker.apply(void 0,arguments)}}},[e.listData.length>0&&-1!=e.nSel?a("v-uni-view",[e._v(e._s(e.listData[e.nSel][e.showKey]||e.listData[e.nSel]))]):a("v-uni-view",{staticStyle:{color:"#7d7d7d"}},[e._v(e._s(e.$t("message.workArea_Selelct")))])],1),e.pickerVisable?a("v-uni-view",{staticClass:"pickerMask"},[a("v-uni-view",{staticClass:"alertArea JAnimateBtmIn",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.doNothing.apply(void 0,arguments)}}},["top"==e.searchPosition?a("v-uni-view",{staticClass:"searchInput"},[a("v-uni-view",{staticClass:"clickArea"},[a("v-uni-input",{staticClass:"jInput",attrs:{"placeholder-style":"color:#ffffff"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.filterOp.apply(void 0,arguments)}}}),a("v-uni-icon",{staticClass:"searchLogo",attrs:{type:"search"}})],1)],1):e._e(),a("v-uni-view",{staticClass:"pickerTop"},[a("v-uni-view",{staticClass:"lefBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelSel.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.product_Cancel")))]),a("v-uni-view",{staticClass:"midInput"},["middle"==e.searchPosition?[a("v-uni-input",{staticClass:"searchArea",attrs:{focus:e.focus},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.filterOp.apply(void 0,arguments)}}}),a("v-uni-icon",{staticClass:"searchIcon",attrs:{type:"search"}})]:e._e()],2),a("v-uni-view",{staticClass:"rigBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.sureSelect.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.workArea_Confirm")))])],1),a("v-uni-picker-view",{staticClass:"pickerView",attrs:{value:[e.nSel],"mask-style":"background-color:"+e.bgColor,"indicator-style":e.selStyle},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.selChange.apply(void 0,arguments)}}},[a("v-uni-picker-view-column",e._l(e.listData,(function(t,n){return a("v-uni-view",{key:n,staticClass:"opItem"},[e._v(e._s(t[e.showKey]||t))])})),1)],1)],1)],1):e._e()],1)},r=[]},"86de":function(e,t,a){"use strict";a.r(t);var n=a("d5e5"),i=a("761b");for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);a("e047");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"77db9e4f",null,!1,n["a"],o);t["default"]=u.exports},"89a6":function(e,t,a){"use strict";var n=a("4ea4");a("4160"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("96cf");var i=n(a("1da1")),r=n(a("d4ec")),o=n(a("bee2")),s=n(a("262e")),u=n(a("2caf")),l=a("9ab4"),c=a("60a3"),d=a("22da"),f=n(a("34b3")),p=n(a("114f")),h=a("54a3"),v=function(e){(0,s.default)(a,e);var t=(0,u.default)(a);function a(){var e;return(0,r.default)(this,a),e=t.apply(this,arguments),e.model=p.default,e.nxOutCode="",e.productCodeList={},e.histroyItem={},e.BoxCode="",e.BoxObj={},e.barcode="",e}return(0,o.default)(a,[{key:"query",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.nxOutCode&&0!=this.nxOutCode.length){e.next=3;break}return this.customToast(this.$t("message.Commission_tips1")),e.abrupt("return");case 3:return e.next=5,this.model.queryOrderNo(this.nxOutCode);case 5:this.productCodeList=this.model.productCodeList[0],this.histroyItem=this.model.orderNoItemList[0];case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"selectProductCode",value:function(e){var t=this;this.model.orderNoItemList.forEach((function(a){a.materialCode==e.pickerName.value&&(t.histroyItem=a)}))}},{key:"SeachBoxCode",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.BoxCode&&0!=this.BoxCode.length){e.next=3;break}return this.customToast(this.$t("message.enterBox")),e.abrupt("return");case 3:return e.next=5,this.model.BoxCode(this.BoxCode);case 5:"1"==this.model.BoxResCode&&(this.BoxObj=this.model.BoxObj);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onSubmit",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.nxOutCode&&0!=this.nxOutCode.length){e.next=3;break}return this.customToast(this.$t("message.Commission_tips1")),e.abrupt("return");case 3:if(this.histroyItem!={}&&this.histroyItem.materialCode){e.next=6;break}return this.customToast(this.$t("message.AppendMateriel5")),e.abrupt("return");case 6:if(""!=this.barcode&&0!=this.barcode.length){e.next=9;break}return this.customToast(this.$t("message.barcode")),e.abrupt("return");case 9:if(""!=this.BoxCode&&this.BoxObj.barcode){e.next=12;break}return this.customToast(this.$t("message.ScanBoxCode")),e.abrupt("return");case 12:return t={loginName:h.session.loginName,factoryCode:h.session.factoryCode,nxOutCode:this.nxOutCode,rowItem:this.histroyItem.rowItem,materialCode:this.histroyItem.materialCode,materialDesc:this.histroyItem.materialDesc,boxCode:this.BoxCode,barcode:this.barcode},e.next=15,this.model.OnSubmit(t);case 15:if("1"!=this.model.SubmitCode){e.next=23;break}return this.customToast(this.$t("message.Warehouse_Tip9")),this.barcode="",this.histroyItem={},this.productCodeList={},this.model.empty(),e.next=23,this.query();case 23:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"ToDetail",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.nxOutCode&&0!=this.nxOutCode.length){e.next=3;break}return this.customToast(this.$t("message.Commission_tips1")),e.abrupt("return");case 3:return this.model.DetailList.length=0,e.next=6,this.model.SearchDetail(this.nxOutCode);case 6:this.toPage(this.page.raw.ingoods.SparePartsWarehouse.details);case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(d.BasePage);v=(0,l.__decorate)([(0,c.Component)({components:{jPicker:f.default}})],v);var m=v;t.default=m},9741:function(e,t,a){var n=a("a8b4");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("3a1d922c",n,!0,{sourceMap:!1,shadowMode:!1})},a360:function(e,t,a){"use strict";a("c975"),a("d81d"),a("a9e3"),a("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"u-form",props:{model:{type:Object,default:function(){return{}}},errorType:{type:Array,default:function(){return["message","toast"]}},borderBottom:{type:Boolean,default:!0},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:90},labelAlign:{type:String,default:"left"},labelStyle:{type:Object,default:function(){return{}}}},provide:function(){return{uForm:this}},data:function(){return{rules:{}}},created:function(){this.fields=[]},methods:{setRules:function(e){this.rules=e},resetFields:function(){this.fields.map((function(e){e.resetField()}))},validate:function(e){var t=this;return new Promise((function(a){var n=!0,i=0,r=[];t.fields.map((function(o){o.validation("",(function(o){o&&(n=!1,r.push(o)),++i===t.fields.length&&(a(n),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&r.length&&t.$u.toast(r[0]),"function"==typeof e&&e(n))}))}))}))}}};t.default=n},a5df:function(e,t,a){var n=a("24fb");t=n(!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-5d98e345]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-5d98e345]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-5d98e345]{font-size:2em;font-weight:400}.jPicker[data-v-5d98e345]{width:100%}.jPicker .showLine[data-v-5d98e345]{width:100%;display:inline-block}.pickerMask[data-v-5d98e345]{background-color:rgba(0,0,0,.5);height:100vh;width:100vw;position:fixed;left:0;top:0;z-index:999}.alertArea[data-v-5d98e345]{position:fixed;bottom:0;left:0;width:100vw}.alertArea .searchInput[data-v-5d98e345]{width:100%;position:relative}.alertArea .searchInput .clickArea[data-v-5d98e345]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:36px}.alertArea .searchInput .clickArea .jInput[data-v-5d98e345]{text-align:left;width:90%;border:none;height:30px;font-size:17px;padding:2px 8px;box-sizing:border-box;color:#fff}.alertArea .searchInput .clickArea .searchLogo[data-v-5d98e345]{width:30px;height:30px;line-height:30px;text-align:center}.alertArea .searchInput[data-v-5d98e345]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#678699;-webkit-filter:blur(18px);filter:blur(18px);z-index:-1}.alertArea .pickerTop[data-v-5d98e345]{background-color:#fff;height:52px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;\n /*border-bottom: 1px solid #000000;*/font-size:18px;box-sizing:border-box;-webkit-justify-content:space-around;justify-content:space-around}.alertArea .pickerTop .lefBtn[data-v-5d98e345],\n.alertArea .pickerTop .rigBtn[data-v-5d98e345]{font-size:18px;line-height:1rem}.alertArea .pickerTop .lefBtn[data-v-5d98e345]{color:grey}.alertArea .pickerTop .rigBtn[data-v-5d98e345]{color:#1e90ff}.alertArea .pickerTop .midInput[data-v-5d98e345]{width:64%;height:30px;position:relative;line-height:30px}.alertArea .pickerTop .midInput .searchArea[data-v-5d98e345]{text-align:left;background-color:#efefef;border-radius:20px;padding:4px 10px}.alertArea .pickerTop .midInput .searchIcon[data-v-5d98e345]{position:absolute;right:5px;top:0;width:30px;height:30px;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.alertArea .pickerView[data-v-5d98e345]{background-color:#fff;width:100%;height:300px;left:0}.alertArea .pickerView .opItem[data-v-5d98e345]{line-height:50px;text-align:center;background-color:#f3f3f3;color:#000}.JAnimateBtmIn[data-v-5d98e345]{-webkit-animation:btmIn-data-v-5d98e345 .3s ease;animation:btmIn-data-v-5d98e345 .3s ease}@-webkit-keyframes btmIn-data-v-5d98e345{0%{-webkit-transform:translateY(666px);transform:translateY(666px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes btmIn-data-v-5d98e345{0%{-webkit-transform:translateY(666px);transform:translateY(666px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}',""]),e.exports=t},a8b4:function(e,t,a){var n=a("24fb");t=n(!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-1f4305a4]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-1f4305a4]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-1f4305a4]{font-size:2em;font-weight:400}',""]),e.exports=t},aa8f:function(e,t,a){"use strict";a.r(t);var n=a("b0df"),i=a("6f41");for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);a("ecb9");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"1f4305a4",null,!1,n["a"],o);t["default"]=u.exports},b0df:function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-form"},[e._t("default")],2)},r=[]},d5e5:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}));var n={uIcon:a("f86b").default,uForm:a("aa8f").default,uSearch:a("9cf5").default,uButton:a("d9ad").default,uFormItem:a("e0a3").default,uInput:a("d5da").default,uRow:a("d67a").default,uCol:a("b408").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-product-receipt"},[a("v-uni-view",{staticClass:"header",style:{backgroundColor:"rgba(23, 83, 234, "+e.scrollTop/100+")"}},[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.SparePartsOutbound")))]),a("v-uni-view",{staticClass:"right"})],1),a("u-form",{ref:"form",staticClass:"form",attrs:{"label-width":"180rpx"}},[a("v-uni-view",{staticClass:"single"},[a("v-uni-view",{staticClass:"single-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.InventoryOrderNo"))+":")]),a("u-search",{attrs:{placeholder:e.$t("message.InventoryPleaseScan"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}},model:{value:e.nxOutCode,callback:function(t){e.nxOutCode=t},expression:"nxOutCode"}})],1),a("v-uni-view",{staticClass:"single-right"},[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("u-form-item",{attrs:{label:e.$t("message.matcode")}},[a("jPicker",{attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.productCodeList.value,options:e.model.productCodeList},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.selectProductCode.apply(void 0,arguments)}}})],1),a("u-form-item",{attrs:{label:e.$t("message.po_MaterielDes")}},[a("u-input",{staticStyle:{overflow:"hidden"},attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.materialDesc,callback:function(t){e.$set(e.histroyItem,"materialDesc",t)},expression:"histroyItem.materialDesc"}})],1),a("u-form-item",{attrs:{label:e.$t("message.Line")}},[a("u-input",{staticStyle:{overflow:"hidden"},attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.rowItem,callback:function(t){e.$set(e.histroyItem,"rowItem",t)},expression:"histroyItem.rowItem"}})],1),a("u-form-item",{attrs:{label:e.$t("message.plan")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.orderAmount,callback:function(t){e.$set(e.histroyItem,"orderAmount",t)},expression:"histroyItem.orderAmount"}})],1),a("u-form-item",{attrs:{label:e.$t("message.Cumulative")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.outAmount,callback:function(t){e.$set(e.histroyItem,"outAmount",t)},expression:"histroyItem.outAmount"}})],1),a("u-form-item",{attrs:{required:!0,label:e.$t("message.Box"),prop:"productCode"}},[a("u-search",{attrs:{placeholder:e.$t("message.barcode"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.SeachBoxCode.apply(void 0,arguments)}},model:{value:e.BoxCode,callback:function(t){e.BoxCode="string"===typeof t?t.trim():t},expression:"BoxCode"}})],1),a("u-form-item",{attrs:{required:!0,label:e.$t("message.product_barCode"),prop:"productCode"}},[a("u-search",{attrs:{placeholder:e.$t("message.barcode"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.onSubmit.apply(void 0,arguments)}},model:{value:e.barcode,callback:function(t){e.barcode="string"===typeof t?t.trim():t},expression:"barcode"}})],1)],1),a("v-uni-view",{staticClass:"bottom-bar"},[a("u-row",{staticClass:"button-bar"},[a("u-col",{attrs:{span:6}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.ToDetail.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.detailed")))])],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=[]},e047:function(e,t,a){"use strict";var n=a("4864"),i=a.n(n);i.a},ecb9:function(e,t,a){"use strict";var n=a("9741"),i=a.n(n);i.a},f469:function(e,t,a){"use strict";var n=a("7f7f"),i=a.n(n);i.a}}]);