|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-ingoods-SpareInbound-SparePartsStores-index"],{"1ced":function(e,t,a){"use strict";a.r(t);var i=a("2e3c"),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},"1ffc":function(e,t,a){"use strict";a.r(t);var i=a("43be"),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},"2e3c":function(e,t,a){"use strict";a("c975"),a("d3b7"),a("25f0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={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 i=0;i<a.length;i++){var n=a[i];this.showKey&&(n=a[i][this.showKey]),n.toString().toLowerCase().indexOf(t)>-1&&this.listData.push(a[i])}}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=i},"34b3":function(e,t,a){"use strict";a.r(t);var i=a("85f5"),n=a("1ced");for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("f469");var o,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"5d98e345",null,!1,i["a"],o);t["default"]=l.exports},"43be":function(e,t,a){"use strict";var i=a("4ea4");a("4160"),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")),u=a("9ab4"),c=a("60a3"),d=a("22da"),f=i(a("34b3")),p=i(a("da70")),h=a("54a3"),v=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.model=p.default,e.remove={},e.orderNo="",e.productCodeList={},e.histroyItem={},e.barcode="",e}return(0,o.default)(a,[{key:"onReady",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:return e.next=2,this.model.queryLocation();case 2:this.remove=this.model.WlList[0];case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"selectItem",value:function(e){this.remove=e.pickerName}},{key:"query",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:if(""!=this.orderNo&&0!=this.orderNo.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.orderNo);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.productCode==e.pickerName.value&&(t.histroyItem=a)}))}},{key:"onSubmit",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:if(""!=this.orderNo&&0!=this.orderNo.length){e.next=3;break}return this.customToast(this.$t("message.Commission_tips1")),e.abrupt("return");case 3:if(this.histroyItem!={}&&this.histroyItem.productCode){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:return t={loginName:h.session.loginName,factoryCode:h.session.factoryCode,orderNo:this.orderNo,orderItem:this.histroyItem.orderItem,productCode:this.histroyItem.productCode,productDescZh:this.histroyItem.productDescZh,orderType:this.histroyItem.orderType,barcode:this.barcode,locCode:this.remove.value},e.next=12,this.model.OnSubmit(t);case 12:if("1"!=this.model.SubmitCode){e.next=20;break}return this.customToast(this.$t("message.Warehouse_Tip9")),this.barcode="",this.histroyItem={},this.productCodeList={},this.model.empty(),e.next=20,this.query();case 20:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(d.BasePage);v=(0,u.__decorate)([(0,c.Component)({components:{jPicker:f.default}})],v);var m=v;t.default=m},"513c":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,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},n=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.shelves")))]),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.orderNo,callback:function(t){e.orderNo=t},expression:"orderNo"}})],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.productDescZh,callback:function(t){e.$set(e.histroyItem,"productDescZh",t)},expression:"histroyItem.productDescZh"}})],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.orderItem,callback:function(t){e.$set(e.histroyItem,"orderItem",t)},expression:"histroyItem.orderItem"}})],1),a("u-form-item",{attrs:{label:e.$t("message.plan")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.qty,callback:function(t){e.$set(e.histroyItem,"qty",t)},expression:"histroyItem.qty"}})],1),a("u-form-item",{attrs:{label:e.$t("message.QuantityShelves")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.actualQty,callback:function(t){e.$set(e.histroyItem,"actualQty",t)},expression:"histroyItem.actualQty"}})],1),a("u-form-item",{attrs:{label:e.$t("message.CommissionedLocation")}},[a("jPicker",{attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.remove.value,options:e.model.WlList},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.selectItem.apply(void 0,arguments)}}})],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"}},[e._v(e._s(e.$t("message.workArea_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=[]},"6f41":function(e,t,a){"use strict";a.r(t);var i=a("a360"),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},"7f7f":function(e,t,a){var i=a("a5df");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("59e86729",i,!0,{sourceMap:!1,shadowMode:!1})},8543:function(e,t,a){"use strict";var i=a("9a5e1"),n=a.n(i);n.a},"85f5":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:"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,i){return a("v-uni-view",{key:i,staticClass:"opItem"},[e._v(e._s(t[e.showKey]||t))])})),1)],1)],1)],1):e._e()],1)},r=[]},9741:function(e,t,a){var i=a("a8b4");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("3a1d922c",i,!0,{sourceMap:!1,shadowMode:!1})},"9a5e1":function(e,t,a){var i=a("a973");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("074302f8",i,!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 i={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 i=!0,n=0,r=[];t.fields.map((function(o){o.validation("",(function(o){o&&(i=!1,r.push(o)),++n===t.fields.length&&(a(i),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&r.length&&t.$u.toast(r[0]),"function"==typeof e&&e(i))}))}))}))}}};t.default=i},a5df: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-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 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-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},a973: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-4dbaf3e6]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-4dbaf3e6]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-4dbaf3e6]{font-size:2em;font-weight:400}.page-product-receipt[data-v-4dbaf3e6]{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-4dbaf3e6]{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-4dbaf3e6]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-product-receipt .header .left[data-v-4dbaf3e6],\n.page-product-receipt .header .right[data-v-4dbaf3e6]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-product-receipt .header .icon[data-v-4dbaf3e6]{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-4dbaf3e6]{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-4dbaf3e6]{padding:%?30?% 0;line-height:%?35?%}.page-product-receipt .form .u-form-item .Transfer[data-v-4dbaf3e6]{width:%?280?%;height:%?64?%;background:#f2f2f2;border-radius:%?110?%}.page-product-receipt .form .single[data-v-4dbaf3e6]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left[data-v-4dbaf3e6]{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left uni-view[data-v-4dbaf3e6]{width:%?170?%;height:100%;line-height:%?100?%}.page-product-receipt .form .single .single-right uni-button[data-v-4dbaf3e6]{margin-top:%?15?%;width:%?140?%;height:%?70?%}.page-product-receipt .bottom-bar[data-v-4dbaf3e6]{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},aa8f:function(e,t,a){"use strict";a.r(t);var i=a("b0df"),n=a("6f41");for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("ecb9");var o,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"1f4305a4",null,!1,i["a"],o);t["default"]=l.exports},b0df: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:"u-form"},[e._t("default")],2)},r=[]},da70:function(e,t,a){"use strict";var i=a("4ea4");a("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.wholeTransfer=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")),u=a("9ab4"),c=a("6fc5"),d=i(a("0613")),f=i(a("b32d")),p=a("110c"),h=a("54a3"),v=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.WlList=[],e.orderNoItemList=[],e.productCodeList=[],e.SubmitCode="",e}return(0,o.default)(a,[{key:"queryLocation",value:function(){var e=(0,n.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,n.default)(regeneratorRuntime.mark((function e(t){var a,i,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.queryOnshelfOrder,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,orderNo:t});case 2:return a=e.sent,i=a.data,n=a.data.map((function(e){return{label:e.productCode,value:e.productCode}})),e.abrupt("return",{orderNoItemList:i,productCodeList:n});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,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 e.next=2,f.default.post(p.url.warehouse.wholeTransfer.upshelf,t);case 2:return a=e.sent,i=a.code,e.abrupt("return",{SubmitCode:i});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,n.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}()}]),a}(c.VuexModule);t.wholeTransfer=v,(0,u.__decorate)([c.MutationAction],v.prototype,"queryLocation",null),(0,u.__decorate)([c.MutationAction],v.prototype,"queryOrderNo",null),(0,u.__decorate)([c.MutationAction],v.prototype,"OnSubmit",null),(0,u.__decorate)([c.MutationAction],v.prototype,"empty",null),t.wholeTransfer=v=(0,u.__decorate)([(0,c.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"page.raw.ingoods.SpareInbound.SparePartsStores"})],v);var m=(0,c.getModule)(v);t.default=m},ebb6:function(e,t,a){"use strict";a.r(t);var i=a("513c"),n=a("1ffc");for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("8543");var o,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"4dbaf3e6",null,!1,i["a"],o);t["default"]=l.exports},ecb9:function(e,t,a){"use strict";var i=a("9741"),n=a.n(i);n.a},f469:function(e,t,a){"use strict";var i=a("7f7f"),n=a.n(i);n.a}}]); |