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
32 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-STO-FactorySTO-Outbound-index"],{"0fe9":function(e,t,i){"use strict";var a=i("4ea4");i("4160"),i("a434"),i("acd8"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var n=a(i("1da1")),s=a(i("d4ec")),r=a(i("bee2")),o=a(i("262e")),l=a(i("2caf")),c=i("9ab4"),u=i("60a3"),d=i("22da"),h=a(i("34b3")),f=i("54a3"),p=a(i("77ed")),m=i("6c3e"),b=function(e){(0,o.default)(i,e);var t=(0,l.default)(i);function i(){var e;return(0,s.default)(this,i),e=t.apply(this,arguments),e.border=!0,e.firstFocus=!1,e.barCode="",e.type="text",e.Tabheaders=m.Tabheaders,e.model=p.default,e.dnNo="",e.dnNoList=[],e.DnlineNo={},e.LocList=[],e.Loc={},e.locCode="",e.TheItem={},e.ItemIndex=0,e.item="",e.num="",e.SunmitList=[],e}return(0,r.default)(i,[{key:"QueryLoc",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.model.QueryLoc(this.TheItem.deliveryRegion);case 2:this.LocList=this.model.LocList,this.Loc=this.model.LocList[0];case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"query",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.dnNo){e.next=3;break}return this.customToast(this.$t("message.Warehouse_Tip1")),e.abrupt("return");case 3:if(0==this.SunmitList.length){e.next=7;break}uni.showModal({content:this.$t("message.submitted"),cancelText:this.$t("message.Cancel"),confirmText:this.$t("message.workArea_Confirm"),success:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!i.confirm){e.next=10;break}return t.empty(),e.next=4,p.default.QuerydnNo(t.dnNo);case 4:t.dnNoList=t.model.dnNoList,t.DnlineNo=t.model.DnLineList[0],t.TheItem=t.model.dnNoList[0],t.ItemIndex=0,e.next=12;break;case 10:if(!i.cancel){e.next=12;break}return e.abrupt("return");case 12:case"end":return e.stop()}}),e)})));function i(t){return e.apply(this,arguments)}return i}()}),e.next=13;break;case 7:return e.next=9,p.default.QuerydnNo(this.dnNo);case 9:this.dnNoList=this.model.dnNoList,this.DnlineNo=this.model.DnLineList[0],this.TheItem=this.model.dnNoList[0],this.ItemIndex=0;case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"SelectDnLine",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.DnlineNo=t.pickerName,this.model.dnNoList.forEach((function(e,t){e.dnItem==i.DnlineNo.value&&(i.TheItem=e,i.ItemIndex=t)}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"SelectLoc",value:function(e){this.Loc=e.pickerName}},{key:"onOk",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.dnNo){e.next=3;break}return this.customToast(this.$t("message.Warehouse_Tip1")),e.abrupt("return");case 3:if(this.barCode){e.next=6;break}return this.customToast(this.$t("message.barcode_PleaseScan")),e.abrupt("return");case 6:if(this.TheItem.materialCode){e.next=9;break}return this.customToast(this.$t("message.DNLine_PleaseSelect")),e.abrupt("return");case 9:return t={barcode:this.barCode,productCode:this.TheItem.materialCode,loginName:f.session.loginName,factoryCode:f.session.factoryCode},e.next=12,this.model.stoDnProdScan(t);case 12:"1"==this.model.res.code&&(this.customToast(this.$t("message.Warehouse_Tip9")),i=this.model.res.data,this.locCode=i.locCode,this.num=parseFloat(i.qty)-(i.cpRef4?parseFloat(i.cpRef4):0));case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"Add",value:function(){var e=this;if(this.dnNo)if(this.TheItem)if(this.barCode)if(this.locCode)if(this.num)if(parseFloat(this.num)<=0)this.customToast(this.$t("message.Commission_tips3"));else if(parseFloat(this.num)>parseFloat(this.TheItem.orderAmount))this.customToast(this.$t("message.Commission_tips4"));else if(parseFloat(this.num)+parseFloat(this.TheItem.scanAmount)>parseFloat(this.TheItem.orderAmount))this.customToast(this.$t("message.Commission_tips4"));else{this.model.dnNoList[this.ItemIndex].scanAmount+=parseFloat(this.num);var t={loginName:f.session.loginName,factoryCode:f.session.factoryCode,dnNo:this.dnNo,dnItem:this.DnlineNo.value,stoNo:this.TheItem.stoNo,stoItem:this.TheItem.stoItem,materialCode:this.TheItem.materialCode,orderAmount:this.TheItem.orderAmount,scanAmount:this.TheItem.scanAmount,wlCode:this.locCode,nowAmount:this.num,barCode:this.barCode};this.SunmitList.push(t),this.barCode="",this.num="",this.locCode="",this.firstFocus=!1,this.$nextTick((function(){e.firstFocus=!0})),console.log("this.model.dnNoList",this.model.dnNoList)}else this.customToast(this.$t("message.Summary_PleaseInputNumber"));else this.customToast(this.$t("message.Warehouse_Tip2"));else this.customToast(this.$t("message.barcode_PleaseScan"));else this.customToast(this.$t("message.Warehouse_Tip6"));else this.customToast(this.$t("message.Warehouse_Tip1"))}},{key:"deleteItem",value:function(e){var t=this;uni.showModal({content:this.$t("message.product_Delete"),cancelText:this.$t("message.Cancel"),confirmText:this.$t("message.workArea_Confirm"),success:function(i){if(i.confirm)t.model.dnNoList.forEach((function(t){t.dnItem==e.lineData.dnItem&&(t.scanAmount-=parseFloat(e.lineData.nowAmount))})),t.SunmitList.splice(e.contentIndex,1),console.log("this.model.dnNoList",t.model.dnNoList);else if(i.cancel)return}})}},{key:"Submit",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=!0,this.model.dnNoList.forEach((function(e){if(e.orderAmount!=e.scanAmount)return i.customToast(i.$t("message.AllThem")),t=!1})),!t){e.next=6;break}return e.next=5,this.model.SubmitList(this.SunmitList);case 5:1==this.model.SubCode&&(uni.showToast({title:this.$t("message.success"),image:"/static/icons/icon-51.png"}),this.empty());case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"empty",value:function(){this.dnNo="",this.LocList=[],this.locCode="",this.num="",this.barCode="",this.TheItem={},this.ItemIndex=0,this.dnNoList=[],this.DnlineNo={},this.SunmitList=[],this.model.dnNoList.length=0}}]),i}(d.BasePage);b=(0,c.__decorate)([(0,u.Component)({components:{jPicker:h.default}})],b);var v=b;t.default=v},"248e":function(e,t,i){"use strict";i.r(t);var a=i("29d3"),n=i("58ba");for(var s in n)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(s);i("2652f");var r,o=i("f0c5"),l=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"096f43bc",null,!1,a["a"],r);t["default"]=l.exports},"2652f":function(e,t,i){"use strict";var a=i("4ed4"),n=i.n(a);n.a},"291d":function(e,t,i){var a=i("24fb");t=a(!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-3783e340]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-3783e340]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-3783e340]{font-size:2em;font-weight:400}.u-search[data-v-3783e340]{\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-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;flex:1}.u-content[data-v-3783e340]{\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-box-align:center;-webkit-align-items:center;align-items:center;padding:0 %?18?%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.u-clear-icon[data-v-3783e340]{\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-box-align:center;-webkit-align-items:center;align-items:center}.u-input[data-v-3783e340]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?28?%;line-height:1;margin:0 %?10?%;color:#909399}.u-close-wrap[data-v-3783e340]{width:%?40?%;height:100%;\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-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:50%}.u-placeholder-class[data-v-3783e340]{color:#909399}.u-action[data-v-3783e340]{font-size:%?28?%;color:#303133;width:0;overflow:hidden;-webkit-transition:all .3s;transition:all .3s;white-space:nowrap;text-align:center}.u-action-active[data-v-3783e340]{width:%?80?%;margin-left:%?10?%}',""]),e.exports=t},"29d3":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return a}));var a={uIcon:i("f86b").default,uSearch:i("9cf5").default,uButton:i("d9ad").default,uInput:i("d5da").default,uFormItem:i("e0a3").default,uRow:i("d67a").default,uCol:i("b408").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"page-raw-receipt"},[i("v-uni-view",{staticClass:"header",style:{backgroundColor:"rgba(23, 83, 234, "+e.scrollTop/100+")"}},[i("v-uni-view",{staticClass:"left"},[i("u-icon",{staticClass:"icon",attrs:{name:"arrow-left"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack({})}}})],1),i("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("message.FactorySTOoutbound")))]),i("v-uni-view",{staticClass:"right"})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"single"},[i("v-uni-view",{staticClass:"single-left"},[i("v-uni-view",{staticClass:"centerstyle"},[e._v(e._s(e.$t("message.dn_OddNumbers")))]),i("u-search",{attrs:{placeholder:e.$t("message.dn_PleaseScan"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}},model:{value:e.dnNo,callback:function(t){e.dnNo="string"===typeof t?t.trim():t},expression:"dnNo"}})],1),i("v-uni-view",{staticClass:"single-right"},[i("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.Query")))])],1)],1),i("v-uni-view",{staticClass:"Purchase-title"},[i("v-uni-view",{staticClass:"Purchase"},[i("v-uni-view",[e._v(e._s(e.$t("message.DNLine")))]),i("jPicker",{staticClass:"search",staticStyle:{width:"260rpx"},attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.DnlineNo.value,options:e.model.DnLineList},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.SelectDnLine.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"material"},[i("v-uni-view",{staticClass:"material-right"},[i("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.STOInventoryOrderNo")))]),i("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.TheItem.stoNo))])],1)],1),i("v-uni-view",{staticClass:"material"},[i("v-uni-view",{staticClass:"material-right"},[i("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.STOLine")))]),i("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.TheItem.stoItem))])],1)],1),i("v-uni-view",{staticClass:"material"},[i("v-uni-view",{staticClass:"material-right"},[i("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.matcode")))]),i("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.TheItem.materialCode))])],1)],1),i("v-uni-view",{staticClass:"material"},[i("v-uni-view",{staticClass:"material-right"},[i("v-uni-view",{staticClass:"material-right-title",staticStyle:{width:"362rpx"}},[e._v(e._s(e.$t("message.po_MaterielDes")))]),i("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.TheItem.materialDesc))])],1)],1),i("v-uni-view",{staticClass:"number"},[i("v-uni-view",{staticClass:"number-left"},[i("v-uni-view",{staticClass:"number-left-title"},[e._v(e._s(e.$t("message.plan")))]),i("u-input",{staticClass:"input",staticStyle:{padding:"'0'"},attrs:{placeholder:" ",type:e.item,border:e.border,disabled:!0},model:{value:e.TheItem.orderAmount,callback:function(t){e.$set(e.TheItem,"orderAmount",t)},expression:"TheItem.orderAmount"}})],1),i("v-uni-view",{staticClass:"number-right"},[i("v-uni-view",{staticClass:"number-right-title"},[e._v(e._s(e.$t("message.OutboundNum")))]),i("u-input",{staticClass:"input",staticStyle:{padding:"'0'"},attrs:{placeholder:"",type:e.type,border:e.border,disabled:!0},model:{value:e.TheItem.scanAmount,callback:function(t){e.$set(e.TheItem,"scanAmount",t)},expression:"TheItem.scanAmount"}})],1)],1),i("v-uni-view",{staticClass:"material"},[i("v-uni-view",{staticClass:"material-right"},[i("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.DeliveryLoc")))]),i("v-uni-view",{staticClass:"material-right-code",staticStyle:{overflow:"hidden"}},[e._v(e._s(e.TheItem.deliveryRegion))])],1)],1),i("u-form-item",{attrs:{label:e.$t("message.product_BarCode")}},[i("u-search",{attrs:{placeholder:e.$t("message.po_PleaseInput"),focus:e.firstFocus,"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.onOk.apply(void 0,arguments)}},model:{value:e.barCode,callback:function(t){e.barCode=t},expression:"barCode"}})],1),i("v-uni-view",{staticClass:"library"},[i("v-uni-view",{staticClass:"library-left"},[i("v-uni-view",[e._v(e._s(e.$t("message.CommissionedLocation")))]),i("u-input",{staticStyle:{"margin-top":"8px",width:"97%"},attrs:{disabled:!0,placeholder:""},model:{value:e.locCode,callback:function(t){e.locCode=t},expression:"locCode"}})],1)],1),i("v-uni-view",{staticClass:"single"},[i("v-uni-view",{staticClass:"single-left"},[i("v-uni-view",[e._v(e._s(e.$t("message.dn_Number"))+":")]),i("u-input",{staticStyle:{"margin-top":"8px"},attrs:{disabled:!0,placeholder:""},model:{value:e.num,callback:function(t){e.num=t},expression:"num"}})],1),i("v-uni-view",{staticClass:"single-right"},[i("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)],1),i("wyb-table",{ref:"table",staticClass:"table",attrs:{width:"100%","show-left-and-right-border":!0,headers:e.Tabheaders,contents:e.SunmitList,"show-vert-border":!1},on:{onCellClick:function(t){arguments[0]=t=e.$handleEvent(t),e.deleteItem(t)}}})],1),i("v-uni-view",{staticClass:"bottom-bar"},[i("u-row",{staticClass:"button-bar"},[i("u-col",{attrs:{span:6}},[i("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Submit.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.dn_Confirm")))])],1),i("u-col",{attrs:{span:6}},[i("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)},s=[]},"43f6":function(e,t,i){"use strict";i.r(t);var a=i("980b"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(s);t["default"]=n.a},4577:function(e,t,i){var a=i("24fb");t=a(!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-096f43bc]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-096f43bc]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-096f43bc]{font-size:2em;font-weight:400}.page-raw-receipt[data-v-096f43bc]{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-raw-receipt .header[data-v-096f43bc]{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-raw-receipt .header .title[data-v-096f43bc]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-raw-receipt .header .left[data-v-096f43bc],\n.page-raw-receipt .header .right[data-v-096f43bc]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-raw-receipt .header .icon[data-v-096f43bc]{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-raw-receipt .content[data-v-096f43bc]{width:100%;background:#fff;border-radius:%?15?%;padding:%?10?%}.page-raw-receipt .content .single[data-v-096f43bc]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .single .single-left[data-v-096f43bc]{width:79%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .single .single-left uni-view[data-v-096f43bc]{width:%?110?%;height:100%;line-height:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.page-raw-receipt .content .single .single-right uni-button[data-v-096f43bc]{margin-top:%?15?%;width:%?150?%;height:%?70?%}.page-raw-receipt .content .Purchase-title[data-v-096f43bc]{width:100%}.page-raw-receipt .content .Purchase-title .Purchase[data-v-096f43bc]{width:60%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .Purchase-title .Purchase uni-view[data-v-096f43bc]{width:%?234?%;line-height:%?100?%}.page-raw-receipt .content .material[data-v-096f43bc]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-left[data-v-096f43bc]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-left uni-view[data-v-096f43bc]{width:%?140?%;line-height:%?100?%;text-align:left}.page-raw-receipt .content .material .material-right[data-v-096f43bc]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-right .material-right-title[data-v-096f43bc]{width:%?246?%;height:100%;line-height:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.page-raw-receipt .content .material .material-right .material-right-code[data-v-096f43bc]{width:80%;height:100%;line-height:%?100?%;text-align:left;padding-left:10px}.page-raw-receipt .content .number[data-v-096f43bc]{height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-left[data-v-096f43bc]{width:45%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-left .number-left-title[data-v-096f43bc]{width:%?120?%;height:100%;line-height:%?30?%}.page-raw-receipt .content .number .number-left .input[data-v-096f43bc]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .number .number-right[data-v-096f43bc]{width:55%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-right .number-right-title[data-v-096f43bc]{width:%?140?%;height:100%;line-height:%?40?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.page-raw-receipt .content .number .number-right .input[data-v-096f43bc]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .add[data-v-096f43bc]{width:100%;height:%?100?%;position:absolute;top:351px;left:0}.page-raw-receipt .content .add uni-button[data-v-096f43bc]{position:absolute;top:%?3?%;right:%?35?%}.page-raw-receipt .content .config[data-v-096f43bc]{width:100%;height:%?100?%;position:relative;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .config uni-button[data-v-096f43bc]{position:absolute;right:1px}.page-raw-receipt .content .config .AddQty[data-v-096f43bc]{width:20px;height:20px}.page-raw-receipt .bottom-bar[data-v-096f43bc]{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?%}.centerstyle[data-v-096f43bc]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}',""]),e.exports=t},"4ed4":function(e,t,i){var a=i("4577");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("7e0af721",a,!0,{sourceMap:!1,shadowMode:!1})},"58ba":function(e,t,i){"use strict";i.r(t);var a=i("0fe9"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(s);t["default"]=n.a},"60a3b":function(e,t,i){"use strict";var a=i("a0d2"),n=i.n(a);n.a},"6c3e":function(e,t,i){"use strict";var a=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.containerListHeaders=t.ImportPOReceiveListHeaders=t.Tabheaders=t.headers=void 0;var n=a(i("cd49")),s=[{label:n.default.$t("message.Line"),key:"poLine"},{label:n.default.$t("message.po_OddNumbers"),key:"poNo",width:350},{label:n.default.$t("message.Pi_materielNo"),key:"materialCode",width:350},{label:n.default.$t("message.CommissionedLocation"),key:"wlCode"},{label:n.default.$t("message.product_Number"),key:"receiptAmount"},{label:n.default.$t("message.Container"),key:"sn",width:700}];t.headers=s;var r=[{label:n.default.$t("message.STOInventoryOrderNo"),key:"stoNo",width:350},{label:n.default.$t("message.STOLine"),key:"stoItem",width:350},{label:n.default.$t("message.CommissionedLocation"),key:"wlCode",width:350},{label:n.default.$t("message.Container"),key:"barCode",width:350},{label:n.default.$t("message.product_Number"),key:"nowAmount"}];t.Tabheaders=r;var o=[{label:n.default.$t("message.po_OddNumbers"),key:"poNo",width:350},{label:n.default.$t("message.Line"),key:"poLine"},{label:n.default.$t("message.Pi_materielNo"),key:"materialCode",width:350},{label:n.default.$t("message.CommissionedMaterielDesc"),key:"materialDesc",width:450},{label:n.default.$t("message.po_DemandQuantity"),key:"poAmount"},{label:n.default.$t("message.Pi_unit"),key:"unit"}];t.ImportPOReceiveListHeaders=o;var l=[{label:n.default.$t("message.Container"),key:"palletCode",width:300},{label:n.default.$t("message.po_OddNumbers"),key:"poNo",width:350},{label:n.default.$t("message.Line"),key:"poLine"},{label:n.default.$t("message.Pi_materielNo"),key:"materialCode",width:350},{label:n.default.$t("message.CommissionedMaterielDesc"),key:"materialDesc",width:450},{label:n.default.$t("message.po_DemandQuantity"),key:"poAmount"},{label:n.default.$t("message.Pi_unit"),key:"unit"}];t.containerListHeaders=l},"77ed":function(e,t,i){"use strict";var a=i("4ea4");i("4160"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReceiptModule=void 0,i("96cf");var n=a(i("1da1")),s=a(i("d4ec")),r=a(i("bee2")),o=a(i("262e")),l=a(i("2caf")),c=i("9ab4"),u=i("6fc5"),d=a(i("0613")),h=a(i("b32d")),f=i("110c"),p=i("54a3"),m=function(e){(0,o.default)(i,e);var t=(0,l.default)(i);function i(){var e;return(0,s.default)(this,i),e=t.apply(this,arguments),e.dnNoList=[],e.DnLineList=[],e.LocList=[],e.res="",e.SubCode="",e}return(0,r.default)(i,[{key:"QuerydnNo",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("dnNo",t),e.next=3,h.default.post(f.url.auth.query.dnNo,{factoryCode:p.session.factoryCode,loginName:p.session.loginName,dnNo:t});case 3:return i=e.sent,a=i.data,n=[],a.forEach((function(e){var t={value:e.dnItem,lable:e.dnItem};n.push(t)})),e.abrupt("return",{dnNoList:a,DnLineList:n});case 8:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"QueryLoc",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h.default.post(f.url.auth.query.queryByFactoryCodeAndWorkAreaCode,{factoryCode:p.session.factoryCode,loginName:p.session.loginName,workArea:p.session.workareaCode,sendSpot:t});case 2:return i=e.sent,a=[],i.forEach((function(e){var t={value:e.locationCode,lable:e.locationCode};a.push(t)})),e.abrupt("return",{LocList:a});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stoDnProdScan",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h.default.post(f.url.auth.query.barcode,t);case 2:return i=e.sent,e.abrupt("return",{res:i});case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"SubmitList",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h.default.post(f.url.auth.query.factoryrussia,t);case 2:return i=e.sent,a=i.code,e.abrupt("return",{SubCode:a});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),i}(u.VuexModule);t.ReceiptModule=m,(0,c.__decorate)([u.MutationAction],m.prototype,"QuerydnNo",null),(0,c.__decorate)([u.MutationAction],m.prototype,"QueryLoc",null),(0,c.__decorate)([u.MutationAction],m.prototype,"stoDnProdScan",null),(0,c.__decorate)([u.MutationAction],m.prototype,"SubmitList",null),t.ReceiptModule=m=(0,c.__decorate)([(0,u.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"raw.STO.FactorySTO-Outbound.index"})],m);var b=(0,u.getModule)(m);t.default=b},"980b":function(e,t,i){"use strict";i("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"u-search",props:{shape:{type:String,default:"round"},bgColor:{type:String,default:"#f2f2f2"},placeholder:{type:String,default:"请输入关键字"},clearabled:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},showAction:{type:Boolean,default:!0},actionStyle:{type:Object,default:function(){return{}}},actionText:{type:String,default:"搜索"},inputAlign:{type:String,default:"left"},disabled:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},borderColor:{type:String,default:"none"},value:{type:String,default:""},height:{type:[Number,String],default:64},inputStyle:{type:Object,default:function(){return{}}},maxlength:{type:[Number,String],default:"-1"},searchIconColor:{type:String,default:""},color:{type:String,default:"#606266"},placeholderColor:{type:String,default:"#909399"},margin:{type:String,default:"0"},searchIcon:{type:String,default:"search"}},data:function(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword:function(e){this.$emit("input",e),this.$emit("change",e)},value:{immediate:!0,handler:function(e){this.keyword=e}}},computed:{showActionBtn:function(){return!(this.animation||!this.showAction)},borderStyle:function(){return this.borderColor?"1px solid ".concat(this.borderColor):"none"}},methods:{inputChange:function(e){this.keyword=e.detail.value},clear:function(){var e=this;this.keyword="",this.$nextTick((function(){e.$emit("clear")}))},search:function(e){this.$emit("search",e.detail.value);try{uni.hideKeyboard()}catch(e){}},custom:function(){this.$emit("custom",this.keyword);try{uni.hideKeyboard()}catch(e){}},getFocus:function(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur:function(){var e=this;setTimeout((function(){e.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler:function(){this.disabled&&this.$emit("click")}}};t.default=a},"9cf5":function(e,t,i){"use strict";i.r(t);var a=i("c690"),n=i("43f6");for(var s in n)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(s);i("60a3b");var r,o=i("f0c5"),l=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"3783e340",null,!1,a["a"],r);t["default"]=l.exports},a0d2:function(e,t,i){var a=i("291d");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("4fc5a69a",a,!0,{sourceMap:!1,shadowMode:!1})},c690:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return a}));var a={uIcon:i("f86b").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"u-search",style:{margin:e.margin},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clickHandler.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"u-content",style:{backgroundColor:e.bgColor,borderRadius:"round"==e.shape?"100rpx":"10rpx",border:e.borderStyle,height:e.height+"rpx"}},[i("v-uni-view",{staticClass:"u-icon-wrap"},[i("u-icon",{staticClass:"u-clear-icon",attrs:{size:30,name:e.searchIcon,color:e.searchIconColor?e.searchIconColor:e.color}})],1),i("v-uni-input",{staticClass:"u-input",style:[{textAlign:e.inputAlign,color:e.color,backgroundColor:e.bgColor},e.inputStyle],attrs:{"confirm-type":"search",value:e.value,disabled:e.disabled,focus:e.focus,maxlength:e.maxlength,"placeholder-class":"u-placeholder-class",placeholder:e.placeholder,"placeholder-style":"color: "+e.placeholderColor,type:"text"},on:{blur:function(t){arguments[0]=t=e.$handleEvent(t),e.blur.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.search.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.inputChange.apply(void 0,arguments)},focus:function(t){arguments[0]=t=e.$handleEvent(t),e.getFocus.apply(void 0,arguments)}}}),e.keyword&&e.clearabled&&e.focused?i("v-uni-view",{staticClass:"u-close-wrap",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clear.apply(void 0,arguments)}}},[i("u-icon",{staticClass:"u-clear-icon",attrs:{name:"close-circle-fill",size:"34",color:"#c0c4cc"}})],1):e._e()],1),i("v-uni-view",{staticClass:"u-action",class:[e.showActionBtn||e.show?"u-action-active":""],style:[e.actionStyle],on:{click:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t),e.custom.apply(void 0,arguments)}}},[e._v(e._s(e.actionText))])],1)},s=[]}}]);