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
39 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-handover-picking-BySummary"],{"082d":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-c7d59f46]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-c7d59f46]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-c7d59f46]{font-size:2em;font-weight:400}.u-col-0[data-v-c7d59f46]{width:0}.u-col-1[data-v-c7d59f46]{width:8.3333333333%}.u-col-2[data-v-c7d59f46]{width:16.6666666667%}.u-col-3[data-v-c7d59f46]{width:25%}.u-col-4[data-v-c7d59f46]{width:33.3333333333%}.u-col-5[data-v-c7d59f46]{width:41.6666666667%}.u-col-6[data-v-c7d59f46]{width:50%}.u-col-7[data-v-c7d59f46]{width:58.3333333333%}.u-col-8[data-v-c7d59f46]{width:66.6666666667%}.u-col-9[data-v-c7d59f46]{width:75%}.u-col-10[data-v-c7d59f46]{width:83.3333333333%}.u-col-11[data-v-c7d59f46]{width:91.6666666667%}.u-col-12[data-v-c7d59f46]{width:100%}',""]),e.exports=t},"2b99":function(e,t,a){"use strict";var n=a("6061"),r=a.n(n);r.a},3787:function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-row",style:{alignItems:e.uAlignItem,justifyContent:e.uJustify},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.click.apply(void 0,arguments)}}},[e._t("default")],2)},i=[]},"3bc7":function(e,t,a){var n=a("d659");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("19a78336",n,!0,{sourceMap:!1,shadowMode:!1})},"3f8e":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-a6d089a2]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-a6d089a2]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-a6d089a2]{font-size:2em;font-weight:400}.page-picking-order[data-v-a6d089a2]{background:#f2f2f2 -webkit-linear-gradient(bottom,#eee7e7,#4a78ea 51%,#1753ea) no-repeat;background:#f2f2f2 linear-gradient(0deg,#eee7e7,#4a78ea 51%,#1753ea) no-repeat;background-size:100% %?600?%;padding:%?30?%;min-height:100%;padding-top:%?118?%;padding-bottom:%?222?%}.page-picking-order .header[data-v-a6d089a2]{position:fixed;top:%?36?%;left:0;right:0;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-picking-order .header .title[data-v-a6d089a2]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-picking-order .header .left[data-v-a6d089a2],\n.page-picking-order .header .right[data-v-a6d089a2]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-picking-order .header .icon[data-v-a6d089a2]{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-picking-order .table-wrapper[data-v-a6d089a2]{background-color:#fff;height:%?500?%;overflow-x:auto}.page-picking-order .form[data-v-a6d089a2]{background-color:#fff;padding:%?40?%;border-radius:%?10?%}.page-picking-order .Exhibition[data-v-a6d089a2]{width:100%;height:%?100?%;margin-top:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .Exhibition .Exhibition-left[data-v-a6d089a2]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .Exhibition .Exhibition-left .Exhibition-left-title[data-v-a6d089a2]{width:50%;height:100%;text-align:center;line-height:%?100?%}.page-picking-order .Exhibition .Exhibition-left .Exhibition-left-data[data-v-a6d089a2]{width:50%;height:100%;text-align:center;line-height:%?100?%}.page-picking-order .Exhibition .Exhibition-right[data-v-a6d089a2]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .Exhibition .Exhibition-right .Exhibition-right-title[data-v-a6d089a2]{width:50%;height:100%;text-align:left;line-height:%?100?%}.page-picking-order .Exhibition .Exhibition-right .Exhibition-right-data[data-v-a6d089a2]{width:50%;height:100%;text-align:center;line-height:%?100?%}.page-picking-order .library[data-v-a6d089a2]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .library .library-left[data-v-a6d089a2]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .library .library-left uni-view[data-v-a6d089a2]{width:%?230?%;line-height:%?100?%;text-align:center}.page-picking-order .library .library-right[data-v-a6d089a2]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .library .library-right .library-right-title[data-v-a6d089a2]{width:%?120?%;height:100%;line-height:%?100?%;text-align:center}.page-picking-order .library .library-right .input[data-v-a6d089a2]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-picking-order .add[data-v-a6d089a2]{width:100%;height:%?100?%;position:relative}.page-picking-order .add uni-button[data-v-a6d089a2]{position:absolute;top:%?10?%;right:%?20?%}.page-picking-order .bottom-bar[data-v-a6d089a2]{z-index:21;position:fixed;bottom:0;left:0;right:0}.page-picking-order .bottom-bar .container[data-v-a6d089a2]{background:#fff;box-shadow:0 %?1?% %?20?% 0 hsla(0,0%,50.2%,.2);padding:%?20?%}.page-picking-order .bottom-bar .extra[data-v-a6d089a2]{background-color:#fff;margin:5px;border-radius:5px;padding:0 10px}.page-picking-order .bottom-bar .bottom-info .u-form-item[data-v-a6d089a2]{padding:0}',""]),e.exports=t},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 n=r(a("ade3"));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}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,n.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}},6061:function(e,t,a){var n=a("082d");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("db4938fc",n,!0,{sourceMap:!1,shadowMode:!1})},"66c7":function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var n={uIcon:a("f86b").default,uInput:a("d5da").default,uButton:a("d9ad").default,uTable:a("8365").default,uTr:a("18fd").default,uTh:a("4145").default,uTd:a("acc3").default,uForm:a("aa8f").default,uRow:a("d67a").default,uCol:a("b408").default},r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-picking-order"},[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.index.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("message.Pi_SummaryPicking")))]),a("v-uni-view",{staticClass:"right"})],1),a("v-uni-view",{staticClass:"table-wrapper"},[a("wyb-table",{ref:"table",staticClass:"table",attrs:{width:"100%","enable-check":"single","show-left-and-right-border":!0,headers:e.headers,contents:e.model.aggregateList,"show-vert-border":!1},on:{onCheck:function(t){arguments[0]=t=e.$handleEvent(t),e.handleRow.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"Exhibition"},[a("v-uni-view",{staticClass:"Exhibition-left"},[a("v-uni-view",{staticClass:"Exhibition-left-title"},[e._v(e._s(e.$t("message.Pi_Station"))+":")]),a("v-uni-view",{staticClass:"Exhibition-left-data"},[e._v(e._s(e.some.sendSpot))])],1),a("v-uni-view",{staticClass:"Exhibition-right"},[a("v-uni-view",{staticClass:"Exhibition-right-title"},[e._v(e._s(e.$t("message.Pi_PickedQuantity"))+":")]),a("v-uni-view",{staticClass:"Exhibition-right-data"},[e._v(e._s(e.some.totalMoAmount))])],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.CommissionedLocation"))+":")]),a("jPicker",{staticClass:"search",staticStyle:{width:"230rpx"},attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.wlCode,options:e.Location},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.LocationChoice.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"library-right"},[a("v-uni-view",{staticClass:"library-right-title"},[e._v(e._s(e.$t("message.CommissionedThisNumber"))+":")]),a("u-input",{staticClass:"input",attrs:{type:e.type,border:e.border,placeholder:e.$t("message.Summary_PleaseInputNumber")},model:{value:e.qty,callback:function(t){e.qty=t},expression:"qty"}})],1)],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),a("u-table",{staticClass:"library-table"},[a("u-tr",{staticClass:"u-tr"},[a("u-th",{staticClass:"u-th"},[e._v(e._s(e.$t("message.product_Location")))]),a("u-th",{staticClass:"u-th"},[e._v(e._s(e.$t("message.product_Number")))]),a("u-th",{staticClass:"u-th"},[e._v(e._s(e.$t("message.operation")))])],1),e._l(e.LocationList,(function(t,n){return a("u-tr",{key:n,staticClass:"u-tr"},[a("u-td",{staticClass:"u-td"},[e._v(e._s(t.wlCode))]),a("u-td",{staticClass:"u-td"},[e._v(e._s(t.qty))]),a("u-td",{staticClass:"u-td"},[a("div",{staticClass:"u-td",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.deleteItem(n)}}},[e._v(e._s(e.$t("message.product_Delete")))])])],1)}))],2),a("v-uni-view",{staticClass:"bottom-bar"},[a("div",{staticClass:"extra"},[a("u-form",{ref:"form",attrs:{model:e.form,"error-type":["toast"]}},[a("u-row",{staticClass:"bottom-info"})],1)],1),a("div",{staticClass:"container"},[a("u-row",[a("u-col",{attrs:{span:4}},[a("u-button",{staticClass:"appoint",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:"success"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSubmit.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.po_Submit")))])],1),a("u-col",{attrs:{span:4}},[a("u-button",{attrs:{type:"error"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.index.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.po_Return")))])],1)],1)],1)])],1)},i=[]},"6f41":function(e,t,a){"use strict";a.r(t);var n=a("a360"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=r.a},"7c2b":function(e,t,a){"use strict";var n=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.Headers=t.orderHeaders=t.summaryHeaders=t.resultHeaders=t.headers=void 0;var r=n(a("cd49")),i=[{label:r.default.$t("message.Pi_OrderNo"),key:"prdOrder",width:550}];t.headers=i;var o=[{label:r.default.$t("message.po_MaterielNo"),key:"materialCode",width:220},{label:r.default.$t("message.po_DemandQuantity"),key:"amount"},{label:r.default.$t("message.Pi_CumulativePickingQuantity"),key:"totalMoAmount",width:300},{label:r.default.$t("message.Pi_HandoverQuantity"),key:"totalHvAmount"},{label:r.default.$t("message.Pi_factory"),key:"sapFactoryCode"},{label:r.default.$t("message.Pi_Station"),key:"sendSpot"},{label:r.default.$t("message.po_MaterielDes"),key:"materialDesc",width:350},{label:"MRP",key:"mrpCode"},{label:r.default.$t("message.Pi_unit"),key:"unit"},{label:r.default.$t("message.Pi_OrderNo"),key:"prdOrder"},{label:r.default.$t("message.Pi_FinishedProductModel"),key:"prdMaterialDesc",width:300},{label:r.default.$t("message.po_Location"),key:"wkposCode"}];t.resultHeaders=o;var s=[{label:r.default.$t("message.po_MaterielNo"),key:"materialCode",width:220},{label:r.default.$t("message.po_DemandQuantity"),key:"amount"},{label:r.default.$t("message.Pi_CurrentPickingQuantity"),key:"currentAmount",width:300},{label:r.default.$t("message.Pi_PickedQuantity"),key:"totalMoAmount"},{label:r.default.$t("message.Pi_QuantityHandedOver"),key:"totalHvAmount"},{label:r.default.$t("message.po_Location"),key:"wkposCode"},{label:r.default.$t("message.po_MaterielDes"),key:"materialDesc",width:350},{label:r.default.$t("message.Pi_unit"),key:"unit"}];t.summaryHeaders=s;var u=[{label:r.default.$t("message.po_MaterielNo"),key:"materialCode",width:220},{label:r.default.$t("message.po_DemandQuantity"),key:"amount"},{label:r.default.$t("message.Pi_CurrentPickingQuantity"),key:"currentAmount",width:300},{label:r.default.$t("message.Pi_PickedQuantity"),key:"totalMoAmount"},{label:r.default.$t("message.Pi_QuantityHandedOver"),key:"totalHvAmount"},{label:r.default.$t("message.po_Location"),key:"wkposCode"},{label:r.default.$t("message.po_MaterielDes"),key:"materialDesc",width:350},{label:r.default.$t("message.Pi_unit"),key:"unit"},{label:r.default.$t("message.Pi_FinishedProductModel"),key:"prdMaterialDesc",width:300},{label:r.default.$t("message.Pi_factory"),key:"sapFactoryCode"},{label:r.default.$t("message.Pi_Station"),key:"sendSpot"},{label:r.default.$t("message.Pi_OrderNo"),key:"prdOrder"}];t.orderHeaders=u;var l=[{label:r.default.$t("message.po_MaterielNo"),key:"materialCode",width:220},{label:r.default.$t("message.po_DemandQuantity"),key:"amount"},{label:r.default.$t("message.Pi_CurrentPickingQuantity"),key:"operatorAmount",width:300},{label:r.default.$t("message.po_Location"),key:"originLocation"},{label:r.default.$t("message.po_MaterielDes"),key:"materialDesc",width:350},{label:r.default.$t("message.Pi_unit"),key:"unit"},{label:r.default.$t("message.Pi_factory"),key:"sapFactoryCode"},{label:r.default.$t("message.Pi_Station"),key:"sendSpot"},{label:r.default.$t("message.Pi_OrderNo"),key:"prdOrder"},{label:r.default.$t("message.CommissionedLocation"),key:"wlCode"}];t.Headers=l},"80f4":function(e,t,a){"use strict";var n=a("3bc7"),r=a.n(n);r.a},9741:function(e,t,a){var n=a("a8b4");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("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,r=0,i=[];t.fields.map((function(o){o.validation("",(function(o){o&&(n=!1,i.push(o)),++r===t.fields.length&&(a(n),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&i.length&&t.$u.toast(i[0]),"function"==typeof e&&e(n))}))}))}))}}};t.default=n},a381:function(e,t,a){"use strict";a.r(t);var n=a("e536"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=r.a},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},a950:function(e,t,a){"use strict";var n=a("bc57"),r=a.n(n);r.a},aa8f:function(e,t,a){"use strict";a.r(t);var n=a("b0df"),r=a("6f41");for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("ecb9");var o,s=a("f0c5"),u=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"1f4305a4",null,!1,n["a"],o);t["default"]=u.exports},ade3:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},b0df:function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var r=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=[]},b408:function(e,t,a){"use strict";a.r(t);var n=a("f505"),r=a("f0ee");for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("2b99");var o,s=a("f0c5"),u=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"c7d59f46",null,!1,n["a"],o);t["default"]=u.exports},b87c:function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"u-col",props:{span:{type:[Number,String],default:12},offset:{type:[Number,String],default:0},justify:{type:String,default:"start"},align:{type:String,default:"center"},textAlign:{type:String,default:"left"},stop:{type:Boolean,default:!0}},data:function(){return{gutter:20}},created:function(){this.parent=!1},mounted:function(){this.parent=this.$u.$parent.call(this,"u-row"),this.parent&&(this.gutter=this.parent.gutter)},computed:{uJustify:function(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem:function(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align}},methods:{click:function(e){this.$emit("click")}}};t.default=n},bc1c:function(e,t,a){"use strict";a.r(t);var n=a("f3bf"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=r.a},bc57:function(e,t,a){var n=a("3f8e");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("6071d502",n,!0,{sourceMap:!1,shadowMode:!1})},c508:function(e,t,a){"use strict";a.r(t);var n=a("66c7"),r=a("bc1c");for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("a950");var o,s=a("f0c5"),u=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"a6d089a2",null,!1,n["a"],o);t["default"]=u.exports},d659: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-94c204aa]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-94c204aa]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-94c204aa]{font-size:2em;font-weight:400}.u-row[data-v-94c204aa]{\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-flex-wrap:wrap;flex-wrap:wrap}',""]),e.exports=t},d67a:function(e,t,a){"use strict";a.r(t);var n=a("3787"),r=a("a381");for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("80f4");var o,s=a("f0c5"),u=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"94c204aa",null,!1,n["a"],o);t["default"]=u.exports},e536:function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"u-row",props:{gutter:{type:[String,Number],default:20},justify:{type:String,default:"start"},align:{type:String,default:"center"},stop:{type:Boolean,default:!0}},computed:{uJustify:function(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem:function(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align}},methods:{click:function(e){this.$emit("click")}}};t.default=n},ecb9:function(e,t,a){"use strict";var n=a("9741"),r=a.n(n);r.a},ef95:function(e,t,a){"use strict";var n=a("4ea4");a("4de4"),a("c740"),a("4160"),a("d81d"),a("d3b7"),a("159b"),a("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PickingModule=void 0,a("96cf");var r=n(a("1da1")),i=n(a("5530")),o=n(a("d4ec")),s=n(a("bee2")),u=n(a("262e")),l=n(a("2caf")),d=a("9ab4"),c=a("6fc5"),f=n(a("0613")),p=n(a("b32d")),g=a("110c"),h=a("54a3"),m=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.proOrderList=[],e.proOrderResultList=[],e.aggregateList=[],e.locationList=[],e}return(0,s.default)(a,[{key:"clearState",value:function(){this.proOrderList=[],this.proOrderResultList=[],this.aggregateList=[]}},{key:"clearProOrderList",value:function(){this.proOrderList=[]}},{key:"checkAllProOrderList",value:function(e){this.proOrderList=this.proOrderList.map((function(t){return(0,i.default)((0,i.default)({},t),{},{checked:e})}))}},{key:"checkAllAggregateList",value:function(e){this.aggregateList=this.aggregateList.map((function(t){return(0,i.default)((0,i.default)({},t),{},{checked:e})}))}},{key:"confirmCheckedAggregateList",value:function(e){this.aggregateList.filter((function(e){return e.checked})).forEach((function(t){e.locationCode&&(t.currentWkposCode=e.locationCode),e.amount&&(t.currentAmount=e.amount)}))}},{key:"checkAllProOrderResultList",value:function(e){this.proOrderResultList=this.proOrderResultList.map((function(t){return(0,i.default)((0,i.default)({},t),{},{checked:e})}))}},{key:"confirmCheckedProOrderResultList",value:function(e){this.proOrderResultList.filter((function(e){return e.checked})).forEach((function(t){e.amount&&(t.currentAmount=e.amount)}))}},{key:"queryProOrder",value:function(){var e=(0,r.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,p.default.post(g.url.sortscan.query.prdorder,t);case 2:return a=e.sent,n=a.list,n.length||uni.showToast({icon:"none",title:"No Data Found"}),e.abrupt("return",{proOrderList:n});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryStockList",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("/material/queryOdsRawStorageNews",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:"queryProOrderResult",value:function(){var e=(0,r.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,p.default.post(g.url.sortscan.query.prdorderList,t);case 2:return a=e.sent,n=a.list,n.forEach((function(e){return e.loginName=t.loginName})),e.abrupt("return",{proOrderResultList:n});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryAggregateList",value:function(){var e=(0,r.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,p.default.post(g.url.sortscan.query.aggregateList,t);case 2:return a=e.sent,n=a.list,n.length||uni.showToast({icon:"none",title:"No Data Found"}),n.forEach((function(e){return e.loginName=t.loginName})),e.abrupt("return",{aggregateList:n});case 7:case"end":return e.stop()}}),e)})));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,n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={factoryCode:h.session.factoryCode,loginName:h.session.loginName},e.next=3,p.default.post(g.url.auth.locations,t);case 3:return a=e.sent,n=a.values,r=n.map((function(e){return{label:e,value:e}})),e.abrupt("return",{locationList:r});case 7:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"saveAggregateUpload",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(g.url.sortscan.save.aggregate,t);case 2:uni.showToast({icon:"success",title:"success"});case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"saveProOrderResultUpload",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(g.url.sortscan.save.order,t);case 2:uni.showToast({icon:"success",title:"success"});case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"unlockProOrderResult",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.prev=0,e.next=3,p.default.post(g.url.sortscan.unlock.list,t,{custom:{hideError:!0}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e["catch"](0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"lockProOrderResult",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(g.url.sortscan.lock.list,t);case 2: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:"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/sortscan/getJhListSn",t);case 2:return a=e.sent,this.detailedList=a.list,console.log(this.detailedList),e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"isCheckedAll",get:function(){return!this.proOrderList.filter((function(e){return!e.checked})).length}},{key:"hasChecked",get:function(){return this.checkedProOrderList.length>0}},{key:"checkedProOrderList",get:function(){return this.proOrderList.filter((function(e){return e.checked}))}},{key:"isAggregateCheckedAll",get:function(){return!this.aggregateList.filter((function(e){return!e.checked})).length}},{key:"hasAggregateChecked",get:function(){return this.checkedAggregateList.length>0}},{key:"checkedAggregateList",get:function(){return this.aggregateList.filter((function(e){return e.checked}))}},{key:"hasAggregateCurrentAmount",get:function(){return this.aggregateList.findIndex((function(e){return e.currentAmount}))>-1}},{key:"aggregateUploadList",get:function(){return this.aggregateList.map((function(e){return e.checked||(e.currentAmount=0),e}))}},{key:"isProOrderResultCheckedAll",get:function(){return!this.proOrderResultList.filter((function(e){return!e.checked})).length}},{key:"hasProOrderResultChecked",get:function(){return this.checkedProOrderResultList.length>0}},{key:"checkedProOrderResultList",get:function(){return this.proOrderResultList.filter((function(e){return e.checked}))}},{key:"hasProOrderResultCurrentAmount",get:function(){return this.proOrderResultList.findIndex((function(e){return e.currentAmount}))>-1}},{key:"proOrderResultUploadList",get:function(){return this.proOrderResultList.map((function(e){return e.checked||(e.currentAmount=0),e}))}}]),a}(c.VuexModule);t.PickingModule=m,(0,d.__decorate)([c.Mutation],m.prototype,"clearState",null),(0,d.__decorate)([c.Mutation],m.prototype,"clearProOrderList",null),(0,d.__decorate)([c.Mutation],m.prototype,"checkAllProOrderList",null),(0,d.__decorate)([c.Mutation],m.prototype,"checkAllAggregateList",null),(0,d.__decorate)([c.Mutation],m.prototype,"confirmCheckedAggregateList",null),(0,d.__decorate)([c.Mutation],m.prototype,"checkAllProOrderResultList",null),(0,d.__decorate)([c.Mutation],m.prototype,"confirmCheckedProOrderResultList",null),(0,d.__decorate)([c.MutationAction],m.prototype,"queryProOrder",null),(0,d.__decorate)([(0,c.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"queryStockList",null),(0,d.__decorate)([c.MutationAction],m.prototype,"queryProOrderResult",null),(0,d.__decorate)([c.MutationAction],m.prototype,"queryAggregateList",null),(0,d.__decorate)([c.MutationAction],m.prototype,"queryLocationList",null),(0,d.__decorate)([(0,c.Action)({commit:"clearState"})],m.prototype,"saveAggregateUpload",null),(0,d.__decorate)([(0,c.Action)({commit:"clearState"})],m.prototype,"saveProOrderResultUpload",null),(0,d.__decorate)([c.Action],m.prototype,"unlockProOrderResult",null),(0,d.__decorate)([c.Action],m.prototype,"lockProOrderResult",null),(0,d.__decorate)([(0,c.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"queryByFactoryCodeAndWorkAreaCode",null),(0,d.__decorate)([(0,c.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"querydetaildlist",null),t.PickingModule=m=(0,d.__decorate)([(0,c.Module)({namespaced:!0,dynamic:!0,store:f.default,name:"raw.handover.picking"})],m);var y=(0,c.getModule)(m);t.default=y},f0ee:function(e,t,a){"use strict";a.r(t);var n=a("b87c"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=r.a},f3bf:function(e,t,a){"use strict";var n=a("4ea4");a("4160"),a("d81d"),a("45fc"),a("a434"),a("acd8"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("96cf");var r=n(a("1da1")),i=n(a("d4ec")),o=n(a("bee2")),s=n(a("262e")),u=n(a("2caf")),l=a("9ab4"),d=a("60a3"),c=a("22da"),f=n(a("ef95")),p=a("7c2b"),g=a("54a3"),h=n(a("34b3")),m=function(e){(0,s.default)(a,e);var t=(0,u.default)(a);function a(){var e;return(0,i.default)(this,a),e=t.apply(this,arguments),e.submitForm={receiver:"",receiverName:"",password:""},e.model=f.default,e.type="text",e.wlCode="",e.border=!0,e.LocationList=[],e.Location=[],e.someIndex=0,e.some={},e.qty="",e.form={amount:null},e.rules={amount:[{required:!0,message:e.$t("message.Pi_tip1")}]},e.locationCodeSelect=!1,e.headers=p.summaryHeaders,e}return(0,o.default)(a,[{key:"index",value:function(){this.toPage(this.page.raw.handover.picking.result)}},{key:"LocationChoice",value:function(e){console.log("e>>>>>>>>>>>>>>>>>>>>>>>>",e),this.wlCode=e.pickerName}},{key:"handleRow",value:function(e){var t=e.data;this.someIndex=t[0].index,this.some=t[0].lineData,this.model.aggregateList[this.someIndex].wlList=[],this.model.aggregateList[this.someIndex].currentAmount=0,this.LocationList=[],this.qty=""}},{key:"Add",value:function(){var e=this;if(""!=this.qty&&""!=this.wlCode)if(parseFloat(this.qty)<=0)uni.showToast({icon:"none",title:this.$t("message.Commission_tips3")});else if(this.some!={}){var t=!0;if(0!=this.LocationList.length&&this.LocationList.forEach((function(a){if(e.wlCode.sendSpot!=a.Code)return uni.showToast({icon:"none",title:e.$t("message.Commission_tips7")}),t=!1})),1==t)if(parseFloat(this.qty)+parseFloat(this.some.totalMoAmount)>parseFloat(this.some.amount))uni.showModal({title:"Tip",content:this.$t("message.Pi_tip11"),confirmText:this.$t("message.workArea_Confirm"),cancelText:this.$t("message.Cancel"),showCancel:!0,success:function(t){if(t.confirm){var a={wlCode:e.wlCode.label,qty:e.qty,Code:e.wlCode.sendSpot};e.LocationList.push(a);var n=JSON.stringify(e.some),r=JSON.parse(n);r.wlList=null,r.wlCode=e.wlCode.label,r.qty=e.qty,e.model.aggregateList[e.someIndex].wlList.push(r),e.model.aggregateList[e.someIndex].currentAmount+=parseFloat(e.qty),e.qty=""}}});else{var a={wlCode:this.wlCode.label,qty:this.qty,Code:this.wlCode.sendSpot};this.LocationList.push(a);var n=JSON.stringify(this.some),r=JSON.parse(n);r.wlList=null,r.wlCode=this.wlCode.label,r.qty=this.qty,this.model.aggregateList[this.someIndex].wlList.push(r),this.model.aggregateList[this.someIndex].currentAmount+=parseFloat(this.qty),this.qty=""}}else uni.showToast({icon:"none",title:this.$t("message.Commission_tips6")});else uni.showToast({icon:"none",title:this.$t("message.Commission_tips2")})}},{key:"deleteItem",value:function(e){this.LocationList.splice(e,1),this.model.aggregateList[this.someIndex].wlList.splice(e,1),this.business()}},{key:"business",value:function(){var e=0;this.LocationList.forEach((function(t){e+=parseFloat(t.qty)})),this.model.aggregateList[this.someIndex].currentAmount=e}},{key:"onReady",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,a,n,r,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=JSON.parse(localStorage.getItem("__GWMS_APP_STATE_DATA__")),a=JSON.parse(localStorage.getItem("sendSpot")),n={loginName:t.session.user.loginName,sendSpot:a,factoryCode:t.session.user.factoryCode,workArea:g.session.workareaCode},e.next=5,this.model.queryByFactoryCodeAndWorkAreaCode(n);case 5:r=e.sent,r.forEach((function(e){var t={};t.label=e.locationCode,t.value=e.locationCode+"("+e.sendSpot+")",t.sendSpot=e.sendSpot,i.Location.push(t)})),this.again=JSON.parse(sessionStorage.getItem("params")),sessionStorage.removeItem("params");case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"bill",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.redirectTo(this.page.raw.handover.picking.SummaryLocal);case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"onSubmit",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,a,n,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.model.proOrderResultList.map((function(e){return e.orderOutId})),a=[],this.model.aggregateList.forEach((function(e){1==e.checked&&a.push(e)})),n={factoryCode:g.session.factoryCode,loginName:g.session.loginName,dataList:a,includeOrderOutIdList:t},e.next=6,this.model.saveAggregateUpload(n).then((function(){r.model.queryProOrderResult(r.again).then((function(){r.toPage(r.page.raw.handover.picking.result)}))}));case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(c.BasePage);(0,l.__decorate)([(0,d.Ref)("form")],m.prototype,"$form",void 0),(0,l.__decorate)([(0,d.Ref)("submitForm")],m.prototype,"$submitForm",void 0),m=(0,l.__decorate)([(0,d.Component)({components:{jPicker:h.default}})],m);var y=m;t.default=y},f505:function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-col",class:["u-col-"+e.span],style:{padding:"0 "+Number(e.gutter)/2+"rpx",marginLeft:100/12*e.offset+"%",flex:"0 0 "+100/12*e.span+"%",alignItems:e.uAlignItem,justifyContent:e.uJustify,textAlign:e.textAlign},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.click.apply(void 0,arguments)}}},[e._t("default")],2)},i=[]}}]);