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
28 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-LineSide-rejectsOffline-index"],{"197f":function(e,t,a){"use strict";var n=a("1c08"),r=a.n(n);r.a},"1c08":function(e,t,a){var n=a("be37");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("cf586050",n,!0,{sourceMap:!1,shadowMode:!1})},"1ced":function(e,t,a){"use strict";a.r(t);var n=a("2e3c"),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},"2e3c":function(e,t,a){"use strict";a("c975"),a("d3b7"),a("25f0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"jPicker",data:function(){return{listData:this.options,nSel:-1,pickerVisable:!1,searchPosition:"middle",selStyle:"height:50px;"}},props:["options","showKey","valKey","val","position","disabled","bgColor","sureColor","focus"],watch:{options:function(e){this.listData=e,this.selByValKey()},val:{handler:function(){this.selByValKey()}},reset:function(e){""!==e&&void 0!==e&&null!==e||(this.nSel=-1)}},computed:{reset:function(){return this.val}},mounted:function(){this.selByValKey(),this.position&&(this.searchPosition=this.position)},methods:{showPicker:function(){this.disabled||(this.pickerVisable=!0,this.listData=this.options)},cancelSel:function(){if(this.pickerVisable=!1,this.val)if(this.valKey){for(var e=this.listData,t=0,a=e.length;t<a;t++)if(e[t][this.valKey]==this.val){this.nSel=t;break}}else this.nSel=this.val;else this.nSel=-1},sureSelect:function(){if(this.pickerVisable=!1,0==this.listData.length)uni.showToast({icon:"none",title:this.$t("message.unselected")}),this.$emit("sure",{});else{var e={pickerVal:this.nSel,pickerName:-1==this.nSel?this.listData[0]:this.listData[this.nSel]};console.log("子组件要传的值",e),this.$emit("bindpicker",e)}},selChange:function(e){console.log("触发机制。。"),this.nSel=e.detail.value[0]},filterOp:function(e){var t=e.detail.value;if(""!=t){t=t.toLowerCase();var a=this.options;this.listData=[],this.nSel=0;for(var n=0;n<a.length;n++){var r=a[n];this.showKey&&(r=a[n][this.showKey]),r.toString().toLowerCase().indexOf(t)>-1&&this.listData.push(a[n])}}else this.listData=this.options,this.nSel=this.val?this.val:-1,this.selByValKey()},selByValKey:function(){var e=this.options;if(this.listData=e,this.valKey){for(var t=0,a=e.length;t<a;t++)if(e[t][this.valKey]==this.val){this.nSel=t;break}}else this.nSel=this.val},doNothing:function(){}}};t.default=n},"34b3":function(e,t,a){"use strict";a.r(t);var n=a("b65a"),r=a("1ced");for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("197f");var o,s=a("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"03a6792d",null,!1,n["a"],o);t["default"]=c.exports},"5a30":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-5eb593cb]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-5eb593cb]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-5eb593cb]{font-size:2em;font-weight:400}.page-product-receipt[data-v-5eb593cb]{background:#f2f2f2 -webkit-linear-gradient(bottom,#f2f2f2,#4a78ea 51%,#1753ea) no-repeat;background:#f2f2f2 linear-gradient(0deg,#f2f2f2,#4a78ea 51%,#1753ea) no-repeat;background-size:100% %?600?%;padding:%?118?% %?30?% %?162?%;min-height:100%}.page-product-receipt .top[data-v-5eb593cb]{width:100%;height:20px;position:fixed;top:0;left:0;background-color:#1753ea;z-index:100}.page-product-receipt .header[data-v-5eb593cb]{position:fixed;top:%?36?%;left:0;right:0;z-index:99;display:-webkit-box;display:-webkit-flex;display:flex;height:%?88?%;line-height:%?88?%;color:#fff;font-size:%?34?%;font-weight:500;text-align:center}.page-product-receipt .header .title[data-v-5eb593cb]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-product-receipt .header .left[data-v-5eb593cb],\n.page-product-receipt .header .right[data-v-5eb593cb]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-product-receipt .header .icon[data-v-5eb593cb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:%?88?%;height:%?88?%}.page-product-receipt .form[data-v-5eb593cb]{background-color:#fff;padding:%?40?%;border-radius:%?10?%;box-shadow:0 0 %?20?% 0 hsla(0,0%,50.2%,.2)}.page-product-receipt .form .u-form-item[data-v-5eb593cb]{padding:%?30?% 0;line-height:%?35?%}.page-product-receipt .form .single[data-v-5eb593cb]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left[data-v-5eb593cb]{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left uni-view[data-v-5eb593cb]{width:%?110?%;height:100%;line-height:%?100?%}.page-product-receipt .form .single .single-right uni-button[data-v-5eb593cb]{margin-top:%?15?%;width:%?150?%;height:%?70?%}.page-product-receipt .bottom-bar[data-v-5eb593cb]{position:fixed;bottom:0;left:0;right:0;z-index:99;background:#fff;box-shadow:0 %?1?% %?20?% 0 hsla(0,0%,50.2%,.2);padding:%?20?%}',""]),e.exports=t},"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},7982:function(e,t,a){"use strict";var n=a("4ea4");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")),c=n(a("2caf")),l=a("9ab4"),u=a("60a3"),d=a("22da"),f=n(a("34b3")),p=n(a("ec95")),h=a("54a3"),v=function(e){(0,s.default)(a,e);var t=(0,c.default)(a);function a(){var e;return(0,i.default)(this,a),e=t.apply(this,arguments),e.model=p.default,e.border=!0,e.form={productCode:"",order3:"",barcode:"",aimWl:{}},e.dockCode="",e.dockName="",e.wl={},e.Some={},e}return(0,o.default)(a,[{key:"bookTypeChange",value:function(e){this.form.aimWl=e.pickerName}},{key:"onReady",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:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"query",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.form.order3){e.next=3;break}return this.customToast(this.$t("message.Commission_tips1")),e.abrupt("return");case 3:return t={factoryCode:h.session.factoryCode,loginName:h.session.loginName,barCode:this.form.order3},e.next=6,this.model.getInfoByDoorBarcode(t);case 6:"1"==this.model.code&&(this.Some=this.model.resdata);case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"closure",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:if(this.form.order3){e.next=3;break}return this.customToast(this.$t("message.Commission_tips1")),e.abrupt("return");case 3:if(this.Some.reason){e.next=6;break}return this.customToast(this.$t("message.PleaseTwo")),e.abrupt("return");case 6:if(this.Some.responsibleUser){e.next=9;break}return this.customToast(this.$t("message.PleaseOne")),e.abrupt("return");case 9:if(this.Some.responsibleProcess){e.next=12;break}return this.customToast(this.$t("message.PleaseThere")),e.abrupt("return");case 12:return e.next=14,this.model.scrapSfgOfflineConfirm({orderNo:this.Some.proMoveCode,productCode:this.Some.materialCode,productDesc:this.Some.materialDesc,factoryCode:h.session.factoryCode,loginName:h.session.loginName,barcode:this.form.order3,reason:this.Some.reason,responsibleUser:this.Some.responsibleUser,responsibleProcess:this.Some.responsibleProcess});case 14:"1"==this.model.code&&(uni.showToast({title:this.$t("message.success"),duration:2e3,image:"/static/icons/icon-51.png"}),this.Some={},this.form.order3="");case 15:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(d.BasePage);(0,l.__decorate)([(0,u.Ref)("form")],v.prototype,"$form",void 0),v=(0,l.__decorate)([(0,u.Component)({components:{jPicker:f.default}})],v);var m=v;t.default=m},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},a744:function(e,t,a){"use strict";var n=a("d08a"),r=a.n(n);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},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"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"1f4305a4",null,!1,n["a"],o);t["default"]=c.exports},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=[]},b65a: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:"jPicker"},[a("v-uni-view",{staticClass:"showLine",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showPicker.apply(void 0,arguments)}}},[e.listData.length>0&&-1!=e.nSel?a("v-uni-view",[e._v(e._s(e.listData[e.nSel][e.showKey]||e.listData[e.nSel]))]):a("v-uni-view",{staticStyle:{color:"#7d7d7d"}},[e._v(e._s(e.$t("message.workArea_Selelct")))])],1),e.pickerVisable?a("v-uni-view",{staticClass:"pickerMask"},[a("v-uni-view",{staticClass:"alertArea JAnimateBtmIn",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.doNothing.apply(void 0,arguments)}}},["top"==e.searchPosition?a("v-uni-view",{staticClass:"searchInput"},[a("v-uni-view",{staticClass:"clickArea"},[a("v-uni-input",{staticClass:"jInput",attrs:{"placeholder-style":"color:#ffffff"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.filterOp.apply(void 0,arguments)}}}),a("v-uni-icon",{staticClass:"searchLogo",attrs:{type:"search"}})],1)],1):e._e(),a("v-uni-view",{staticClass:"pickerTop"},[a("v-uni-view",{staticClass:"lefBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelSel.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.product_Cancel")))]),a("v-uni-view",{staticClass:"midInput"},["middle"==e.searchPosition?[a("v-uni-input",{staticClass:"searchArea",attrs:{focus:e.focus},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.filterOp.apply(void 0,arguments)}}}),a("v-uni-icon",{staticClass:"searchIcon",attrs:{type:"search"}})]:e._e()],2),a("v-uni-view",{staticClass:"rigBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.sureSelect.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.workArea_Confirm")))])],1),a("v-uni-picker-view",{staticClass:"pickerView",attrs:{value:[e.nSel],"mask-style":"background-color:"+e.bgColor,"indicator-style":e.selStyle},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.selChange.apply(void 0,arguments)}}},[a("v-uni-picker-view-column",e._l(e.listData,(function(t,n){return a("v-uni-view",{key:n,staticClass:"opItem"},[e._v(e._s(t[e.showKey]||t))])})),1)],1)],1)],1):e._e()],1)},i=[]},be37: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-03a6792d]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-03a6792d]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-03a6792d]{font-size:2em;font-weight:400}.jPicker[data-v-03a6792d]{width:100%}.jPicker .showLine[data-v-03a6792d]{width:100%;display:inline-block}.pickerMask[data-v-03a6792d]{background-color:rgba(0,0,0,.5);height:100vh;width:100vw;position:fixed;left:0;top:0;z-index:999}.alertArea[data-v-03a6792d]{position:fixed;bottom:0;left:0;width:100vw}.alertArea .searchInput[data-v-03a6792d]{width:100%;position:relative}.alertArea .searchInput .clickArea[data-v-03a6792d]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:36px}.alertArea .searchInput .clickArea .jInput[data-v-03a6792d]{text-align:left;width:90%;border:none;height:30px;font-size:17px;padding:2px 8px;box-sizing:border-box;color:#fff}.alertArea .searchInput .clickArea .searchLogo[data-v-03a6792d]{width:30px;height:30px;line-height:30px;text-align:center}.alertArea .searchInput[data-v-03a6792d]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#678699;-webkit-filter:blur(18px);filter:blur(18px);z-index:-1}.alertArea .pickerTop[data-v-03a6792d]{background-color:#fff;height:52px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;\n /*border-bottom: 1px solid #000000;*/font-size:18px;box-sizing:border-box;-webkit-justify-content:space-around;justify-content:space-around}.alertArea .pickerTop .lefBtn[data-v-03a6792d],\n.alertArea .pickerTop .rigBtn[data-v-03a6792d]{font-size:18px;line-height:1rem}.alertArea .pickerTop .lefBtn[data-v-03a6792d]{color:grey}.alertArea .pickerTop .rigBtn[data-v-03a6792d]{color:#1e90ff}.alertArea .pickerTop .midInput[data-v-03a6792d]{width:64%;height:30px;position:relative;line-height:30px}.alertArea .pickerTop .midInput .searchArea[data-v-03a6792d]{text-align:left;background-color:#efefef;border-radius:20px;padding:4px 10px}.alertArea .pickerTop .midInput .searchIcon[data-v-03a6792d]{position:absolute;right:5px;top:0;width:30px;height:30px;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.alertArea .pickerView[data-v-03a6792d]{background-color:#fff;width:100%;height:300px;left:0}.alertArea .pickerView .opItem[data-v-03a6792d]{line-height:50px;text-align:center;background-color:#f3f3f3;color:#000}.JAnimateBtmIn[data-v-03a6792d]{-webkit-animation:btmIn-data-v-03a6792d .3s ease;animation:btmIn-data-v-03a6792d .3s ease}@-webkit-keyframes btmIn-data-v-03a6792d{0%{-webkit-transform:translateY(666px);transform:translateY(666px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes btmIn-data-v-03a6792d{0%{-webkit-transform:translateY(666px);transform:translateY(666px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}',""]),e.exports=t},cf94: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,uForm:a("aa8f").default,uSearch:a("9cf5").default,uButton:a("d9ad").default,uFormItem:a("e0a3").default,uInput:a("d5da").default,uRow:a("d67a").default,uCol:a("b408").default},r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-product-receipt"},[a("v-uni-view",{staticClass:"top"}),a("v-uni-view",{staticClass:"header",style:{backgroundColor:"rgba(23, 83, 234, "+e.scrollTop/100+")"}},[a("v-uni-view",{staticClass:"left"},[a("u-icon",{staticClass:"icon",attrs:{name:"arrow-left"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack({})}}})],1),a("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("message.rejectsOffline")))]),a("v-uni-view",{staticClass:"right"})],1),a("u-form",{ref:"form",staticClass:"form",attrs:{model:e.form,"label-width":"180rpx"}},[a("v-uni-view",{staticClass:"single"},[a("v-uni-view",{staticClass:"single-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.product_barCode")))]),a("u-search",{attrs:{placeholder:e.$t("message.barcode"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}},model:{value:e.form.order3,callback:function(t){e.$set(e.form,"order3","string"===typeof t?t.trim():t)},expression:"form.order3"}})],1),a("v-uni-view",{staticClass:"single-right"},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.Query")))])],1)],1),a("u-form-item",{attrs:{label:e.$t("message.Pi_OrderNo")}},[a("u-input",{staticStyle:{overflow:"hidden"},attrs:{disabled:!0,placeholder:""},model:{value:e.Some.proMoveCode,callback:function(t){e.$set(e.Some,"proMoveCode",t)},expression:"Some.proMoveCode"}})],1),a("u-form-item",{attrs:{label:e.$t("message.ModelName")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.Some.materialDesc,callback:function(t){e.$set(e.Some,"materialDesc",t)},expression:"Some.materialDesc"}})],1),a("u-form-item",{attrs:{label:e.$t("message.ModelCode")}},[a("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.Some.materialCode,callback:function(t){e.$set(e.Some,"materialCode",t)},expression:"Some.materialCode"}})],1),a("u-form-item",{attrs:{label:e.$t("message.CausesOfDefects")}},[a("u-input",{attrs:{placeholder:""},model:{value:e.Some.reason,callback:function(t){e.$set(e.Some,"reason",t)},expression:"Some.reason"}})],1),a("u-form-item",{attrs:{label:e.$t("message.personLiable")}},[a("u-input",{attrs:{placeholder:""},model:{value:e.Some.responsibleUser,callback:function(t){e.$set(e.Some,"responsibleUser",t)},expression:"Some.responsibleUser"}})],1),a("u-form-item",{attrs:{label:e.$t("message.ResponsibleProcess")}},[a("u-input",{attrs:{placeholder:""},model:{value:e.Some.responsibleProcess,callback:function(t){e.$set(e.Some,"responsibleProcess",t)},expression:"Some.responsibleProcess"}})],1)],1),a("v-uni-view",{staticClass:"bottom-bar"},[a("u-row",{staticClass:"button-bar"},[a("u-col",{attrs:{span:6}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closure.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.workArea_Confirm")))])],1),a("u-col",{attrs:{span:6}},[a("u-button",{attrs:{type:"error"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack({})}}},[e._v(e._s(e.$t("message.po_Return")))])],1)],1)],1)],1)},i=[]},d08a:function(e,t,a){var n=a("5a30");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("4fbb5902",n,!0,{sourceMap:!1,shadowMode:!1})},e299:function(e,t,a){"use strict";a.r(t);var n=a("cf94"),r=a("fdfc");for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("a744");var o,s=a("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"5eb593cb",null,!1,n["a"],o);t["default"]=c.exports},ec95:function(e,t,a){"use strict";var n=a("4ea4");a("4160"),a("d81d"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.wholeScrap=void 0,a("96cf");var r=n(a("1da1")),i=n(a("bee2")),o=n(a("262e")),s=n(a("2caf")),c=n(a("d4ec")),l=a("9ab4"),u=a("6fc5"),d=n(a("0613")),f=n(a("b32d")),p=a("110c"),h=a("54a3"),v=function e(){(0,c.default)(this,e)},m=function(e){(0,o.default)(a,e);var t=(0,s.default)(a);function a(){var e;return(0,c.default)(this,a),e=t.apply(this,arguments),e.WlList=[],e.code="",e.delCode="",e.recordsList=[],e.choiceCodeList=[],e.materielList=[],e.dnNo="",e.orderInInfo=new v,e.resdata={},e}return(0,i.default)(a,[{key:"queryLocation",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.get(p.url.warehouse.wholeTransfer.list,{params:{factoryCode:h.session.factoryCode,loginName:h.session.loginName}});case 2:return t=e.sent,a=t.data.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{WlList:a});case 5:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getInfoByDoorBarcode",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.getInfoByDoorBarcode,t);case 2:return a=e.sent,n=a.data,r=a.code,e.abrupt("return",{code:r,resdata:n});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"scrapSfgOfflineConfirm",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,f.default.post(p.url.warehouse.wholeTransfer.scrapSfgOfflineConfirm,t);case 2:return a=e.sent,n=a.code,e.abrupt("return",{code:n});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"onTakeoutConfirm",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,f.default.post(p.url.warehouse.rowTransfer.commit,t);case 2:return a=e.sent,n=a.code,e.abrupt("return",{code:n});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryDetailed",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,n,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.rowTransfer.queryListByMoveCode,{proMoveCode:t,factoryCode:h.session.factoryCode,loginName:h.session.loginName});case 2:return a=e.sent,n=a.code,r=a.data,i=r,e.abrupt("return",{materielList:i,code:n});case 7:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"close",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,f.default.post(p.url.warehouse.rowTransfer.close,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,proMoveCode:t});case 2:return a=e.sent,n=a.code,e.abrupt("return",{code:n});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryScrapList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var a,n,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.rowTransfer.list,t);case 2:return a=e.sent,n=a.code,console.log("res",a),r=a.data.records,i=[],r.forEach((function(e){var t={};t.label=e.productCode,t.value=e.productCode,i.push(t)})),console.log("choiceCodeList",i),e.abrupt("return",{code:n,recordsList:r,choiceCodeList:i});case 10:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"changeOrderInLocation",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,f.default.post("/wmspda/material/orderin/enter",{loginName:h.session.loginName,warehouseCode:"",factoryCode:h.session.factoryCode,locationCode:t});case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),a}(u.VuexModule);t.wholeScrap=m,(0,l.__decorate)([u.MutationAction],m.prototype,"queryLocation",null),(0,l.__decorate)([u.MutationAction],m.prototype,"getInfoByDoorBarcode",null),(0,l.__decorate)([u.MutationAction],m.prototype,"scrapSfgOfflineConfirm",null),(0,l.__decorate)([u.MutationAction],m.prototype,"onTakeoutConfirm",null),(0,l.__decorate)([u.MutationAction],m.prototype,"queryDetailed",null),(0,l.__decorate)([u.MutationAction],m.prototype,"close",null),(0,l.__decorate)([u.MutationAction],m.prototype,"queryScrapList",null),(0,l.__decorate)([(0,u.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"changeOrderInLocation",null),t.wholeScrap=m=(0,l.__decorate)([(0,u.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"raw.LineSide.rejectsOffline"})],m);var b=(0,u.getModule)(m);t.default=b},ecb9:function(e,t,a){"use strict";var n=a("9741"),r=a.n(n);r.a},fdfc:function(e,t,a){"use strict";a.r(t);var n=a("7982"),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}}]);