|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-LineSide-rejectsOffline-index"],{"20c5":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* uni.scss */.TEMP_page[data-v-20e62094]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-20e62094]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-20e62094]{font-size:2em;font-weight:400}.page-product-receipt[data-v-20e62094]{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-20e62094]{width:100%;height:20px;position:fixed;top:0;left:0;background-color:#1753ea;z-index:100}.page-product-receipt .header[data-v-20e62094]{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-20e62094]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-product-receipt .header .left[data-v-20e62094],\n.page-product-receipt .header .right[data-v-20e62094]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-product-receipt .header .icon[data-v-20e62094]{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-20e62094]{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-20e62094]{padding:%?30?% 0;line-height:%?35?%}.page-product-receipt .form .single[data-v-20e62094]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left[data-v-20e62094]{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-product-receipt .form .single .single-left uni-view[data-v-20e62094]{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-product-receipt .form .single .single-right uni-button[data-v-20e62094]{margin-top:%?15?%;width:%?150?%;height:%?70?%}.page-product-receipt .bottom-bar[data-v-20e62094]{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},"20e9":function(e,t,n){var r=n("20c5");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("4f06").default;a("5e21a1ab",r,!0,{sourceMap:!1,shadowMode:!1})},"291d":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* uni.scss */.TEMP_page[data-v-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},"43f6":function(e,t,n){"use strict";n.r(t);var r=n("980b"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},"60a3b":function(e,t,n){"use strict";var r=n("a0d2"),a=n.n(r);a.a},"6f41":function(e,t,n){"use strict";n.r(t);var r=n("a360"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},7982:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("96cf");var a=r(n("1da1")),o=r(n("d4ec")),i=r(n("bee2")),s=r(n("262e")),c=r(n("2caf")),u=n("9ab4"),l=n("60a3"),d=n("22da"),f=r(n("34b3")),p=r(n("ec95")),h=n("54a3"),m=function(e){(0,s.default)(n,e);var t=(0,c.default)(n);function n(){var e;return(0,o.default)(this,n),e=t.apply(this,arguments),e.model=p.default,e.border=!0,e.form={productCode:"",order3:"",barcode:"",aimWl:{}},e.dockCode="",e.reasonList={},e.ProcessList={},e.dockName="",e.wl={},e.Some={},e.ScrapLocation=[{label:"CA",value:"CA"},{label:"DA",value:"DA"},{label:"FA",value:"FA"},{label:"COMBI",value:"COMBI"}],e}return(0,i.default)(n,[{key:"bookTypeChange",value:function(e){this.form.aimWl=e.pickerName}},{key:"onReady",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.form.aimWl=this.ScrapLocation[0];case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"query",value:function(){var e=(0,a.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:"queryreason",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.Some.reason&&0!=this.Some.reason.length){e.next=3;break}return this.customToast(this.$t("message.Pleasedefects")),e.abrupt("return");case 3:return e.next=5,this.model.checkDicCode(this.Some.reason);case 5:"1"==this.model.code&&(uni.showToast({title:this.$t("message.successful"),duration:2e3,image:"/static/icons/icon-51.png"}),this.reasonList=this.model.resdata);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"queryProcess",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.Some.responsibleProcess&&0!=this.Some.responsibleProcess.length){e.next=3;break}return this.customToast(this.$t("message.PleaseResponsibleArea")),e.abrupt("return");case 3:return e.next=5,this.model.checkDicCode(this.Some.responsibleProcess);case 5:"1"==this.model.code&&(uni.showToast({title:this.$t("message.successful"),duration:2e3,image:"/static/icons/icon-51.png"}),this.ProcessList=this.model.resdata);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"closure",value:function(){var e=(0,a.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.responsibleProcess&&0!=this.Some.responsibleProcess.length){e.next=6;break}return this.customToast(this.$t("message.PleaseResponsibleArea")),e.abrupt("return");case 6:if(""!=this.Some.reason&&0!=this.Some.reason.length){e.next=9;break}return this.customToast(this.$t("message.Pleasedefects")),e.abrupt("return");case 9:if(""!=this.reasonList.dicName){e.next=12;break}return this.customToast(this.$t("message.Nodefectname")),e.abrupt("return");case 12:if(""!=this.ProcessList.dicName){e.next=15;break}return this.customToast(this.$t("message.Nozonename")),e.abrupt("return");case 15:return e.next=17,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,reasonDesc:this.reasonList.dicName,responsibleUser:this.form.aimWl.value,responsibleProcess:this.Some.responsibleProcess,responsibleAreaName:this.ProcessList.dicName,add2:this.Some.Note});case 17:"1"==this.model.code&&(uni.showToast({title:this.$t("message.success"),duration:2e3,image:"/static/icons/icon-51.png"}),this.Some={},this.form.order3="",this.reasonList={},this.ProcessList={});case 18:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),n}(d.BasePage);(0,u.__decorate)([(0,l.Ref)("form")],m.prototype,"$form",void 0),m=(0,u.__decorate)([(0,l.Component)({components:{jPicker:f.default}})],m);var b=m;t.default=b},9741:function(e,t,n){var r=n("a8b4");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("4f06").default;a("3a1d922c",r,!0,{sourceMap:!1,shadowMode:!1})},"980b":function(e,t,n){"use strict";n("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={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=r},"9cf5":function(e,t,n){"use strict";n.r(t);var r=n("c690"),a=n("43f6");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("60a3b");var i,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"3783e340",null,!1,r["a"],i);t["default"]=c.exports},a0d2:function(e,t,n){var r=n("291d");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("4f06").default;a("4fc5a69a",r,!0,{sourceMap:!1,shadowMode:!1})},a360:function(e,t,n){"use strict";n("c975"),n("d81d"),n("a9e3"),n("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"u-form",props:{model:{type:Object,default:function(){return{}}},errorType:{type:Array,default:function(){return["message","toast"]}},borderBottom:{type:Boolean,default:!0},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:90},labelAlign:{type:String,default:"left"},labelStyle:{type:Object,default:function(){return{}}}},provide:function(){return{uForm:this}},data:function(){return{rules:{}}},created:function(){this.fields=[]},methods:{setRules:function(e){this.rules=e},resetFields:function(){this.fields.map((function(e){e.resetField()}))},validate:function(e){var t=this;return new Promise((function(n){var r=!0,a=0,o=[];t.fields.map((function(i){i.validation("",(function(i){i&&(r=!1,o.push(i)),++a===t.fields.length&&(n(r),-1===t.errorType.indexOf("none")&&t.errorType.indexOf("toast")>=0&&o.length&&t.$u.toast(o[0]),"function"==typeof e&&e(r))}))}))}))}}};t.default=r},a8b4:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* uni.scss */.TEMP_page[data-v-1f4305a4]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-1f4305a4]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-1f4305a4]{font-size:2em;font-weight:400}',""]),e.exports=t},aa8f:function(e,t,n){"use strict";n.r(t);var r=n("b0df"),a=n("6f41");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("ecb9");var i,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"1f4305a4",null,!1,r["a"],i);t["default"]=c.exports},b0df:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-form"},[e._t("default")],2)},o=[]},c292:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var r={uIcon:n("f86b").default,uForm:n("aa8f").default,uSearch:n("9cf5").default,uButton:n("d9ad").default,uFormItem:n("e0a3").default,uInput:n("d5da").default,uRow:n("d67a").default,uCol:n("b408").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"page-product-receipt"},[n("v-uni-view",{staticClass:"top"}),n("v-uni-view",{staticClass:"header",style:{backgroundColor:"rgba(23, 83, 234, "+e.scrollTop/100+")"}},[n("v-uni-view",{staticClass:"left"},[n("u-icon",{staticClass:"icon",attrs:{name:"arrow-left"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack({})}}})],1),n("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("message.newrejectsOffline")))]),n("v-uni-view",{staticClass:"right"})],1),n("u-form",{ref:"form",staticClass:"form",attrs:{model:e.form,"label-width":"180rpx"}},[n("v-uni-view",{staticClass:"single"},[n("v-uni-view",{staticClass:"single-left"},[n("v-uni-view",[e._v(e._s(e.$t("message.product_barCode")))]),n("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),n("v-uni-view",{staticClass:"single-right"},[n("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),n("u-form-item",{attrs:{label:e.$t("message.Pi_OrderNo")}},[n("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),n("u-form-item",{attrs:{label:e.$t("message.ModelName")}},[n("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.Some.materialDesc,callback:function(t){e.$set(e.Some,"materialDesc",t)},expression:"Some.materialDesc"}})],1),n("u-form-item",{attrs:{label:e.$t("message.ModelCode")}},[n("u-input",{attrs:{disabled:!0,placeholder:""},model:{value:e.Some.materialCode,callback:function(t){e.$set(e.Some,"materialCode",t)},expression:"Some.materialCode"}})],1),n("u-form-item",{attrs:{required:!0,label:e.$t("message.defect")}},[n("u-search",{attrs:{placeholder:"","show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.queryreason.apply(void 0,arguments)}},model:{value:e.Some.reason,callback:function(t){e.$set(e.Some,"reason","string"===typeof t?t.trim():t)},expression:"Some.reason"}})],1),n("u-form-item",{attrs:{required:!0,label:e.$t("message.DefectName")}},[n("u-input",{staticStyle:{overflow:"hidden"},attrs:{disabled:!0,placeholder:""},model:{value:e.reasonList.dicName,callback:function(t){e.$set(e.reasonList,"dicName",t)},expression:"reasonList.dicName"}})],1),n("u-form-item",{attrs:{label:e.$t("message.ScrapLocation")}},[n("jPicker",{attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.form.aimWl.value,options:e.ScrapLocation},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.bookTypeChange.apply(void 0,arguments)}}})],1),n("u-form-item",{attrs:{required:!0,label:e.$t("message.ResponsibleProcess")}},[n("u-search",{attrs:{placeholder:"","show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.queryProcess.apply(void 0,arguments)}},model:{value:e.Some.responsibleProcess,callback:function(t){e.$set(e.Some,"responsibleProcess","string"===typeof t?t.trim():t)},expression:"Some.responsibleProcess"}})],1),n("u-form-item",{attrs:{required:!0,label:e.$t("message.workArea_RegionName")}},[n("u-input",{staticStyle:{overflow:"hidden"},attrs:{disabled:!0,placeholder:""},model:{value:e.ProcessList.dicName,callback:function(t){e.$set(e.ProcessList,"dicName",t)},expression:"ProcessList.dicName"}})],1),n("u-form-item",{attrs:{label:e.$t("message.Note")}},[n("u-input",{attrs:{placeholder:""},model:{value:e.Some.Note,callback:function(t){e.$set(e.Some,"Note",t)},expression:"Some.Note"}})],1)],1),n("v-uni-view",{staticClass:"bottom-bar"},[n("u-row",{staticClass:"button-bar"},[n("u-col",{attrs:{span:6}},[n("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),n("u-col",{attrs:{span:6}},[n("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)},o=[]},c690:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var r={uIcon:n("f86b").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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)}}},[n("v-uni-view",{staticClass:"u-content",style:{backgroundColor:e.bgColor,borderRadius:"round"==e.shape?"100rpx":"10rpx",border:e.borderStyle,height:e.height+"rpx"}},[n("v-uni-view",{staticClass:"u-icon-wrap"},[n("u-icon",{staticClass:"u-clear-icon",attrs:{size:30,name:e.searchIcon,color:e.searchIconColor?e.searchIconColor:e.color}})],1),n("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?n("v-uni-view",{staticClass:"u-close-wrap",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clear.apply(void 0,arguments)}}},[n("u-icon",{staticClass:"u-clear-icon",attrs:{name:"close-circle-fill",size:"34",color:"#c0c4cc"}})],1):e._e()],1),n("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)},o=[]},d7f7:function(e,t,n){"use strict";var r=n("20e9"),a=n.n(r);a.a},e299:function(e,t,n){"use strict";n.r(t);var r=n("c292"),a=n("fdfc");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("d7f7");var i,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"20e62094",null,!1,r["a"],i);t["default"]=c.exports},ec95:function(e,t,n){"use strict";var r=n("4ea4");n("4160"),n("d81d"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.wholeScrap=void 0,n("96cf");var a=r(n("1da1")),o=r(n("bee2")),i=r(n("262e")),s=r(n("2caf")),c=r(n("d4ec")),u=n("9ab4"),l=n("6fc5"),d=r(n("0613")),f=r(n("b32d")),p=n("110c"),h=n("54a3"),m=function e(){(0,c.default)(this,e)},b=function(e){(0,i.default)(n,e);var t=(0,s.default)(n);function n(){var e;return(0,c.default)(this,n),e=t.apply(this,arguments),e.WlList=[],e.code="",e.delCode="",e.recordsList=[],e.choiceCodeList=[],e.materielList=[],e.dnNo="",e.orderInInfo=new m,e.resdata={},e}return(0,o.default)(n,[{key:"queryLocation",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(){var t,n;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,n=t.data.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{WlList:n});case 5:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getInfoByDoorBarcode",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.getInfoByDoorBarcode,t);case 2:return n=e.sent,r=n.data,a=n.code,e.abrupt("return",{code:a,resdata:r});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"checkDicCode",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(t){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.warehouse.wholeTransfer.checkDicCode,{dicCode:t,factoryCode:h.session.factoryCode,loginName:h.session.loginName});case 2:return n=e.sent,r=n.data,a=n.code,e.abrupt("return",{code:a,resdata:r});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,a.default)(regeneratorRuntime.mark((function e(t){var 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.scrapSfgOfflineConfirm,t);case 2:return n=e.sent,r=n.code,e.abrupt("return",{code:r});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"onTakeoutConfirm",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(t){var 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.rowTransfer.commit,t);case 2:return n=e.sent,r=n.code,e.abrupt("return",{code:r});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryDetailed",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(t){var n,r,a,o;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 n=e.sent,r=n.code,a=n.data,o=a,e.abrupt("return",{materielList:o,code:r});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,a.default)(regeneratorRuntime.mark((function e(t){var 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.rowTransfer.close,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,proMoveCode:t});case 2:return n=e.sent,r=n.code,e.abrupt("return",{code:r});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryScrapList",value:function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(t){var n,r,a,o;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 n=e.sent,r=n.code,console.log("res",n),a=n.data.records,o=[],a.forEach((function(e){var t={};t.label=e.productCode,t.value=e.productCode,o.push(t)})),console.log("choiceCodeList",o),e.abrupt("return",{code:r,recordsList:a,choiceCodeList:o});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,a.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}()}]),n}(l.VuexModule);t.wholeScrap=b,(0,u.__decorate)([l.MutationAction],b.prototype,"queryLocation",null),(0,u.__decorate)([l.MutationAction],b.prototype,"getInfoByDoorBarcode",null),(0,u.__decorate)([l.MutationAction],b.prototype,"checkDicCode",null),(0,u.__decorate)([l.MutationAction],b.prototype,"scrapSfgOfflineConfirm",null),(0,u.__decorate)([l.MutationAction],b.prototype,"onTakeoutConfirm",null),(0,u.__decorate)([l.MutationAction],b.prototype,"queryDetailed",null),(0,u.__decorate)([l.MutationAction],b.prototype,"close",null),(0,u.__decorate)([l.MutationAction],b.prototype,"queryScrapList",null),(0,u.__decorate)([(0,l.Action)({commit:"updateCheckedOrderInInfoListKw"})],b.prototype,"changeOrderInLocation",null),t.wholeScrap=b=(0,u.__decorate)([(0,l.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"raw.LineSide.rejectsOffline"})],b);var v=(0,l.getModule)(b);t.default=v},ecb9:function(e,t,n){"use strict";var r=n("9741"),a=n.n(r);a.a},fdfc:function(e,t,n){"use strict";n.r(t);var r=n("7982"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a}}]); |