|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-handover-picking-ByOrder"],{"04a4":function(t,e,i){"use strict";i.r(e);var n=i("d82d"),a=i("c380");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("75b2");var s,o=i("f0c5"),d=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"d54f8d30",null,!1,n["a"],s);e["default"]=d.exports},"082d":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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%}',""]),t.exports=e},"2b99":function(t,e,i){"use strict";var n=i("6061"),a=i.n(n);a.a},3787:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-row",style:{alignItems:t.uAlignItem,justifyContent:t.uJustify},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t._t("default")],2)},r=[]},"3bc7":function(t,e,i){var n=i("d659");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("19a78336",n,!0,{sourceMap:!1,shadowMode:!1})},6061:function(t,e,i){var n=i("082d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("db4938fc",n,!0,{sourceMap:!1,shadowMode:!1})},"6f41":function(t,e,i){"use strict";i.r(e);var n=i("a360"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"75b2":function(t,e,i){"use strict";var n=i("d418"),a=i.n(n);a.a},"80f4":function(t,e,i){"use strict";var n=i("3bc7"),a=i.n(n);a.a},9741:function(t,e,i){var n=i("a8b4");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("3a1d922c",n,!0,{sourceMap:!1,shadowMode:!1})},a360:function(t,e,i){"use strict";i("c975"),i("d81d"),i("a9e3"),i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.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(t){this.rules=t},resetFields:function(){this.fields.map((function(t){t.resetField()}))},validate:function(t){var e=this;return new Promise((function(i){var n=!0,a=0,r=[];e.fields.map((function(s){s.validation("",(function(s){s&&(n=!1,r.push(s)),++a===e.fields.length&&(i(n),-1===e.errorType.indexOf("none")&&e.errorType.indexOf("toast")>=0&&r.length&&e.$u.toast(r[0]),"function"==typeof t&&t(n))}))}))}))}}};e.default=n},a381:function(t,e,i){"use strict";i.r(e);var n=i("e536"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},a8b4:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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}',""]),t.exports=e},aa8f:function(t,e,i){"use strict";i.r(e);var n=i("b0df"),a=i("6f41");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("ecb9");var s,o=i("f0c5"),d=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"1f4305a4",null,!1,n["a"],s);e["default"]=d.exports},ade3:function(t,e,i){"use strict";function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},b0df:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-form"},[t._t("default")],2)},r=[]},b408:function(t,e,i){"use strict";i.r(e);var n=i("f505"),a=i("f0ee");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("2b99");var s,o=i("f0c5"),d=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"c7d59f46",null,!1,n["a"],s);e["default"]=d.exports},b5bf:function(t,e,i){"use strict";var n=i("4ea4");i("4160"),i("45fc"),i("a434"),i("acd8"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("d4ec")),s=n(i("bee2")),o=n(i("262e")),d=n(i("2caf")),u=i("9ab4"),l=i("60a3"),c=i("22da"),f=n(i("ef95")),p=i("7c2b"),h=i("54a3"),g=n(i("34b3")),m=function(t){(0,o.default)(i,t);var e=(0,d.default)(i);function i(){var t;return(0,r.default)(this,i),t=e.apply(this,arguments),t.submitForm={receiver:"",receiverName:"",password:""},t.model=f.default,t.type="text",t.wlCode="",t.border=!0,t.LocationList=[],t.Location=[],t.someIndex=0,t.some={},t.qty="",t.form={amount:null},t.rules={amount:[{required:!0,message:t.$t("message.Pi_tip1")}]},t.locationCodeSelect=!1,t.headers=p.orderHeaders,t}return(0,s.default)(i,[{key:"LocationChoice",value:function(t){console.log("e>>>>>>>>>>>>>>>>>>>>>>>>",t),this.wlCode=t.pickerName}},{key:"handleRow",value:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(e){var i,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.data,console.log("data[0]",i[0]),this.model.proOrderResultList[i[0].index].sendSpot){t.next=5;break}return uni.showModal({content:this.$t("message.SAPLocation"),success:function(t){t.confirm&&(n.model.proOrderResultList[i[0].index].checked=!1)}}),t.abrupt("return");case 5:return this.someIndex=i[0].index,this.some=i[0].lineData,this.model.proOrderResultList[this.someIndex].wlList=[],this.model.proOrderResultList[this.someIndex].currentAmount=0,this.LocationList=[],this.qty="",t.next=13,this.model.queryItemLoc({workArea:h.session.workareaCode,loginName:h.session.loginName,sendSpot:null,materialCode:this.some.materialCode,factoryCode:h.session.factoryCode});case 13:this.Location=[],0==this.model.LocList.length?uni.showModal({content:this.$t("message.selected"),showCancel:!1,confirmText:this.$t("message.workArea_Confirm")}):(this.Location=this.model.LocList,console.log("this.Location",this.Location),this.wlCode=this.Location[0]);case 15:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"Add",value:function(){var t=this;if(""!=this.qty&&""!=this.wlCode)if(parseFloat(this.qty)<=0)this.customToast(this.$t("message.Commission_tips3"));else if("{}"!=JSON.stringify(this.some)){var e=!0;if(0!=this.LocationList.length&&this.LocationList.forEach((function(i){if(t.wlCode.sendSpot!=i.Code||t.wlCode.label===i.wlCode)return t.customToast(t.$t("message.Commission_tips7")),e=!1})),1==e)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(e){if(e.confirm){var i={wlCode:t.wlCode.label,qty:t.qty,Code:t.wlCode.sendSpot};t.LocationList.push(i);var n=JSON.stringify(t.some),a=JSON.parse(n);a.wlList=null,a.wlCode=t.wlCode.label,a.qty=t.qty,t.model.proOrderResultList[t.someIndex].wlList.push(a),t.model.proOrderResultList[t.someIndex].currentAmount+=parseFloat(t.qty),t.qty=""}}});else{var i={wlCode:this.wlCode.label,qty:this.qty,Code:this.wlCode.sendSpot};this.LocationList.push(i);var n=JSON.stringify(this.some),a=JSON.parse(n);a.wlList=null,a.wlCode=this.wlCode.label,a.qty=this.qty,this.model.proOrderResultList[this.someIndex].wlList.push(a),this.model.proOrderResultList[this.someIndex].currentAmount+=parseFloat(this.qty),this.qty=""}}else this.customToast(this.$t("message.Commission_tips6"));else this.customToast(this.$t("message.Commission_tips2"))}},{key:"deleteItem",value:function(t){this.LocationList.splice(t,1),this.model.proOrderResultList[this.someIndex].wlList.splice(t,1),this.business()}},{key:"business",value:function(){var t=0;this.LocationList.forEach((function(e){t+=parseFloat(e.qty)})),this.model.proOrderResultList[this.someIndex].currentAmount=t}},{key:"onReady",value:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.onAggregate();case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"bill",value:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(){var e,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.some!={}&&null!=this.some.prdOrder){t.next=3;break}return this.customToast(this.$t("message.Commission_tips6")),t.abrupt("return");case 3:return e=JSON.parse(uni.getStorageSync("__GWMS_APP_STATE_DATA__")),i={loginName:e.session.user.loginName,prdOrder:this.some.prdOrder},t.next=7,this.model.querydetaildlist(i);case 7:this.redirectTo(this.page.raw.handover.picking.Local);case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"onSubmit",value:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(){var e,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=[],this.model.proOrderResultList.forEach((function(t){1==t.checked&&e.push(t)})),0!=e.length){t.next=5;break}return this.customToast(this.$t("message.Warehouse_Tip6")),t.abrupt("return");case 5:return t.next=7,this.model.saveProOrderResultUpload(e);case 7:"1"==this.model.code&&(uni.showToast({title:this.$t("message.Warehouse_Tip9"),duration:2e3,image:"/static/icons/icon-51.png"}),setTimeout((function(){i.onAggregate()}),2e3));case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"onAggregate",value:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.model.queryProOrder(this.model.formParams);case 2:return t.next=4,this.model.queryProOrderResult(this.model.NEWparams);case 4:if(0!=this.model.proOrderResultList.length){t.next=9;break}return this.some={},this.LocationList=[],this.wlCode="",t.abrupt("return");case 9:return t.next=11,this.model.lockProOrderResult(this.model.proOrderResultList);case 11:this.some={},this.LocationList=[],this.wlCode="";case 14:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"GetLocation",value:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(){var e,i,n,a=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.Location=[],e=JSON.parse(uni.getStorageSync("__GWMS_APP_STATE_DATA__")),i={loginName:e.session.user.loginName,sendSpot:null,factoryCode:e.session.user.factoryCode,workArea:h.session.workareaCode},t.next=5,this.model.queryByFactoryCodeAndWorkAreaCode(i);case 5:n=t.sent,n.forEach((function(t){var e={};e.label=t.locationCode,e.value=t.locationCode+"("+t.sendSpot+")",e.sendSpot=t.sendSpot,a.Location.push(e)}));case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}]),i}(c.BasePage);(0,u.__decorate)([(0,l.Ref)("form")],m.prototype,"$form",void 0),(0,u.__decorate)([(0,l.Ref)("submitForm")],m.prototype,"$submitForm",void 0),m=(0,u.__decorate)([(0,l.Component)({components:{jPicker:g.default}})],m);var v=m;e.default=v},b87c:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.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(t){this.$emit("click")}}};e.default=n},c380:function(t,e,i){"use strict";i.r(e);var n=i("b5bf"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c8bf:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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-d54f8d30]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-d54f8d30]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-d54f8d30]{font-size:2em;font-weight:400}.page-picking-order[data-v-d54f8d30]{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-d54f8d30]{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-d54f8d30]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-picking-order .header .left[data-v-d54f8d30],\n.page-picking-order .header .right[data-v-d54f8d30]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-picking-order .header .icon[data-v-d54f8d30]{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-d54f8d30]{background-color:#fff;height:%?500?%;overflow-x:auto}.page-picking-order .form[data-v-d54f8d30]{background-color:#fff;padding:%?40?%;border-radius:%?10?%}.page-picking-order .Exhibition[data-v-d54f8d30]{width:100%;height:%?100?%;margin-top:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .Exhibition .Exhibition-left[data-v-d54f8d30]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .Exhibition .Exhibition-left .Exhibition-left-title[data-v-d54f8d30]{width:50%;height:100%;text-align:center;line-height:%?100?%}.page-picking-order .Exhibition .Exhibition-left .Exhibition-left-data[data-v-d54f8d30]{width:50%;height:100%;text-align:center;line-height:%?100?%}.page-picking-order .Exhibition .Exhibition-right[data-v-d54f8d30]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .Exhibition .Exhibition-right .Exhibition-right-title[data-v-d54f8d30]{width:50%;height:100%;line-height:%?100?%}.page-picking-order .Exhibition .Exhibition-right .Exhibition-right-data[data-v-d54f8d30]{width:50%;height:100%;text-align:center;line-height:%?100?%}.page-picking-order .library[data-v-d54f8d30]{width:100%;height:%?200?%;display:block}.page-picking-order .library .library-left[data-v-d54f8d30]{width:100%;height:%?100?%;padding-left:%?36?%}.page-picking-order .library .library-right[data-v-d54f8d30]{width:100%;height:%?100?%;padding-left:%?36?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-picking-order .library .library-right .library-right-title[data-v-d54f8d30]{width:%?120?%;height:100%;line-height:%?100?%}.page-picking-order .library .library-right .input[data-v-d54f8d30]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?4?%}.page-picking-order .library .library-right .add[data-v-d54f8d30]{width:%?200?%;height:%?100?%;position:relative}.page-picking-order .library .library-right .add uni-button[data-v-d54f8d30]{position:absolute;top:%?10?%;right:%?20?%}.page-picking-order .bottom-bar[data-v-d54f8d30]{z-index:21;position:fixed;bottom:0;left:0;right:0}.page-picking-order .bottom-bar .container[data-v-d54f8d30]{background:#fff;box-shadow:0 %?1?% %?20?% 0 hsla(0,0%,50.2%,.2);padding:%?20?%}.page-picking-order .bottom-bar .extra[data-v-d54f8d30]{background-color:#fff;margin:5px;border-radius:5px;padding:0 10px}.page-picking-order .bottom-bar .bottom-info .u-form-item[data-v-d54f8d30]{padding:0}',""]),t.exports=e},d418:function(t,e,i){var n=i("c8bf");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("7040e84e",n,!0,{sourceMap:!1,shadowMode:!1})},d659:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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}',""]),t.exports=e},d67a:function(t,e,i){"use strict";i.r(e);var n=i("3787"),a=i("a381");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("80f4");var s,o=i("f0c5"),d=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"94c204aa",null,!1,n["a"],s);e["default"]=d.exports},d82d:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uIcon:i("f86b").default,uInput:i("d5da").default,uButton:i("d9ad").default,uTable:i("8365").default,uTr:i("18fd").default,uTh:i("4145").default,uTd:i("acc3").default,uForm:i("aa8f").default,uRow:i("d67a").default,uCol:i("b408").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page-picking-order"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"left"},[i("u-icon",{staticClass:"icon",attrs:{name:"arrow-left"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uni.navigateBack()}}})],1),i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t("message.Pi_ByOrderPicking")))]),i("v-uni-view",{staticClass:"right"})],1),i("v-uni-view",{staticClass:"table-wrapper"},[i("wyb-table",{ref:"table",staticClass:"table",attrs:{width:"100%","enable-check":"single","show-left-and-right-border":!0,headers:t.headers,contents:t.model.proOrderResultList,"show-vert-border":!1},on:{onCheck:function(e){arguments[0]=e=t.$handleEvent(e),t.handleRow.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"Exhibition"},[i("v-uni-view",{staticClass:"Exhibition-left"},[i("v-uni-view",{staticClass:"Exhibition-left-title"},[t._v(t._s(t.$t("message.Pi_Station"))+":")]),i("v-uni-view",{staticClass:"Exhibition-left-data"},[t._v(t._s(t.some.sendSpot))])],1),i("v-uni-view",{staticClass:"Exhibition-right"},[i("v-uni-view",{staticClass:"Exhibition-right-title"},[t._v(t._s(t.$t("message.Pi_PickedQuantity"))+":")]),i("v-uni-view",{staticClass:"Exhibition-right-data"},[t._v(t._s(t.some.totalMoAmount))])],1)],1),i("v-uni-view",{staticClass:"library"},[i("v-uni-view",{staticClass:"library-left"},[i("v-uni-view",[t._v(t._s(t.$t("message.CommissionedLocation"))+":")]),i("jPicker",{staticClass:"search",staticStyle:{width:"400rpx"},attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:t.wlCode.value,options:t.Location},on:{bindpicker:function(e){arguments[0]=e=t.$handleEvent(e),t.LocationChoice.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"library-right"},[i("v-uni-view",{staticClass:"library-right-title"},[t._v(t._s(t.$t("message.CommissionedThisNumber"))+":")]),i("u-input",{staticClass:"input",attrs:{type:"number",border:t.border,placeholder:t.$t("message.Summary_PleaseInputNumber")},model:{value:t.qty,callback:function(e){t.qty=e},expression:"qty"}}),i("v-uni-view",{staticClass:"add"},[i("u-button",{attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Add.apply(void 0,arguments)}}},[t._v(t._s(t.$t("message.product_add")))])],1)],1)],1),i("u-table",{staticClass:"library-table"},[i("u-tr",{staticClass:"u-tr"},[i("u-th",{staticClass:"u-th"},[t._v(t._s(t.$t("message.product_Location")))]),i("u-th",{staticClass:"u-th"},[t._v(t._s(t.$t("message.product_Number")))]),i("u-th",{staticClass:"u-th"},[t._v(t._s(t.$t("message.operation")))])],1),t._l(t.LocationList,(function(e,n){return i("u-tr",{key:n,staticClass:"u-tr"},[i("u-td",{staticClass:"u-td"},[t._v(t._s(e.wlCode))]),i("u-td",{staticClass:"u-td"},[t._v(t._s(e.qty))]),i("u-td",{staticClass:"u-td"},[i("u-button",{staticStyle:{"font-size":"20px"},attrs:{type:"error",size:"small"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteItem(n)}}},[t._v(t._s(t.$t("message.product_Delete")))])],1)],1)}))],2),i("v-uni-view",{staticClass:"bottom-bar"},[i("div",{staticClass:"extra"},[i("u-form",{ref:"form",attrs:{model:t.form,"error-type":["toast"]}},[i("u-row",{staticClass:"bottom-info"})],1)],1),i("div",{staticClass:"container"},[i("u-row",[i("u-col",{attrs:{span:4}},[i("u-button",{staticClass:"appoint",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bill.apply(void 0,arguments)}}},[t._v(t._s(t.$t("message.detailed")))])],1),i("u-col",{attrs:{span:4}},[i("u-button",{attrs:{type:"success"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSubmit.apply(void 0,arguments)}}},[t._v(t._s(t.$t("message.po_Submit")))])],1),i("u-col",{attrs:{span:4}},[i("u-button",{attrs:{type:"error"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uni.navigateBack()}}},[t._v(t._s(t.$t("message.po_Return")))])],1)],1)],1)])],1)},r=[]},e536:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.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(t){this.$emit("click")}}};e.default=n},ecb9:function(t,e,i){"use strict";var n=i("9741"),a=i.n(n);a.a},f0ee:function(t,e,i){"use strict";i.r(e);var n=i("b87c"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},f505:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-col",class:["u-col-"+t.span],style:{padding:"0 "+Number(t.gutter)/2+"rpx",marginLeft:100/12*t.offset+"%",flex:"0 0 "+100/12*t.span+"%",alignItems:t.uAlignItem,justifyContent:t.uJustify,textAlign:t.textAlign},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t._t("default")],2)},r=[]}}]); |