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
33 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-LineSide-semi-finished-Transfer-index"],{"0ad4":function(e,t,a){"use strict";var r=a("4ea4");a("4160"),a("acd8"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(a("5530"));a("96cf");var i=r(a("1da1")),o=r(a("d4ec")),s=r(a("bee2")),u=r(a("262e")),l=r(a("2caf")),c=a("9ab4"),d=a("60a3"),f=a("22da"),p=r(a("34b3")),h=r(a("c68b")),m=a("54a3"),v=function(e){(0,u.default)(a,e);var t=(0,l.default)(a);function a(){var e;return(0,o.default)(this,a),e=t.apply(this,arguments),e.model=h.default,e.form={aimWl:{},productCode:""},e.remove={},e.allNum=0,e.userDefined4="",e.histroyItem={},e.aimWlSelect=!1,e.cboPlaceSelect=!1,e.rules={documentNo:[{required:!0,message:e.$t("message.Warehouse_Tip1")}],aimWl:[{required:!0,message:e.$t("message.Warehouse_Tip3")}],cboPlace:[{required:!0,message:e.$t("message.Warehouse_Tip4")}]},e.value="",e.show=!1,e}return(0,s.default)(a,[{key:"bookTypeChange",value:function(e){this.form.aimWl=e.pickerName}},{key:"selectItem",value:function(e){var t=this;this.remove=e.pickerName,this.model.removeList.forEach((function(e){e.materialCode==t.remove.value&&(t.histroyItem=e,console.log("this.histroyItem",t.histroyItem))}))}},{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.form.productCode&&0!=this.form.productCode.length){e.next=3;break}return this.customToast(this.$t("message.product_unit7")),e.abrupt("return");case 3:if(""!=this.userDefined4&&0!=this.userDefined4.length){e.next=6;break}return this.customToast(this.$t("message.Warehouse_Tip")),e.abrupt("return");case 6:return e.next=8,h.default.getProductCode(this.form.productCode);case 8:"1"==this.model.code&&uni.showToast({title:this.$t("message.successful"),duration:2e3,image:"/static/icons/icon-51.png"});case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"QueryHistory",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(" "!=this.userDefined4&&0!=this.userDefined4.length){e.next=3;break}return this.customToast(this.$t("message.barcode")),e.abrupt("return");case 3:return this.allNum=0,t={loginName:m.session.loginName,factoryCode:m.session.factoryCode,proMoveCode:this.userDefined4},e.next=7,this.model.QueryHistory(t);case 7:this.model.removeList.forEach((function(e){a.allNum+=parseFloat(e.proNum)})),0==this.model.removeMaterialList.length?(this.remove={},this.histroyItem.proNum=0,this.histroyItem.materialDesc="",console.log("11111111111111111"),console.log("this.histroyItem",this.histroyItem)):(this.remove=this.model.removeMaterialList[0],this.model.removeList.forEach((function(e){e.materialCode==a.remove.value&&(a.histroyItem=e)})));case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onReady",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:return this.$form.setRules(this.rules),this.model.empty(),e.next=4,this.model.queryLocation();case 4:this.form.aimWl=this.model.WlList[0];case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"generate",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={loginName:m.session.loginName,factoryCode:m.session.factoryCode},e.next=3,this.model.getCpMoveBatchNo(t);case 3:this.userDefined4=h.default.userDefined;case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"bill",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.userDefined4&&0!=this.userDefined4.length){e.next=3;break}return this.customToast(this.$t("message.LibraryCode")),e.abrupt("return");case 3:return e.next=5,this.model.querydetaildle(this.userDefined4);case 5:this.toPage(this.page.raw.LineSide.semifinishedTransfer.detail);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onSubmit",value:function(){var e=this;this.$form.validate(function(){var t=(0,i.default)(regeneratorRuntime.mark((function t(a){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a){t.next=2;break}return t.abrupt("return");case 2:if(" "!=e.userDefined4&&0!=e.userDefined4.length){t.next=5;break}return e.customToast(e.$t("message.LibraryCode")),t.abrupt("return");case 5:if(e.form.productCode){t.next=8;break}return e.customToast(e.$t("message.Warehouse_Tip5")),t.abrupt("return");case 8:if(e.form.aimWl.value){t.next=11;break}return e.customToast(e.$t("message.Warehouse_Tip3")),t.abrupt("return");case 11:if(e.form.aimWl.value!=h.default.orderInInfo.locCode){t.next=14;break}return e.customToast(e.$t("message.TargetLocation")),t.abrupt("return");case 14:return r=[(0,n.default)((0,n.default)({},e.model.orderInInfo),{},{originWl:e.model.orderInInfo.locCode,barCode:e.model.orderInInfo.barcode,aimWl:e.form.aimWl.value,type:"2",orderType:"5",keepBy:m.session.loginName,factoryCode:m.session.factoryCode,userDefined4:e.userDefined4})],t.next=17,e.model.onTakeoutConfirm(r);case 17:"1"==h.default.code&&(e.customToast(e.$t("message.Warehouse_Tip9")),e.model.empty(),e.form.productCode="",e.allNum=0,e.QueryHistory());case 18:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}]),a}(f.BasePage);(0,c.__decorate)([(0,d.Ref)("form")],v.prototype,"$form",void 0),v=(0,c.__decorate)([(0,d.Component)({components:{jPicker:p.default}})],v);var b=v;t.default=b},"0f68":function(e,t,a){"use strict";a.r(t);var r=a("0ad4"),n=a.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);t["default"]=n.a},"197f":function(e,t,a){"use strict";var r=a("1c08"),n=a.n(r);n.a},"1c08":function(e,t,a){var r=a("be37");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("4f06").default;n("cf586050",r,!0,{sourceMap:!1,shadowMode:!1})},"1ced":function(e,t,a){"use strict";a.r(t);var r=a("2e3c"),n=a.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);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 r={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 r=0;r<a.length;r++){var n=a[r];this.showKey&&(n=a[r][this.showKey]),n.toString().toLowerCase().indexOf(t)>-1&&this.listData.push(a[r])}}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=r},"34b3":function(e,t,a){"use strict";a.r(t);var r=a("b65a"),n=a("1ced");for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);a("197f");var o,s=a("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"03a6792d",null,!1,r["a"],o);t["default"]=u.exports},5530:function(e,t,a){"use strict";a("a4d3"),a("4de4"),a("4160"),a("e439"),a("dbb4"),a("b64b"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(a("ade3"));function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){(0,r.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}},"6f41":function(e,t,a){"use strict";a.r(t);var r=a("a360"),n=a.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);t["default"]=n.a},"855e":function(e,t,a){"use strict";a.r(t);var r=a("8b15"),n=a("0f68");for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);a("b805");var o,s=a("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"38cb388d",null,!1,r["a"],o);t["default"]=u.exports},"8b15":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));var r={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.semi_finished_Transfer")))]),a("v-uni-view",{staticClass:"right"})],1),a("u-form",{ref:"form",staticClass:"form",attrs:{model:e.form,"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.Batch")))]),a("u-search",{staticClass:"Transfer",attrs:{placeholder:e.$t("message.batch"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.QueryHistory.apply(void 0,arguments)}},model:{value:e.userDefined4,callback:function(t){e.userDefined4="string"===typeof t?t.trim():t},expression:"userDefined4"}})],1),a("v-uni-view",{staticClass:"single-right"},[a("u-button",{staticStyle:{height:"60rpx",width:"140rpx"},attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.generate.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.generate")))])],1)],1),a("u-form-item",{attrs:{label:e.$t("message.Warehouse_TotalNumber")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.allNum,callback:function(t){e.allNum=t},expression:"allNum"}})],1),a("u-form-item",{attrs:{label:e.$t("message.coding")}},[a("jPicker",{attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.remove.value,options:e.model.removeMaterialList},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.selectItem.apply(void 0,arguments)}}})],1),a("u-form-item",{attrs:{label:e.$t("message.Description")}},[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.product_Number")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.histroyItem.proNum,callback:function(t){e.$set(e.histroyItem,"proNum",t)},expression:"histroyItem.proNum"}})],1),a("u-form-item",{attrs:{required:!0,label:e.$t("message.product_barCode"),prop:"productCode"}},[a("u-search",{attrs:{placeholder:e.$t("message.po_PleaseInput"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}},model:{value:e.form.productCode,callback:function(t){e.$set(e.form,"productCode","string"===typeof t?t.trim():t)},expression:"form.productCode"}})],1),a("u-form-item",{attrs:{label:e.$t("message.product_Location")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.model.orderInInfo.locCode,callback:function(t){e.$set(e.model.orderInInfo,"locCode",t)},expression:"model.orderInInfo.locCode"}})],1),a("u-form-item",{attrs:{required:!0,label:e.$t("message.Warehouse_TargetLocation"),prop:"aimWl"}},[a("jPicker",{attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.form.aimWl.value,options:e.model.WlList},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.bookTypeChange.apply(void 0,arguments)}}})],1)],1),a("v-uni-view",{staticClass:"bottom-bar"},[a("u-row",{staticClass:"button-bar"},[a("u-col",{attrs:{span:4}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.bill.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.detailed")))])],1),a("u-col",{attrs:{span:4}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSubmit.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.workArea_Confirm")))])],1),a("u-col",{attrs:{span:4}},[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)},i=[]},9741:function(e,t,a){var r=a("a8b4");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("4f06").default;n("3a1d922c",r,!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 r={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 r=!0,n=0,i=[];t.fields.map((function(o){o.validation("",(function(o){o&&(r=!1,i.push(o)),++n===t.fields.length&&(a(r),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&i.length&&t.$u.toast(i[0]),"function"==typeof e&&e(r))}))}))}))}}};t.default=r},a8b4:function(e,t,a){var r=a("24fb");t=r(!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 r=a("b0df"),n=a("6f41");for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);a("ecb9");var o,s=a("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"1f4305a4",null,!1,r["a"],o);t["default"]=u.exports},b0df:function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));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)},i=[]},b4bf:function(e,t,a){var r=a("24fb");t=r(!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-38cb388d]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-38cb388d]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-38cb388d]{font-size:2em;font-weight:400}.page-product-receipt[data-v-38cb388d]{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-38cb388d]{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-38cb388d]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-product-receipt .header .left[data-v-38cb388d],\n.page-product-receipt .header .right[data-v-38cb388d]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-product-receipt .header .icon[data-v-38cb388d]{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-38cb388d]{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-38cb388d]{padding:%?30?% 0;line-height:%?35?%}.page-product-receipt .form .u-form-item .Transfer[data-v-38cb388d]{width:%?280?%;height:%?64?%;background:#f2f2f2;border-radius:%?110?%}.page-product-receipt .form .single[data-v-38cb388d]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left[data-v-38cb388d]{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left uni-view[data-v-38cb388d]{width:%?170?%;height:100%;line-height:%?100?%}.page-product-receipt .form .single .single-right uni-button[data-v-38cb388d]{margin-top:%?15?%;width:%?140?%;height:%?70?%}.page-product-receipt .bottom-bar[data-v-38cb388d]{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},b65a:function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));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,r){return a("v-uni-view",{key:r,staticClass:"opItem"},[e._v(e._s(t[e.showKey]||t))])})),1)],1)],1)],1):e._e()],1)},i=[]},b805:function(e,t,a){"use strict";var r=a("beee"),n=a.n(r);n.a},be37:function(e,t,a){var r=a("24fb");t=r(!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-03a6792d]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-03a6792d]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-03a6792d]{font-size:2em;font-weight:400}.jPicker[data-v-03a6792d]{width:100%}.jPicker .showLine[data-v-03a6792d]{width:100%;display:inline-block}.pickerMask[data-v-03a6792d]{background-color:rgba(0,0,0,.5);height:100vh;width:100vw;position:fixed;left:0;top:0;z-index:999}.alertArea[data-v-03a6792d]{position:fixed;bottom:0;left:0;width:100vw}.alertArea .searchInput[data-v-03a6792d]{width:100%;position:relative}.alertArea .searchInput .clickArea[data-v-03a6792d]{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-03a6792d]{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-03a6792d]{width:30px;height:30px;line-height:30px;text-align:center}.alertArea .searchInput[data-v-03a6792d]: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-03a6792d]{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-03a6792d],\n.alertArea .pickerTop .rigBtn[data-v-03a6792d]{font-size:18px;line-height:1rem}.alertArea .pickerTop .lefBtn[data-v-03a6792d]{color:grey}.alertArea .pickerTop .rigBtn[data-v-03a6792d]{color:#1e90ff}.alertArea .pickerTop .midInput[data-v-03a6792d]{width:64%;height:30px;position:relative;line-height:30px}.alertArea .pickerTop .midInput .searchArea[data-v-03a6792d]{text-align:left;background-color:#efefef;border-radius:20px;padding:4px 10px}.alertArea .pickerTop .midInput .searchIcon[data-v-03a6792d]{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-03a6792d]{background-color:#fff;width:100%;height:300px;left:0}.alertArea .pickerView .opItem[data-v-03a6792d]{line-height:50px;text-align:center;background-color:#f3f3f3;color:#000}.JAnimateBtmIn[data-v-03a6792d]{-webkit-animation:btmIn-data-v-03a6792d .3s ease;animation:btmIn-data-v-03a6792d .3s ease}@-webkit-keyframes btmIn-data-v-03a6792d{0%{-webkit-transform:translateY(666px);transform:translateY(666px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes btmIn-data-v-03a6792d{0%{-webkit-transform:translateY(666px);transform:translateY(666px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}',""]),e.exports=t},beee:function(e,t,a){var r=a("b4bf");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("4f06").default;n("67100410",r,!0,{sourceMap:!1,shadowMode:!1})},c68b:function(e,t,a){"use strict";var r=a("4ea4");a("4160"),a("d81d"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.wholeTransfer=void 0,a("96cf");var n=r(a("1da1")),i=r(a("bee2")),o=r(a("262e")),s=r(a("2caf")),u=r(a("d4ec")),l=a("9ab4"),c=a("6fc5"),d=r(a("0613")),f=r(a("b32d")),p=a("110c"),h=a("54a3"),m=function e(){(0,u.default)(this,e)},v=function(e){(0,o.default)(a,e);var t=(0,s.default)(a);function a(){var e;return(0,u.default)(this,a),e=t.apply(this,arguments),e.WlList=[],e.userDefined="",e.code="",e.delCode="",e.removeList=[],e.removeMaterialList=[],e.dnNo="",e.orderInInfo=new m,e}return(0,i.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.get(p.url.warehouse.wholeTransfer.getMdLocationSfg,{params:{factoryCode:h.session.factoryCode,loginName:h.session.loginName}});case 2:return t=e.sent,console.log("库位数据",t),a=t.data.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{WlList:a});case 6:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getProductCode",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r,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.container.getOdsRawStorageSnNewHalf,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,barcode:t});case 2:return a=e.sent,r=a.code,n=a.data,e.abrupt("return",{orderInInfo:n,code:r});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"codeDel",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;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.del,t);case 2:return a=e.sent,r=a.code,e.abrupt("return",{delCode:r});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,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[],a="",e.abrupt("return",{orderInInfo:t,code:a});case 3:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onTakeoutConfirm",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.rowTransfer.confirmMoveRussia,t);case 2:return a=e.sent,r=a.code,e.abrupt("return",{code:r});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getCpMoveBatchNo",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t,a,r,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,f.default.post(p.url.warehouse.rowTransfer.getSfgMoveBatchNo,t);case 3:return a=e.sent,r=a.data,e.abrupt("return",{userDefined:r});case 6:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"QueryHistory",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t,a,r,n,i=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,f.default.post(p.url.warehouse.rowTransfer.queryGroupListByMoveCode,t);case 3:return a=e.sent,r=a.data,n=[],a.data.forEach((function(e){var t={value:e.materialCode,laber:e.materialCode};n.push(t)})),e.abrupt("return",{removeList:r,removeMaterialList:n});case 8:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"querydetaildle",value:function(){var e=(0,n.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,f.default.post(p.url.warehouse.rowTransfer.queryListByMoveCode,{loginName:h.session.loginName,factoryCode:h.session.factoryCode,proMoveCode:t});case 2:return a=e.sent,console.log("明细》》》》》》》》》",a.data),this.detailedList=a.data,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"changeOrderInLocation",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post("/wmspda/material/orderin/enter",{loginName:h.session.loginName,warehouseCode:"",factoryCode:h.session.factoryCode,locationCode:t});case 2:return e.abrupt("return",t);case 3: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,"getProductCode",null),(0,l.__decorate)([c.MutationAction],v.prototype,"codeDel",null),(0,l.__decorate)([c.MutationAction],v.prototype,"empty",null),(0,l.__decorate)([c.MutationAction],v.prototype,"onTakeoutConfirm",null),(0,l.__decorate)([c.MutationAction],v.prototype,"getCpMoveBatchNo",null),(0,l.__decorate)([c.MutationAction],v.prototype,"QueryHistory",null),(0,l.__decorate)([(0,c.Action)({commit:"updateCheckedOrderInInfoListKw"})],v.prototype,"querydetaildle",null),(0,l.__decorate)([(0,c.Action)({commit:"updateCheckedOrderInInfoListKw"})],v.prototype,"changeOrderInLocation",null),t.wholeTransfer=v=(0,l.__decorate)([(0,c.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"row.LineSide.semi-finished-Transfer"})],v);var b=(0,c.getModule)(v);t.default=b},ecb9:function(e,t,a){"use strict";var r=a("9741"),n=a.n(r);n.a}}]);