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
23 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-commission-goOut-index"],{"0208":function(e,t,a){"use strict";a.r(t);var r=a("9ee2"),i=a.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(n);t["default"]=i.a},"0f73":function(e,t,a){"use strict";var r=a("4ea4");a("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReturningModule=void 0;var i=r(a("5530"));a("96cf");var n=r(a("1da1")),o=r(a("bee2")),s=r(a("262e")),u=r(a("2caf")),l=r(a("d4ec")),c=a("9ab4"),d=a("6fc5"),p=r(a("0613")),f=r(a("b32d")),m=a("110c"),h=a("54a3"),v=function e(){(0,l.default)(this,e)},g=function(e){(0,s.default)(a,e);var t=(0,u.default)(a);function a(){var e;return(0,l.default)(this,a),e=t.apply(this,arguments),e.returningTypeList=[],e.materielList=[],e.locationCodeList=[],e.oneMaterielDetail={},e.orderInInfo=new v,e.code="",e}return(0,o.default)(a,[{key:"queryOrder",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(m.url.material.commission.goOut.queryOrder,(0,i.default)((0,i.default)({},t),{},{loginName:h.session.loginName,factoryCode:h.session.factoryCode}));case 2:return a=e.sent,r=a.data.records[0]||{},e.abrupt("return",{orderInInfo:r});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"outInfo",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(m.url.material.commission.goOut.outInfo,{factoryCode:h.session.factoryCode,poNo:t,loginName:h.session.loginName});case 2:return a=e.sent,r=a.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{locationCodeList:r});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"materialComplete",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(m.url.material.commission.goOut.materialComplete,(0,i.default)({factoryCode:h.session.factoryCode,loginName:h.session.loginName},t));case 2:a=e.sent,console.log(a,">>>>>res");case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"tluSubmit",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={barcode:t[0].barCode,loginName:h.session.loginName},r={},e.next=4,f.default.post(m.url.outbound.stoOutbound.checkScan,a);case 4:return i=e.sent,n=i.data,console.log("shneme a ",n.records),r=n.records[0],n.records[0].materialCode=t[0].productCode,n.records[0].materialDesc=t[0].productDescZh,console.log("aaaaa",r),e.abrupt("return",r);case 12:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"confirm",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(m.url.outbound.stoOutbound.Bookkeeping,t);case 2:return a=e.sent,r=a.code,i=a.data,console.log("res数据",i,r),n=[],e.abrupt("return",{code:r,materielList:n});case 8:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryByFactoryCodeAndWorkAreaCode",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post("/wmspda/fg/queryByFactoryCodeAndWorkAreaCode",t);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryOutsourcing",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(m.url.outbound.stoOutbound.outsourcingQueryOrder,{poNo:t,loginName:h.session.loginName,factoryCode:h.session.factoryCode});case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"submitOutsourcing",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(m.url.outbound.stoOutbound.materialComplete,t);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"querydetaildlist",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post("/material/outsourcing/outInfo",t);case 2:return a=e.sent,console.log("明细》》》》》》》》》",a.list),this.detailedList=a.data,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),a}(d.VuexModule);t.ReturningModule=g,(0,c.__decorate)([d.Action],g.prototype,"queryOrder",null),(0,c.__decorate)([d.MutationAction],g.prototype,"outInfo",null),(0,c.__decorate)([d.Action],g.prototype,"materialComplete",null),(0,c.__decorate)([d.Action],g.prototype,"tluSubmit",null),(0,c.__decorate)([d.MutationAction],g.prototype,"confirm",null),(0,c.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],g.prototype,"queryByFactoryCodeAndWorkAreaCode",null),(0,c.__decorate)([d.Action],g.prototype,"queryOutsourcing",null),(0,c.__decorate)([d.Action],g.prototype,"submitOutsourcing",null),(0,c.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],g.prototype,"querydetaildlist",null),t.ReturningModule=g=(0,c.__decorate)([(0,d.Module)({namespaced:!0,dynamic:!0,store:p.default,name:"product.outbound.stoOutbound"})],g);var b=(0,d.getModule)(g);t.default=b},5530:function(e,t,a){"use strict";a("a4d3"),a("4de4"),a("4160"),a("e439"),a("dbb4"),a("b64b"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(a("ade3"));function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){(0,r.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}},"5e39":function(e,t,a){"use strict";a.r(t);var r=a("b9bd"),i=a("0208");for(var n in i)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a("74f0");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"2d194202",null,!1,r["a"],o);t["default"]=u.exports},"607c":function(e,t,a){var r=a("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-2d194202]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-2d194202]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-2d194202]{font-size:2em;font-weight:400}.page-raw-receipt[data-v-2d194202]{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-2d194202]{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-2d194202]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.page-raw-receipt .header .left[data-v-2d194202],\n.page-raw-receipt .header .right[data-v-2d194202]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.page-raw-receipt .header .icon[data-v-2d194202]{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-2d194202]{width:100%;background:#fff;border-radius:%?15?%;padding:%?10?%}.page-raw-receipt .content .single[data-v-2d194202]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .single .single-left[data-v-2d194202]{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .single .single-left uni-view[data-v-2d194202]{width:%?110?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .single .single-right uni-button[data-v-2d194202]{margin-top:%?15?%;width:%?150?%;height:%?70?%}.page-raw-receipt .content .material[data-v-2d194202]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-left[data-v-2d194202]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-left uni-view[data-v-2d194202]{width:%?100?%;line-height:%?100?%}.page-raw-receipt .content .material .material-right[data-v-2d194202]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .material .material-right .material-right-title[data-v-2d194202]{width:%?120?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .material .material-right .material-right-code[data-v-2d194202]{width:%?190?%;height:100%}.page-raw-receipt .content .number[data-v-2d194202]{height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-left[data-v-2d194202]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-left .number-left-title[data-v-2d194202]{width:%?120?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .number .number-left .input[data-v-2d194202]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .number .number-right[data-v-2d194202]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .number .number-right .number-right-title[data-v-2d194202]{width:%?120?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .number .number-right .input[data-v-2d194202]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .library[data-v-2d194202]{width:100%;height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .library .library-left[data-v-2d194202]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .library .library-left uni-view[data-v-2d194202]{width:%?100?%;line-height:%?100?%}.page-raw-receipt .content .library .library-right[data-v-2d194202]{width:50%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex}.page-raw-receipt .content .library .library-right .library-right-title[data-v-2d194202]{width:%?120?%;height:100%;line-height:%?100?%}.page-raw-receipt .content .library .library-right .input[data-v-2d194202]{width:%?200?%;height:%?70?%;margin-top:%?15?%;margin-left:%?15?%}.page-raw-receipt .content .add[data-v-2d194202]{width:100%;height:%?100?%;position:relative}.page-raw-receipt .content .add uni-button[data-v-2d194202]{position:absolute;top:%?10?%;right:%?20?%}.page-raw-receipt .bottom-bar[data-v-2d194202]{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},"68b2":function(e,t,a){var r=a("607c");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=a("4f06").default;i("2c951cce",r,!0,{sourceMap:!1,shadowMode:!1})},"74f0":function(e,t,a){"use strict";var r=a("68b2"),i=a.n(r);i.a},"9ee2":function(e,t,a){"use strict";var r=a("4ea4");a("a623"),a("4160"),a("a434"),a("acd8"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("96cf");var i=r(a("1da1")),n=r(a("d4ec")),o=r(a("bee2")),s=r(a("262e")),u=r(a("2caf")),l=a("9ab4"),c=a("60a3"),d=a("22da"),p=r(a("34b3")),f=a("54a3"),m=r(a("0f73")),h=function(e){(0,s.default)(a,e);var t=(0,u.default)(a);function a(){var e;return(0,n.default)(this,a),e=t.apply(this,arguments),e.model=m.default,e.form={documentNo:""},e.material={},e.materialList=[],e.list=[],e.every="",e.value="",e.type="text",e.border=!0,e.nowAmount="",e.Location=[],e.wlCode="",e}return(0,o.default)(a,[{key:"onShow",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,a,r,i,n,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=JSON.parse(localStorage.getItem("__GWMS_APP_STATE_DATA__")),a=f.session.user,r=JSON.parse(localStorage.getItem("sendSpot")),i={loginName:t.session.user.loginName,sendSpot:r,factoryCode:t.session.user.factoryCode,workArea:a.list[0].workareaCode},e.next=6,this.model.queryByFactoryCodeAndWorkAreaCode(i);case 6:n=e.sent,n.forEach((function(e){var t={};t.label=e.locationCode,t.value=e.locationCode+"("+e.sendSpot+")",t.sendSpot=e.sendSpot,o.Location.push(t)}));case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"query",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.form.documentNo){e.next=3;break}return uni.showToast({icon:"none",title:this.$t("message.Commission_tips1")}),e.abrupt("return");case 3:return e.next=5,this.model.queryOutsourcing(this.form.documentNo);case 5:t=e.sent,this.material=t.data,this.material.forEach((function(e){var t={};t.label=e.materialCode,t.value=e.materialCode,a.materialList.push(t)}));case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"materialChoice",value:function(e){var t=this;this.material.forEach((function(a){a.materialCode!=e.pickerName.value||(t.every=a)}))}},{key:"LocationChoice",value:function(e){this.wlCode=e.pickerName}},{key:"Add",value:function(){if(""!=this.nowAmount&&""!=this.wlCode)if(parseFloat(this.nowAmount)<=0)uni.showToast({icon:"none",title:this.$t("message.Commission_tips3")});else if(parseFloat(this.nowAmount)>this.every.orderAmount)uni.showToast({icon:"none",title:this.$t("message.Commission_tips4")});else{var e={wlCode:this.wlCode.label,nowAmount:this.nowAmount};this.list.push(e),this.business()}else uni.showToast({icon:"none",title:this.$t("message.Commission_tips2")})}},{key:"deleteItem",value:function(e){this.list.splice(e,1),this.business()}},{key:"onSubmit",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return null!=this.list&&0!=this.list.length||uni.showToast({icon:"none",title:this.$t("message.Commission_tips5")}),t={poNo:this.form.documentNo,materialCode:this.every.materialCode,loginName:f.session.loginName,factoryCode:f.session.factoryCode,list:this.list},e.next=4,this.model.submitOutsourcing(t);case 4:this.list=[],this.wlCode="",this.nowAmount="",this.every="",this.materialList=[];case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"bill",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.form.documentNo){e.next=3;break}return uni.showToast({icon:"none",title:this.$t("message._tips6")}),e.abrupt("return");case 3:return t=JSON.parse(localStorage.getItem("__GWMS_APP_STATE_DATA__")),a={loginName:t.session.user.loginName,poNo:this.form.documentNo,factoryCode:t.session.user.factoryCode},e.next=7,this.model.querydetaildlist(a);case 7:this.redirectTo(this.page.raw.commission.goOut.detail);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"business",value:function(){var e=0;this.list.forEach((function(t){e+=parseFloat(t.nowAmount)})),this.every.outAmount=e}}]),a}(d.BasePage);h=(0,l.__decorate)([(0,c.Component)({components:{jPicker:p.default}})],h);var v=h;t.default=v},a623:function(e,t,a){"use strict";var r=a("23e7"),i=a("b727").every,n=a("a640"),o=a("ae40"),s=n("every"),u=o("every");r({target:"Array",proto:!0,forced:!s||!u},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},ade3:function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},b9bd:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return r}));var r={uIcon:a("f86b").default,uSearch:a("9cf5").default,uButton:a("d9ad").default,uInput:a("d5da").default,uTable:a("8365").default,uTr:a("18fd").default,uTh:a("4145").default,uTd:a("acc3").default,uRow:a("d67a").default,uCol:a("b408").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-raw-receipt"},[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.CommissionGoOut")))]),a("v-uni-view",{staticClass:"right"})],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"single"},[a("v-uni-view",{staticClass:"single-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.CommissionedSingleNumber")))]),a("u-search",{attrs:{placeholder:e.$t("message.InventoryPleaseScan"),"show-action":!1},on:{search:function(t){arguments[0]=t=e.$handleEvent(t),e.query.apply(void 0,arguments)}},model:{value:e.form.documentNo,callback:function(t){e.$set(e.form,"documentNo",t)},expression:"form.documentNo"}})],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("v-uni-view",{staticClass:"material"},[a("v-uni-view",{staticClass:"material-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.CommissionedMaterielNo")))]),a("jPicker",{staticClass:"search",staticStyle:{width:"260rpx"},attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.wlCode,options:e.materialList},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.materialChoice.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"material-right"},[a("v-uni-view",{staticClass:"material-right-title"},[e._v(e._s(e.$t("message.CommissionedMaterielDesc")))]),a("v-uni-view",{staticClass:"material-right-code"},[e._v(e._s(e.every.materialDesc))])],1)],1),a("v-uni-view",{staticClass:"number"},[a("v-uni-view",{staticClass:"number-left"},[a("v-uni-view",{staticClass:"number-left-title"},[e._v(e._s(e.$t("message.CommissionedDemandData")))]),a("u-input",{staticClass:"input",attrs:{placeholder:" ",type:e.type,border:e.border,disabled:!0},model:{value:e.every.orderAmount,callback:function(t){e.$set(e.every,"orderAmount",t)},expression:"every.orderAmount"}})],1),a("v-uni-view",{staticClass:"number-right"},[a("v-uni-view",{staticClass:"number-right-title"},[e._v(e._s(e.$t("message.CommissionedCumulativeData")))]),a("u-input",{staticClass:"input",attrs:{type:e.type,border:e.border,disabled:!0},model:{value:e.every.outAmount,callback:function(t){e.$set(e.every,"outAmount",t)},expression:"every.outAmount"}})],1)],1),a("v-uni-view",{staticClass:"library"},[a("v-uni-view",{staticClass:"library-left"},[a("v-uni-view",[e._v(e._s(e.$t("message.CommissionedLocation")))]),a("jPicker",{staticClass:"search",staticStyle:{width:"230rpx"},attrs:{sureColor:"#ff0000",showKey:"value",valKey:"value",val:e.wlCode,options:e.Location},on:{bindpicker:function(t){arguments[0]=t=e.$handleEvent(t),e.LocationChoice.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"library-right"},[a("v-uni-view",{staticClass:"library-right-title"},[e._v(e._s(e.$t("message.CommissionedThisNumber")))]),a("u-input",{staticClass:"input",attrs:{type:e.type,border:e.border},model:{value:e.nowAmount,callback:function(t){e.nowAmount=t},expression:"nowAmount"}})],1)],1),a("v-uni-view",{staticClass:"add"},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Add.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.product_add")))])],1),a("u-table",{staticClass:"library-table"},[a("u-tr",{staticClass:"u-tr"},[a("u-th",{staticClass:"u-th"},[e._v(e._s(e.$t("message.product_Location")))]),a("u-th",{staticClass:"u-th"},[e._v(e._s(e.$t("message.product_Number")))]),a("u-th",{staticClass:"u-th"},[e._v(e._s(e.$t("message.operation")))])],1),e._l(e.list,(function(t,r){return a("u-tr",{key:r,staticClass:"u-tr"},[a("u-td",{staticClass:"u-td"},[e._v(e._s(t.wlCode))]),a("u-td",{staticClass:"u-td"},[e._v(e._s(t.nowAmount))]),a("u-td",{staticClass:"u-td"},[a("div",{staticClass:"u-td",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.deleteItem(r)}}},[e._v(e._s(e.$t("message.product_Delete")))])])],1)}))],2)],1),a("v-uni-view",{staticClass:"bottom-bar"},[a("u-row",{staticClass:"button-bar"},[a("u-col",{attrs:{span:4}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.bill.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.CommissionedGoOutDetails")))])],1),a("u-col",{attrs:{span:4}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSubmit.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.product_Upload")))])],1),a("u-col",{attrs:{span:4}},[a("u-button",{attrs:{type:"error"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.back.apply(void 0,arguments)}}},[e._v(e._s(e.$t("message.po_Return")))])],1)],1)],1)],1)},n=[]}}]);