Compare commits

...

3 Commits

Author SHA1 Message Date
76ce6184e7 Merge pull request '更新' (#89) from zwq into develop
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #89
2022-06-07 15:14:16 +08:00
7ff955ead5 Merge branch 'develop' into zwq 2022-06-07 15:14:12 +08:00
zwq
b3ec8dfd4e 更新 2022-06-07 15:13:51 +08:00
54 changed files with 54 additions and 0 deletions

1
dist/static/js/app.b1b205d2.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16bb1ba0"],{"24e2":function(t,a,i){"use strict";i.r(a);var s=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"errPage-container"},[i("el-button",{staticClass:"pan-back-btn",attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v("\n "+t._s(t._f("i18nFilter")("btn.back"))+"\n ")]),t._v(" "),i("el-row",[i("el-col",{attrs:{span:12}},[i("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("\n Oops!\n ")]),t._v("\n gif来源"),i("a",{attrs:{href:"https://zh.airbnb.com/",target:"_blank"}},[t._v("airbnb")]),t._v(" 页面\n "),i("h2",[t._v("你没有权限去该页面")]),t._v(" "),i("h6",[t._v("如有不满请联系你领导")]),t._v(" "),i("ul",{staticClass:"list-unstyled"},[i("li",[t._v("或者你可以去:")]),t._v(" "),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/dashboard"}},[t._v("\n 回首页\n ")])],1),t._v(" "),i("li",{staticClass:"link-type"},[i("a",{attrs:{href:"https://www.taobao.com/"}},[t._v("随便看看")])]),t._v(" "),i("li",[i("a",{attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),t._v(" "),i("el-col",{attrs:{span:12}},[i("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),i("el-dialog",{attrs:{visible:t.dialogVisible,title:"随便看"},on:{"update:visible":function(a){t.dialogVisible=a}}},[i("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},e=[],n=i("cc6c"),r=i.n(n),l={name:"Page401",data:function(){return{errGif:r.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)}}},c=l,o=(i("9f13"),i("2877")),u=Object(o["a"])(c,s,e,!1,null,"1cdf759b",null);a["default"]=u.exports},9947:function(t,a,i){},"9f13":function(t,a,i){"use strict";i("9947")},cc6c:function(t,a,i){t.exports=i.p+"static/img/401.089007e7.gif"}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d1d8a1a"],{2017:function(e,o,t){"use strict";t("b12d")},"3f0f":function(e,o,t){},5524:function(e,o,t){"use strict";t("3f0f")},"9ed6":function(e,o,t){"use strict";t.r(o);var n=function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"login-container"},[n("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules,autocomplete:"on","label-position":"left"}},[n("div",{staticClass:"title-container"},[n("h3",{staticClass:"title"},[n("img",{staticStyle:{width:"1.5em",height:"1.5em",position:"relative",top:".35em"},attrs:{src:t("ec79"),alt:""}}),e._v("\n "+e._s(e._f("i18nFilter")("title"))+"\n ")])]),e._v(" "),n("el-form-item",{attrs:{prop:"username"}},[n("span",{staticClass:"svg-container"},[n("svg-icon",{staticStyle:{color:"#fff"},attrs:{"icon-class":"user"}})],1),e._v(" "),n("el-input",{ref:"username",attrs:{placeholder:e._f("i18nFilter")("login.username"),name:"username",type:"text",tabindex:"1",autocomplete:"on"},model:{value:e.loginForm.username,callback:function(o){e.$set(e.loginForm,"username",o)},expression:"loginForm.username"}})],1),e._v(" "),n("el-tooltip",{attrs:{content:"Caps lock is On",placement:"right",manual:""},model:{value:e.capsTooltip,callback:function(o){e.capsTooltip=o},expression:"capsTooltip"}},[n("el-form-item",{attrs:{prop:"password"}},[n("span",{staticClass:"svg-container"},[n("svg-icon",{staticStyle:{color:"#fff"},attrs:{"icon-class":"password"}})],1),e._v(" "),n("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:e._f("i18nFilter")("login.password"),name:"password",tabindex:"2",autocomplete:"on"},on:{blur:function(o){e.capsTooltip=!1}},nativeOn:{keyup:[function(o){return e.checkCapslock(o)},function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.handleLogin(o)}]},model:{value:e.loginForm.password,callback:function(o){e.$set(e.loginForm,"password",o)},expression:"loginForm.password"}}),e._v(" "),n("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[n("svg-icon",{attrs:{"icon-class":"password"===e.passwordType?"eye":"eye-open"}})],1)],1)],1),e._v(" "),n("lang-select",{staticClass:"login-language"}),e._v(" "),n("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(o){return o.preventDefault(),e.handleLogin(o)}}},[e._v("\n "+e._s(e._f("i18nFilter")("login.logIn"))+"\n ")]),e._v(" "),n("el-row",{staticClass:"login-copyright"},[e._v("\n "+e._s(e._f("i18nFilter")("copyright.copyright"))+""+e._s(e._f("i18nFilter")("copyright.company"))+"\n ")])],1)],1)},s=[],r=t("298b"),i=t.n(r),a=t("fa81"),l=t.n(a),c=t("1131"),p={name:"Login",components:{LangSelect:c["a"]},data:function(){var e=function(e,o,t){o?t():t(new Error("Please enter the correct user name"))},o=function(e,o,t){o.length<6?t(new Error("The password can not be less than 6 digits")):t()};return{loginForm:{username:13588441519,password:"123abc.",mobile:13588441519,oauthCode:13588441519,openId:13588441519,wechatAppId:13588441519},loginRules:{username:[{required:!0,trigger:"blur",validator:e}],password:[{required:!0,trigger:"blur",validator:o}]},passwordType:"password",capsTooltip:!1,loading:!1,redirect:void 0,otherQuery:{}}},watch:{$route:{handler:function(e){console.log(e)},immediate:!0}},created:function(){},mounted:function(){""===this.loginForm.username?this.$refs.username.focus():""===this.loginForm.password&&this.$refs.password.focus();var e=0;e=3,console.log(e)},destroyed:function(){},methods:{checkCapslock:function(e){var o=e.key;this.capsTooltip=o&&1===o.length&&o>="A"&&o<="Z"},showPwd:function(){var e=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){e.$refs.password.focus()}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(o){if(console.log(o),console.log(e.redirect,e.$route),!o)return console.log("error submit!!"),!1;e.loading=!0,e.$store.dispatch("user/login",e.loginForm).then((function(o){console.log(o),console.log(e.redirect,e.otherQuery),e.$router.push({path:e.redirect||"/",query:e.otherQuery}),e.loading=!1}))["catch"]((function(){e.loading=!1}))}))},getOtherQuery:function(e){var o;return i()(o=l()(e)).call(o,(function(o,t){return"redirect"!==t&&(o[t]=e[t]),o}),{})}}},u=p,d=(t("2017"),t("5524"),t("2877")),f=Object(d["a"])(u,n,s,!1,null,"30639d60",null);o["default"]=f.exports},b12d:function(e,o,t){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cc241"],{"4d50":function(e,n,t){"use strict";t.r(n);var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"basic"}},[t("router-view")],1)},r=[],u=t("2877"),i={},s=Object(u["a"])(i,c,r,!1,null,null,null);n["default"]=s.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fefd9bc"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("2b0b"),o=n.n(r);Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function u(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,n){var r=u(),o=t-r,s=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=s;var u=Math.easeInOutQuad(l,r,o,e);i(u),l<e?a(t):n&&"function"===typeof n&&n()};c()}},1:function(t,e){},2:function(t,e){},"478c":function(t,e,n){"use strict";n("857b")},"5a6c":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return s}));var r=n("b775");function o(t){return Object(r["a"])({url:"/api/report/report-storage-box/list",method:"post",data:t})}function a(t){return Object(r["a"])({url:"/api/report/report-storage-box/excel-download",method:"post",data:t,responseType:"blob",timeout:6e4})}function i(t){return Object(r["a"])({url:"/api/report/report-substrate/list",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/api/report/report-substrate/delete",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/api/report/report-substrate/update",method:"post",data:t})}},"5b78":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("head-form",{attrs:{"placeholder-name":t.placeholderName,"key-name":t.keyName,"show-add":!1},on:{getDataList:t.getList}}),t._v(" "),n("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}}),t._v(" "),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},o=[],a=n("3393"),i=n.n(a),u=n("9923"),s=n("bb1e"),l=n("c0ee"),c=n("333d"),d=n("5a6c"),p=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],m=[{prop:"code",label:u["a"].t("module.report.inventory.code"),align:"center"},{prop:"status",label:u["a"].t("module.report.inventory.status"),align:"center"},{prop:"inprocessCode",label:u["a"].t("module.report.inventory.inprocessCode"),align:"center"},{prop:"currentLocation",label:u["a"].t("module.report.inventory.currentLocation"),align:"center"},{prop:"storeTime",label:u["a"].t("module.report.inventory.storeTime"),align:"center"},{prop:"manual",label:u["a"].t("module.report.inventory.manual"),align:"center"}],b={name:"Inventory",components:{Pagination:c["a"],BaseTable:l["a"],HeadForm:s["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:u["a"].t("module.report.reportList.storageBoxNumber"),placeholderName:this.$t("module.report.reportList.queryFiltering"),tableBtn:p,trueWidth:200,tableProps:m,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{getList:function(t){var e=this;this.listLoading=!0,this.listQuery.code=t,console.log(this.listQuery),Object(d["c"])(this.listQuery).then((function(t){var n;(console.log(t),t.data)?e.list=t.data:i()(n=e.list).call(n,0,e.list.length);e.listLoading=!1}))}}},f=b,g=(n("478c"),n("2877")),y=Object(g["a"])(f,r,o,!1,null,"5f68faaa",null);e["default"]=y.exports},"857b":function(t,e,n){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-556562e8"],{"1db4":function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"wscn-http404-container"},[e("div",{staticClass:"wscn-http404"},[t._m(0),t._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),t._v(" "),t._m(1),t._v(" "),e("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),e("div",{staticClass:"bullshit__info"},[t._v("Please check that the URL you entered is correct, or click the button below to return to the homepage.")]),t._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("Back to home")])])])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:e("a36b"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child left",attrs:{src:e("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child mid",attrs:{src:e("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child right",attrs:{src:e("26fc"),alt:"404"}})])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bullshit__info"},[t._v("All rights reserved\n "),e("a",{staticStyle:{color:"#20a0ff"},attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[t._v("wallstreetcn")])])}],i={name:"Page404",computed:{message:function(){return"The webmaster said that you can not enter this page..."}}},l=i,n=(e("35e7"),e("2877")),r=Object(n["a"])(l,a,c,!1,null,"26fcd89f",null);s["default"]=r.exports},"26fc":function(t,s,e){t.exports=e.p+"static/img/404_cloud.0f4bc32b.png"},"35e7":function(t,s,e){"use strict";e("c107")},a36b:function(t,s,e){t.exports=e.p+"static/img/404.a57b6f31.png"},c107:function(t,s,e){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6de8d2c1"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var n=a("2b0b"),i=a.n(n);Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function c(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var n=c(),i=t-n,s=20,u=0;e="undefined"===typeof e?500:e;var d=function t(){u+=s;var c=Math.easeInOutQuad(u,n,i,e);r(c),u<e?o(t):a&&"function"===typeof a&&a()};d()}},1:function(t,e){},2:function(t,e){},8425:function(t,e,a){},"93eb":function(t,e,a){"use strict";a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return o})),a.d(e,"f",(function(){return r})),a.d(e,"a",(function(){return c})),a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return u}));var n=a("b775");function i(t){return Object(n["a"])({url:"/api/wms/area/page",method:"post",data:t})}function o(t){return Object(n["a"])({url:"/api/wms/area/getById",method:"post",data:{id:t}})}function r(t){return Object(n["a"])({url:"/api/wms/area/update",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/api/wms/area/add",method:"post",data:t})}function s(){return Object(n["a"])({url:"/api/wms/area/getCode",method:"post"})}function u(t){return Object(n["a"])({url:"/api/wms/area/delete",method:"post",data:{id:t}})}},e1f8:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("head-form",{attrs:{"placeholder-name":t.placeholderName,"key-name":t.keyName},on:{getDataList:t.getList,add:t.addNew}}),t._v(" "),a("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}},[a("method-btn",{attrs:{slot:"handleBtn",width:t.trueWidth,"method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},i=[],o=(a("7f7f"),a("a3e3")),r=a.n(o),c=a("3393"),s=a.n(c),u=a("9923"),d=a("93eb"),l=a("bb1e"),m=a("c0ee"),f=a("333d"),h=a("ebe9"),p=a("8975"),b=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"},{type:"detail",btnName:"btn.detail"}],g=[{prop:"createTime",label:u["a"].t("module.basicData.factory.createTime"),filter:p["timeFormatter"],align:"center"},{prop:"tareaName",label:u["a"].t("module.basicData.cache.CacheName"),align:"center"},{prop:"code",label:u["a"].t("module.basicData.cache.CacheCode"),align:"center"},{prop:"enName",label:u["a"].t("module.basicData.visual.EnglishName"),align:"center"}],y={name:"Cache",components:{Pagination:f["a"],BaseTable:m["a"],MethodBtn:h["a"],HeadForm:l["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:u["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.cache.CacheName")+this.$t("module.basicData.visual.Or")+this.$t("module.basicData.cache.CacheCode"),tableBtn:b,trueWidth:240,tableProps:g,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(d["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.tareaName=t,this.listQuery.code=t,console.log(this.listQuery),Object(d["e"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:s()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t,e){this.$router.push({name:"cacheAdd",query:{id:t,isdetail:e}})}}},w=y,v=(a("f048"),a("2877")),N=Object(v["a"])(w,n,i,!1,null,"ce6e7c2c",null);e["default"]=N.exports},f048:function(t,e,a){"use strict";a("8425")}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a78d1b0e"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("2b0b"),a=n.n(r);Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){a()(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,n){var r=s(),a=t-r,u=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=u;var s=Math.easeInOutQuad(l,r,a,e);i(s),l<e?o(t):n&&"function"===typeof n&&n()};c()}},"3d6f":function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return u}));var r=n("b775");function a(t){return Object(r["a"])({url:"/api/process/work-sequence/page",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/api/process/work-sequence/get",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/api/process/work-sequence/delete",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/api/process/work-sequence/update",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/api/process/work-sequence/add",method:"post",data:t})}},9782:function(t,e,n){"use strict";n("b0e1")},b0e1:function(t,e,n){},d0f6:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{ref:"formData",attrs:{rules:t.rules,model:t.listQuery,inline:!0,size:"medium"}},[n("el-form-item",{attrs:{label:t.$t("module.art.processList.processName"),prop:"key"}},[n("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.art.processList.processName")]),clearable:"",filterable:""},model:{value:t.listQuery.key,callback:function(e){t.$set(t.listQuery,"key",e)},expression:"listQuery.key"}},t._l(t.processArr,(function(t,e){return n("el-option",{key:e,attrs:{label:t.name,value:t.name}})})),1)],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.getList()}}},[t._v(" "+t._s(t._f("i18nFilter")("btn.search"))+" ")])],1)],1),t._v(" "),n("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}},[n("method-btn",{attrs:{slot:"handleBtn",width:t.trueWidth,"method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1),t._v(" "),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},a=[],o=n("3393"),i=n.n(o),s=n("3d6f"),u=n("c0ee"),l=n("333d"),c=n("ebe9"),d=n("9923"),p=n("8975"),f=[{type:"see",btnName:d["a"].t("module.basicData.Warehouse.processStorageLink")}],m=[{prop:"code",label:d["a"].t("module.art.processList.processCode"),align:"center"},{prop:"name",label:d["a"].t("module.art.processList.processName"),align:"center"},{prop:"createTime",label:d["a"].t("module.art.eqName"),filter:p["timeFormatter"],align:"center"}],b={name:"ExecutionInfo",components:{Pagination:l["a"],BaseTable:u["a"],MethodBtn:c["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{tableBtn:f,trueWidth:200,tableProps:m,list:[],processArr:[],total:0,listLoading:!0,rules:{},listQuery:{current:1,size:10,key:""}}},created:function(){this.getList(),this.init()},methods:{handleClick:function(t){this.addNew(t.data.id)},init:function(){var t=this,e={current:1,size:999};Object(s["d"])(e).then((function(e){var n;e.data.records?t.processArr=e.data.records:i()(n=t.processArr).call(n,0,t.list.length);t.total=e.data.total}))},getList:function(){var t=this;this.listLoading=!0,Object(s["d"])(this.listQuery).then((function(e){var n;e.data.records?t.list=e.data.records:i()(n=t.list).call(n,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},addNew:function(t){this.$router.push({name:"ProcessStorageManagementInfo",query:{id:t}})}}},h=b,y=(n("9782"),n("2877")),g=Object(y["a"])(h,r,a,!1,null,"44977cf9",null);e["default"]=g.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ee59210a"],{"16c3":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticStyle:{margin:"10px 50px"}},[n("el-button",{attrs:{type:"success"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addNew()}}},[t._v(t._s(t._f("i18nFilter")("btn.add")))])],1),t._v(" "),n("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}})],1)},i=[],o=(n("7f7f"),n("a3e3")),r=n.n(o),c=n("3393"),s=n.n(c),u=n("fe12"),l=n("9923"),d=n("c0ee"),f=[{prop:"code",label:l["a"].t("module.basicData.cache.LocationCode"),align:"center"},{prop:"locationName",label:l["a"].t("module.basicData.cache.LocationName"),align:"center"}],p={name:"Shelf",components:{BaseTable:d["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{trueWidth:200,tableProps:f,list:[],listLoading:!0,listQuery:{current:1,size:990,workSequenId:""}}},created:function(){this.listQuery.workSequenId=this.$route.query.id,this.getList()},methods:{handleClick:function(t){var e;"delete"===t.type&&this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){}))["catch"]((function(){}))},getList:function(){var t=this;this.listLoading=!0,Object(u["i"])(this.listQuery).then((function(e){var n;e.data.records?t.list=e.data.records:s()(n=t.list).call(n,0,t.list.length);t.listLoading=!1}))},addNew:function(){this.$router.push({name:"ProcessStorageLink",query:{id:this.listQuery.workSequenId}})},goback:function(){this.$router.go(-1)}}},b=p,h=(n("f7eb"),n("2877")),m=Object(h["a"])(b,a,i,!1,null,"417a3860",null);e["default"]=m.exports},6664:function(t,e,n){},f7eb:function(t,e,n){"use strict";n("6664")},fe12:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"j",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return p}));var a=n("b775");function i(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/his/page/by/code",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/page/for/bind",method:"post",data:t})}function r(t){return Object(a["a"])({url:"/api/wms/location/list",method:"post",data:t})}function c(t){var e={id:t};return Object(a["a"])({url:"/api/wms/storage/box/circ/info/get",method:"post",data:e})}function s(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/update",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/add",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/delete",method:"post",data:{id:t}})}function f(t){return Object(a["a"])({url:"/api/wms/processlocation/batchList",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/api/wms/processlocation/locationByProcess",method:"post",data:t})}}}]);

File diff suppressed because one or more lines are too long