xiaodai2022 2 jaren geleden
bovenliggende
commit
7ab448274e
56 gewijzigde bestanden met toevoegingen van 806 en 78 verwijderingen
  1. 28 3
      dist/index.html
  2. BIN
      dist/static/axios@0.21.0.min.js.gz
  3. 0 0
      dist/static/css/app.4a620a03.css
  4. BIN
      dist/static/css/app.4a620a03.css.gz
  5. 0 0
      dist/static/css/chunk-0b024dde.751a4de5.css
  6. 0 0
      dist/static/css/chunk-0bb2547c.f0d117da.css
  7. 0 0
      dist/static/css/chunk-121c28d0.d39d70a9.css
  8. 0 0
      dist/static/css/chunk-15caf0ce.90844b8e.css
  9. 0 1
      dist/static/css/chunk-1d0a69b6.665540ec.css
  10. 0 1
      dist/static/css/chunk-44401bcc.c8bf352b.css
  11. 0 1
      dist/static/css/chunk-4ff11544.11a605cd.css
  12. 0 1
      dist/static/css/chunk-6e922e31.5517e0bb.css
  13. 0 1
      dist/static/css/chunk-a4a85b14.69905cae.css
  14. 0 0
      dist/static/css/chunk-b7f101b0.ba5246e0.css
  15. 0 0
      dist/static/css/chunk-ee636058.1c4ea3cf.css
  16. 0 1
      dist/static/css/chunk-elementUI.6e808e7d.css
  17. 0 0
      dist/static/css/chunk-f40f2208.9a9af640.css
  18. BIN
      dist/static/css/chunk-f40f2208.9a9af640.css.gz
  19. 0 0
      dist/static/css/chunk-libs.40f5be4d.css
  20. BIN
      dist/static/css/chunk-libs.40f5be4d.css.gz
  21. BIN
      dist/static/dingtalk.open.2.10.3.js.gz
  22. 32 0
      dist/static/js/0.js
  23. 0 0
      dist/static/js/app.7031d75f.js
  24. BIN
      dist/static/js/app.7031d75f.js.gz
  25. 10 0
      dist/static/js/app.js
  26. 0 0
      dist/static/js/chunk-0b024dde.4846d03f.js
  27. 0 0
      dist/static/js/chunk-0bb2547c.6ff696ae.js
  28. BIN
      dist/static/js/chunk-0bb2547c.6ff696ae.js.gz
  29. 0 0
      dist/static/js/chunk-121c28d0.fbb652b0.js
  30. BIN
      dist/static/js/chunk-121c28d0.fbb652b0.js.gz
  31. 0 1
      dist/static/js/chunk-15caf0ce.2c49ba5e.js
  32. 0 0
      dist/static/js/chunk-1d0a69b6.a17d92c7.js
  33. 0 0
      dist/static/js/chunk-44401bcc.6ab00a64.js
  34. 0 1
      dist/static/js/chunk-4ff11544.0229aec7.js
  35. 0 0
      dist/static/js/chunk-6e922e31.08ad82f4.js
  36. 0 0
      dist/static/js/chunk-a4a85b14.2c3db82a.js
  37. 0 0
      dist/static/js/chunk-b7f101b0.706ee17b.js
  38. 0 0
      dist/static/js/chunk-ee636058.6f58c036.js
  39. 0 0
      dist/static/js/chunk-elementUI.f0821104.js
  40. BIN
      dist/static/js/chunk-elementUI.f0821104.js.gz
  41. 20 0
      dist/static/js/chunk-elementUI.js
  42. 0 0
      dist/static/js/chunk-f40f2208.c077f0bb.js
  43. BIN
      dist/static/js/chunk-f40f2208.c077f0bb.js.gz
  44. 0 0
      dist/static/js/chunk-libs.69437a25.js
  45. BIN
      dist/static/js/chunk-libs.69437a25.js.gz
  46. 124 0
      dist/static/js/chunk-libs.js
  47. 223 0
      dist/static/js/runtime.js
  48. BIN
      dist/static/vue-router.min.js.gz
  49. BIN
      dist/static/vue.min.js.gz
  50. 6 0
      src/apis/components/search-stock-allot-good-modal.js
  51. 2 0
      src/apis/service/stock/allot/detail.js
  52. 101 0
      src/components/search-stock-allot-good-modal/columns.js
  53. 218 0
      src/components/search-stock-allot-good-modal/index.vue
  54. 0 0
      src/components/search-stock-allot-good-modal/仓库Bn商品批次列表
  55. 27 67
      src/views/stock/allot/components/addForm.vue
  56. 15 0
      src/views/stock/allot/components/columns.js

File diff suppressed because it is too large
+ 28 - 3
dist/index.html


BIN
dist/static/axios@0.21.0.min.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.4a620a03.css


BIN
dist/static/css/app.4a620a03.css.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-0b024dde.751a4de5.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-0bb2547c.f0d117da.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-121c28d0.d39d70a9.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-15caf0ce.90844b8e.css


+ 0 - 1
dist/static/css/chunk-1d0a69b6.665540ec.css

@@ -1 +0,0 @@
-.change{padding:0 18% 0 0;background:#f2f2f2;min-height:100%;height:100%;overflow:hidden;position:absolute;z-index:2}.change,.change .title{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.change .title{border-width:0;height:140px;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:400;font-style:normal;font-size:22px;text-align:left;padding:0;padding:60px 0 0 100px}.change-mobile{background:#f2f2f2}@supports (-webkit-mask:none) and (not (cater-color:#fff)){.change-mobile .el-input input{color:#fff}}.change-mobile .el-input input{color:#000}.change-mobile .el-form-item{border:1px solid hsla(0,0%,100%,.1);color:#454545}.change-mobile[data-v-aae05b16]{min-height:100%;width:100%;height:100%;background-color:#f2f2f2;overflow:hidden;position:absolute;z-index:2;background:#fff}.change-mobile .login-form[data-v-aae05b16]{position:relative;width:415px;max-width:100%;height:100%;padding:50px 35px 150px 35px;margin:0 auto;overflow:hidden}.change-mobile .login-form .el-form-item__label[data-v-aae05b16]{height:49px;line-height:49px}.change-mobile .login-form .el-form-item__content[data-v-aae05b16]:after,.change-mobile .login-form .el-form-item__content[data-v-aae05b16]:before{content:"";display:block;clear:both}.change-mobile .tips[data-v-aae05b16]{font-size:14px;color:#fff;margin-bottom:10px}.change-mobile .tips span[data-v-aae05b16]:first-of-type{margin-right:16px}.change-mobile .svg-container[data-v-aae05b16]{padding:6px 5px 6px 15px;color:#889aa4;vertical-align:middle;width:30px;display:inline-block}.change-mobile .show-pwd[data-v-aae05b16]{position:absolute;right:10px;top:7px;font-size:16px;color:#889aa4;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.change-mobile .thirdparty-button[data-v-aae05b16]{position:absolute;right:0;bottom:6px}@media only screen and (max-width:470px){.change-mobile .thirdparty-button[data-v-aae05b16]{display:none}}

+ 0 - 1
dist/static/css/chunk-44401bcc.c8bf352b.css

@@ -1 +0,0 @@
-.dashboard-container[data-v-a5f9fb52]{padding:0 0 0 0;position:relative;width:100%;min-height:calc(100vh - 53px);display:block;overflow:hidden}.dashboard-container .bg-img[data-v-a5f9fb52]{width:100%;position:absolute;display:block;min-height:100%;height:100%}.dashboard-container .duihua[data-v-a5f9fb52]{position:absolute;top:1%;right:12%;z-index:2;width:290px}.dashboard-container .duihua img.bg[data-v-a5f9fb52]{display:block;width:100%}.dashboard-container .duihua div.neirong[data-v-a5f9fb52]{display:block;position:absolute;top:0;left:0;height:100%;min-height:100%;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;padding:60px 0 0 20px}.dashboard-container .duihua div.neirong img[data-v-a5f9fb52]{display:inline-block}.dashboard-container .wudi[data-v-a5f9fb52]{position:absolute;right:0;bottom:0;color:#fff;z-index:3}.emptyGif[data-v-a5f9fb52]{display:block;width:100%;margin:0 auto}.dashboard-editor-container[data-v-a5f9fb52]{position:relative;min-height:100%;width:100%;text-align:center}.dashboard-editor-container .info-container[data-v-a5f9fb52]{display:block;width:60%;text-align:center;margin:0 auto;padding:10vh 0 0 0}.dashboard-editor-container .info-container .welcome-title[data-v-a5f9fb52]{vertical-align:top;padding:0;margin:0 0 0 18px;color:#97a8be;display:inline-block;height:130px;line-height:130px;font-size:45px}.dashboard-editor-container img[data-v-a5f9fb52]{display:block;-webkit-box-flex:1;-ms-flex:1;flex:1}

+ 0 - 1
dist/static/css/chunk-4ff11544.11a605cd.css

@@ -1 +0,0 @@
-.dingLoading[data-v-17af7bec]{text-align:center;width:100%}.dingLoading img[data-v-17af7bec]{display:inline-block;width:152px;margin:0 auto;padding-top:100px}

+ 0 - 1
dist/static/css/chunk-6e922e31.5517e0bb.css

@@ -1 +0,0 @@
-.my-messagge-page{text-align:center;background:#f2f2f2;min-height:100%;width:100%;height:100%;overflow:hidden;position:absolute;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.my-messagge-page .change{padding:0 8% 0 0}.my-messagge-page .change .title{border-width:0;height:170px;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:400;font-style:normal;font-size:22px;text-align:left;padding:0;padding:60px 0 0 100px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.my-messagge-page .change-main{width:370px;margin:0 auto;text-align:left}.my-messagge-page .infor{padding:0 0 40px 0}.my-messagge-page .infor .tr{text-align:right;padding:0 15px 0 0}@supports (-webkit-mask:none) and (not (cater-color:#fff)){.my-messagge .el-input input{color:#fff}}.my-messagge[data-v-5c51b68e]{min-height:100%;width:100%;height:100%;background-color:#f2f2f2;overflow:hidden;position:absolute;z-index:2;background:#fff}.my-messagge .login-form[data-v-5c51b68e]{position:relative;width:415px;max-width:100%;height:100%;padding:50px 35px 150px 35px;margin:0 auto;overflow:hidden}.my-messagge .login-form .el-form-item__label[data-v-5c51b68e]{height:49px;line-height:49px}.my-messagge .tips[data-v-5c51b68e]{font-size:14px;color:#fff;margin-bottom:10px}.my-messagge .tips span[data-v-5c51b68e]:first-of-type{margin-right:16px}.my-messagge .svg-container[data-v-5c51b68e]{padding:6px 5px 6px 15px;color:#889aa4;vertical-align:middle;width:30px;display:inline-block}.my-messagge .show-pwd[data-v-5c51b68e]{position:absolute;right:10px;top:7px;font-size:16px;color:#889aa4;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.my-messagge .thirdparty-button[data-v-5c51b68e]{position:absolute;right:0;bottom:6px}@media only screen and (max-width:470px){.my-messagge .thirdparty-button[data-v-5c51b68e]{display:none}}

+ 0 - 1
dist/static/css/chunk-a4a85b14.69905cae.css

@@ -1 +0,0 @@
-.change-password{background:#f2f2f2;min-height:100%;width:100%;height:100%;overflow:hidden;position:absolute;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.change-password .change{padding:0 18% 0 0}.change-password .change .title{border-width:0;height:140px;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:400;font-style:normal;font-size:22px;text-align:left;padding:0;padding:60px 0 0 100px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.change-password[data-v-3e496fef]{min-height:100%;width:100%;height:100%;overflow:hidden;position:absolute;z-index:2}.change-password .login-form[data-v-3e496fef]{position:relative;width:415px;max-width:100%;height:100%;padding:50px 35px 150px 35px;margin:0 auto;overflow:hidden}.change-password .login-form .el-form-item__label[data-v-3e496fef]{height:49px;line-height:49px}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-b7f101b0.ba5246e0.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-ee636058.1c4ea3cf.css


+ 0 - 1
dist/static/css/chunk-elementUI.6e808e7d.css

@@ -1 +0,0 @@
-@media only screen and (max-width:767px){.hidden-xs-only{display:none!important}}@media only screen and (min-width:768px){.hidden-sm-and-up{display:none!important}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-sm-only{display:none!important}}@media only screen and (max-width:991px){.hidden-sm-and-down{display:none!important}}@media only screen and (min-width:992px){.hidden-md-and-up{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-md-only{display:none!important}}@media only screen and (max-width:1199px){.hidden-md-and-down{display:none!important}}@media only screen and (min-width:1200px){.hidden-lg-and-up{display:none!important}}@media only screen and (min-width:1200px) and (max-width:1919px){.hidden-lg-only{display:none!important}}@media only screen and (max-width:1919px){.hidden-lg-and-down{display:none!important}}@media only screen and (min-width:1920px){.hidden-xl-only{display:none!important}}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-f40f2208.9a9af640.css


BIN
dist/static/css/chunk-f40f2208.9a9af640.css.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-libs.40f5be4d.css


BIN
dist/static/css/chunk-libs.40f5be4d.css.gz


BIN
dist/static/dingtalk.open.2.10.3.js.gz


File diff suppressed because it is too large
+ 32 - 0
dist/static/js/0.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.7031d75f.js


BIN
dist/static/js/app.7031d75f.js.gz


File diff suppressed because it is too large
+ 10 - 0
dist/static/js/app.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-0b024dde.4846d03f.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-0bb2547c.6ff696ae.js


BIN
dist/static/js/chunk-0bb2547c.6ff696ae.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-121c28d0.fbb652b0.js


BIN
dist/static/js/chunk-121c28d0.fbb652b0.js.gz


+ 0 - 1
dist/static/js/chunk-15caf0ce.2c49ba5e.js

@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-15caf0ce"],{"1db4":function(t,s,i){"use strict";i.r(s);var c=[function(){var t=this.$createElement;t=this._self._c||t;return t("div",{staticClass:"pic-404"},[t("img",{staticClass:"pic-404__parent",attrs:{src:i("a36b"),alt:"404"}}),t("img",{staticClass:"pic-404__child left",attrs:{src:i("26fc"),alt:"404"}}),t("img",{staticClass:"pic-404__child mid",attrs:{src:i("26fc"),alt:"404"}}),t("img",{staticClass:"pic-404__child right",attrs:{src:i("26fc"),alt:"404"}})])}],a={name:"Page404",computed:{message:function(){return"访问的页面不存在..."}},methods:{goto:function(){window.vm.$router.push({path:"/welcome/dashboard"})}}},e=(i("e894"),i("2877"));e=Object(e.a)(a,(function(){var t=this,s=t.$createElement;s=t._self._c||s;return s("div",{staticClass:"wscn-http404-container"},[s("div",{staticClass:"wscn-http404"},[t._m(0),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__oops"},[t._v("哎呀!")]),s("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),s("div",{staticClass:"bullshit__info"},[t._v(" 请检查您输入的网址是否正确,或单击下面的按钮返回主页. ")]),s("el-button",{attrs:{type:"primary",round:""},on:{click:function(s){return t.goto()}}},[t._v("回到首页")])],1)])])}),c,!1,null,"82eac96e",null);s.default=e.exports},"26fc":function(t,s,i){t.exports=i.p+"static/img/404_cloud.0f4bc32b.png"},"44e6":function(t,s,i){},a36b:function(t,s,i){t.exports=i.p+"static/img/404.a57b6f31.png"},e894:function(t,s,i){"use strict";i("44e6")}}]);

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-1d0a69b6.a17d92c7.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-44401bcc.6ab00a64.js


+ 0 - 1
dist/static/js/chunk-4ff11544.0229aec7.js

@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4ff11544"],{"04c0":function(t,n,e){"use strict";e("efa6")},"7e10":function(t,n,e){"use strict";e.r(n);var a=[function(){var t=this.$createElement;t=this._self._c||t;return t("div",{staticClass:"dingLoading"},[t("img",{attrs:{src:e("f8b2"),alt:""}})])}],c={name:"loadingPage",data:function(){return{}},mounted:function(){}},i=(e("04c0"),e("2877"));i=Object(i.a)(c,(function(){var t=this;t.$createElement;return t._self._c,t._m(0)}),a,!1,null,"17af7bec",null);n.default=i.exports},efa6:function(t,n,e){},f8b2:function(t,n,e){t.exports=e.p+"static/img/loading.190c78aa.gif"}}]);

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-6e922e31.08ad82f4.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-a4a85b14.2c3db82a.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-b7f101b0.706ee17b.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-ee636058.6f58c036.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-elementUI.f0821104.js


BIN
dist/static/js/chunk-elementUI.f0821104.js.gz


File diff suppressed because it is too large
+ 20 - 0
dist/static/js/chunk-elementUI.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-f40f2208.c077f0bb.js


BIN
dist/static/js/chunk-f40f2208.c077f0bb.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-libs.69437a25.js


BIN
dist/static/js/chunk-libs.69437a25.js.gz


File diff suppressed because it is too large
+ 124 - 0
dist/static/js/chunk-libs.js


+ 223 - 0
dist/static/js/runtime.js

@@ -0,0 +1,223 @@
+/******/ (function(modules) { // webpackBootstrap
+/******/ 	// install a JSONP callback for chunk loading
+/******/ 	function webpackJsonpCallback(data) {
+/******/ 		var chunkIds = data[0];
+/******/ 		var moreModules = data[1];
+/******/ 		var executeModules = data[2];
+/******/
+/******/ 		// add "moreModules" to the modules object,
+/******/ 		// then flag all "chunkIds" as loaded and fire callback
+/******/ 		var moduleId, chunkId, i = 0, resolves = [];
+/******/ 		for(;i < chunkIds.length; i++) {
+/******/ 			chunkId = chunkIds[i];
+/******/ 			if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ 				resolves.push(installedChunks[chunkId][0]);
+/******/ 			}
+/******/ 			installedChunks[chunkId] = 0;
+/******/ 		}
+/******/ 		for(moduleId in moreModules) {
+/******/ 			if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
+/******/ 				modules[moduleId] = moreModules[moduleId];
+/******/ 			}
+/******/ 		}
+/******/ 		if(parentJsonpFunction) parentJsonpFunction(data);
+/******/
+/******/ 		while(resolves.length) {
+/******/ 			resolves.shift()();
+/******/ 		}
+/******/
+/******/ 		// add entry modules from loaded chunk to deferred list
+/******/ 		deferredModules.push.apply(deferredModules, executeModules || []);
+/******/
+/******/ 		// run deferred modules when all chunks ready
+/******/ 		return checkDeferredModules();
+/******/ 	};
+/******/ 	function checkDeferredModules() {
+/******/ 		var result;
+/******/ 		for(var i = 0; i < deferredModules.length; i++) {
+/******/ 			var deferredModule = deferredModules[i];
+/******/ 			var fulfilled = true;
+/******/ 			for(var j = 1; j < deferredModule.length; j++) {
+/******/ 				var depId = deferredModule[j];
+/******/ 				if(installedChunks[depId] !== 0) fulfilled = false;
+/******/ 			}
+/******/ 			if(fulfilled) {
+/******/ 				deferredModules.splice(i--, 1);
+/******/ 				result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
+/******/ 			}
+/******/ 		}
+/******/
+/******/ 		return result;
+/******/ 	}
+/******/
+/******/ 	// The module cache
+/******/ 	var installedModules = {};
+/******/
+/******/ 	// object to store loaded and loading chunks
+/******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ 	// Promise = chunk loading, 0 = chunk loaded
+/******/ 	var installedChunks = {
+/******/ 		"runtime": 0
+/******/ 	};
+/******/
+/******/ 	var deferredModules = [];
+/******/
+/******/ 	// script path function
+/******/ 	function jsonpScriptSrc(chunkId) {
+/******/ 		return __webpack_require__.p + "static/js/" + ({}[chunkId]||chunkId) + ".js"
+/******/ 	}
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/
+/******/ 		// Check if module is in cache
+/******/ 		if(installedModules[moduleId]) {
+/******/ 			return installedModules[moduleId].exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = installedModules[moduleId] = {
+/******/ 			i: moduleId,
+/******/ 			l: false,
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Flag the module as loaded
+/******/ 		module.l = true;
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/******/ 	// This file contains only the entry chunk.
+/******/ 	// The chunk loading function for additional chunks
+/******/ 	__webpack_require__.e = function requireEnsure(chunkId) {
+/******/ 		var promises = [];
+/******/
+/******/
+/******/ 		// JSONP chunk loading for javascript
+/******/
+/******/ 		var installedChunkData = installedChunks[chunkId];
+/******/ 		if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ 			// a Promise means "currently loading".
+/******/ 			if(installedChunkData) {
+/******/ 				promises.push(installedChunkData[2]);
+/******/ 			} else {
+/******/ 				// setup Promise in chunk cache
+/******/ 				var promise = new Promise(function(resolve, reject) {
+/******/ 					installedChunkData = installedChunks[chunkId] = [resolve, reject];
+/******/ 				});
+/******/ 				promises.push(installedChunkData[2] = promise);
+/******/
+/******/ 				// start chunk loading
+/******/ 				var script = document.createElement('script');
+/******/ 				var onScriptComplete;
+/******/
+/******/ 				script.charset = 'utf-8';
+/******/ 				script.timeout = 120;
+/******/ 				if (__webpack_require__.nc) {
+/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
+/******/ 				}
+/******/ 				script.src = jsonpScriptSrc(chunkId);
+/******/
+/******/ 				// create error before stack unwound to get useful stacktrace later
+/******/ 				var error = new Error();
+/******/ 				onScriptComplete = function (event) {
+/******/ 					// avoid mem leaks in IE.
+/******/ 					script.onerror = script.onload = null;
+/******/ 					clearTimeout(timeout);
+/******/ 					var chunk = installedChunks[chunkId];
+/******/ 					if(chunk !== 0) {
+/******/ 						if(chunk) {
+/******/ 							var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ 							var realSrc = event && event.target && event.target.src;
+/******/ 							error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ 							error.name = 'ChunkLoadError';
+/******/ 							error.type = errorType;
+/******/ 							error.request = realSrc;
+/******/ 							chunk[1](error);
+/******/ 						}
+/******/ 						installedChunks[chunkId] = undefined;
+/******/ 					}
+/******/ 				};
+/******/ 				var timeout = setTimeout(function(){
+/******/ 					onScriptComplete({ type: 'timeout', target: script });
+/******/ 				}, 120000);
+/******/ 				script.onerror = script.onload = onScriptComplete;
+/******/ 				document.head.appendChild(script);
+/******/ 			}
+/******/ 		}
+/******/ 		return Promise.all(promises);
+/******/ 	};
+/******/
+/******/ 	// expose the modules object (__webpack_modules__)
+/******/ 	__webpack_require__.m = modules;
+/******/
+/******/ 	// expose the module cache
+/******/ 	__webpack_require__.c = installedModules;
+/******/
+/******/ 	// define getter function for harmony exports
+/******/ 	__webpack_require__.d = function(exports, name, getter) {
+/******/ 		if(!__webpack_require__.o(exports, name)) {
+/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
+/******/ 		}
+/******/ 	};
+/******/
+/******/ 	// define __esModule on exports
+/******/ 	__webpack_require__.r = function(exports) {
+/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 		}
+/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 	};
+/******/
+/******/ 	// create a fake namespace object
+/******/ 	// mode & 1: value is a module id, require it
+/******/ 	// mode & 2: merge all properties of value into the ns
+/******/ 	// mode & 4: return value when already ns object
+/******/ 	// mode & 8|1: behave like require
+/******/ 	__webpack_require__.t = function(value, mode) {
+/******/ 		if(mode & 1) value = __webpack_require__(value);
+/******/ 		if(mode & 8) return value;
+/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
+/******/ 		var ns = Object.create(null);
+/******/ 		__webpack_require__.r(ns);
+/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
+/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
+/******/ 		return ns;
+/******/ 	};
+/******/
+/******/ 	// getDefaultExport function for compatibility with non-harmony modules
+/******/ 	__webpack_require__.n = function(module) {
+/******/ 		var getter = module && module.__esModule ?
+/******/ 			function getDefault() { return module['default']; } :
+/******/ 			function getModuleExports() { return module; };
+/******/ 		__webpack_require__.d(getter, 'a', getter);
+/******/ 		return getter;
+/******/ 	};
+/******/
+/******/ 	// Object.prototype.hasOwnProperty.call
+/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
+/******/
+/******/ 	// __webpack_public_path__
+/******/ 	__webpack_require__.p = "/";
+/******/
+/******/ 	// on error function for async loading
+/******/ 	__webpack_require__.oe = function(err) { console.error(err); throw err; };
+/******/
+/******/ 	var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
+/******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
+/******/ 	jsonpArray.push = webpackJsonpCallback;
+/******/ 	jsonpArray = jsonpArray.slice();
+/******/ 	for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
+/******/ 	var parentJsonpFunction = oldJsonpFunction;
+/******/
+/******/
+/******/ 	// run deferred modules from other chunks
+/******/ 	checkDeferredModules();
+/******/ })
+/************************************************************************/
+/******/ ([]);

BIN
dist/static/vue-router.min.js.gz


BIN
dist/static/vue.min.js.gz


+ 6 - 0
src/apis/components/search-stock-allot-good-modal.js

@@ -0,0 +1,6 @@
+import http from "@/apis/axios";
+const api = "admin/";
+export default {
+  // 列表
+  list: (data, params) => http(api + "allotgood", data, "post", params),
+};

+ 2 - 0
src/apis/service/stock/allot/detail.js

@@ -20,4 +20,6 @@ export default {
   allotgetin: (data, params) => http(api + "allotgetin", data, "post", params),
   // 入库方验货审核
   allotvesio: (data, params) => http(api + "allotvesio", data, "post", params),
+  // 调拨批次获取
+  allotgood: (data, params) => http(api + "allotgood", data, "post", params),
 };

+ 101 - 0
src/components/search-stock-allot-good-modal/columns.js

@@ -0,0 +1,101 @@
+export default [
+  { type: "selection", fixed: "left", _noset_: true, width: "45", align: "center" },
+  {
+
+    
+    prop: "bnCode",
+    label: "BN批次号",
+    width: "158",
+  },
+  {
+    prop: "spuCode",
+    label: "商品编码",
+    width: "158",
+  },
+  {
+    prop: "good_name",
+    label: "商品名称",
+    _slot_: "good_name",
+    "min-width": "200",
+  },
+  {
+    prop: "class_cat",
+    label: "分类",
+    "width": "170",
+  },
+  {
+    prop: "brand_name",
+    label: "品牌",
+    "width": "100",
+  },
+  {
+    prop: "unit",
+    label: "单位",
+    width: "50",
+  },
+  {
+    prop: "usable_stock",
+    label: "可用库存",
+    width: "110",
+  },
+  {
+    prop: "balance_num",
+    label: "批次库存数",
+    width: "110",
+  },
+ 
+  // {
+  //   prop: "gys_code",
+  //   label: "供应商编码",
+  //   width: "142",
+  // },
+
+  // {
+  //   prop: "supplier_name",
+  //   label: "供货商",
+  //   "min-width": "160",
+  // },
+  // {
+  //   prop: "cg_saler",
+  //   label: "供应商负责人",
+  //  width: "95",
+  // },
+  // {
+  //   prop: "usable_stock",
+  //   label: "商品库存",
+  //   width: "70",
+  // },
+
+  // {
+  //   prop: "bstatus",
+  //   label: "当前状态",
+  //   _slot_: "status",
+  //   width: "80px",
+  // },
+
+
+  // {
+  //   prop: "classArr",
+  //   label: "商品类别",
+  // },
+
+
+  // {
+  //   prop: "good_type",
+  //   label: "商品类型",
+  // },
+  // {后端有接口但是没有值。
+  //   prop: "specs",
+  //   label: "商品规格",
+  // },
+
+  // {
+  //   prop: "",
+  //   label: "操作",
+  //   width: "80px",
+  //   fixed: "right",
+  //   _noset_: true,
+  //   _slot_: "operation",
+  // },
+
+]

+ 218 - 0
src/components/search-stock-allot-good-modal/index.vue

@@ -0,0 +1,218 @@
+<template>
+  <el-dialog
+    :title="'仓库商品选择'"
+    :center="true"
+    align="left"
+    top="8vh"
+    width="1040px"
+    @close="showModelThis = false"
+    :close-on-click-modal="false"
+    :visible.sync="showModelThis"
+    v-loading="loading"
+    element-loading-text="拼命加载中"
+    element-loading-spinner="el-icon-loading"
+    element-loading-background="rgba(0, 0, 0, 0.8)"
+    append-to-body
+  >
+    <el-card style="margin-top: -20px" class="modal-form-style">
+      <el-table
+        :data="tableData"
+        border
+        :size="size"
+        v-loading="loading"
+        style="width: 100%"
+        @selection-change="handleSelectionChange"
+      >
+        <template v-for="(column, index) in columns">
+          <el-table-column
+            v-if="column._slot_ && column._slot_ === 'good_name'"
+            show-overflow-tooltip
+            :key="column + index"
+          >
+            <template slot-scope="scope">
+              <span>{{ scope.row.good_name }}</span>
+              <span v-for="(si, sii) in scope.row.specinfo" :key="si.spec_value_id + sii"
+                >{{ sii === 0 ? "_" : "-" }}{{ si.spec_name }}[{{ si.spec_value }}]</span
+              >
+            </template>
+          </el-table-column>
+          <el-table-column
+            v-else
+            :key="column + index"
+            show-overflow-tooltip
+            v-bind="column"
+          />
+        </template>
+      </el-table>
+      <div
+        v-if="pageInfo !== false && tableData && tableData.length > 0"
+        class="Pagination clear"
+        style="text-align: right; padding: 16px 0 0 0"
+      >
+        <div style="wiith: 90%" class="fl">
+          <el-pagination
+            :current-page="pageInfo.curr"
+            :page-size="pageInfo.size"
+            :size="searchSize"
+            layout="total,  prev, pager, next, jumper"
+            :total="pageInfo.total"
+            @size-change="
+              (pageInfo.curr = 1),
+                (parmValue.page = 1),
+                (pageInfo.size = $event),
+                (parmValue.size = $event),
+                searchList()
+            "
+            @current-change="
+              (pageInfo.curr = $event), (parmValue.page = $event), searchList()
+            "
+          />
+        </div>
+        <div class="fr">
+          <el-button type="primary" :size="'mini'" @click="resultList()">保 存</el-button>
+        </div>
+      </div>
+    </el-card>
+  </el-dialog>
+</template>
+
+<script>
+import asyncRequest from "@/apis/components/search-stock-allot-good-modal";
+import resToken from "@/mixins/resToken";
+import mixinPage from "@/mixins/elPaginationHandle";
+import { mapGetters } from "vuex";
+import columns from "./columns";
+export default {
+  name: "searchStockGoodModal",
+
+  mixins: [resToken, mixinPage],
+  computed: {
+    ...mapGetters(["tablebtnSize", "searchSize", "size"]),
+  },
+  props: ["showModel", "once", "code", "good_code", "cat_id"],
+
+  /**
+   * 属性集合
+   * @param {Boolean}       showModel             : 是否弹出弹窗        必填
+   * @param {Boolean}       once                  : 是否只选一条        非必填
+   * @param {Boolean}       code                  : 仓库CODE           非必填
+   */
+  /**
+   * 事件集合
+   * @searchChange             : 选中值变化调用   抛出选中数据
+   */
+  data() {
+    return {
+      options: [],
+      multipleSelection: [],
+      selectLoading: false,
+      loading: true,
+      showModelThis: false,
+      parmValue: {
+        wsm_code: "", //仓库code
+        cat_id: "",
+        page: 1, // 页码
+        size: 10, // 每页显示条数
+      },
+      tableData: [],
+      passwordModel: false,
+      passwordModelId: 0,
+      isPasswordDetail: false,
+      // 表格 - 数据
+      tableData: [],
+      // 表格 - 参数
+      table: {
+        stripe: true,
+        border: true,
+        // _defaultHeader_: ["setcol"],
+      },
+      // 表格 - 分页
+      pageInfo: {
+        size: 10,
+        curr: 1,
+        total: 0,
+      },
+      // 表格 - 列参数
+      columns: columns,
+    };
+  },
+  watch: {
+    showModel: function (val) {
+      this.showModelThis = val;
+      if (val) {
+        this.supplierCode = [];
+        this.searchList();
+      }
+    },
+    showModelThis(val) {
+      if (!val) {
+        this.$emit("cancel");
+      }
+    },
+  },
+
+  methods: {
+    restSearch() {
+      this.parmValue = {
+        wsm_code: "", //仓库code
+        cat_id: "",
+        page: 1, // 页码
+        size: 10, // 每页显示条数
+      };
+      // 表格 - 分页
+      this.pageInfo = {
+        size: 10,
+        curr: 1,
+        total: 0,
+      };
+      this.searchList();
+    },
+    async searchList() {
+      this.loading = true;
+      this.parmValue.wsm_code = this.code || "";
+      this.parmValue.type_code = this.good_code || "";
+      this.parmValue.stock_max = "1";
+      this.parmValue.cat_id = this.cat_id;
+
+      const res = await asyncRequest.list(this.parmValue);
+      if (res && res.code === 0 && res.data) {
+        this.tableData = res.data.list;
+        this.tableData.forEach((v) => {
+          v.class_cat = "";
+          if (v.can && v.can.length > 0) {
+            v.can.forEach((x, i) => {
+              v.class_cat += i === 0 ? x.name : "_" + x.name;
+            });
+          }
+        });
+
+        this.pageInfo.total = Number(res.data.count);
+      } else if (res && res.code >= 100 && res.code <= 104) {
+        await this.logout();
+      } else {
+        this.tableData = [];
+        this.pageInfo.total = 0;
+      }
+      this.loading = false;
+    },
+    async handleSelectionChange(selection) {
+      this.multipleSelection = selection;
+    },
+    async resultList() {
+      if (this.multipleSelection && this.multipleSelection.length > 1 && this.once) {
+        this.$message.warning("只能选择一条商品信息!");
+        return;
+      }
+      let list = JSON.parse(JSON.stringify(this.multipleSelection));
+      list.map((v) => {
+        delete v["id"];
+        return v;
+      });
+      this.showModelThis = false;
+      this.$emit("searchChange", list);
+    },
+  },
+};
+</script>
+
+<style></style>

+ 0 - 0
src/components/search-stock-allot-good-modal/仓库Bn商品批次列表


+ 27 - 67
src/views/stock/allot/components/addForm.vue

@@ -18,10 +18,7 @@
                 :value="ruleForm.out_companyNo"
                 :size="'mini'"
                 :disabled="
-                  !(
-                    id === 'add' ||
-                    (status === '0' && powers.some((i) => i == '005'))
-                  )
+                  !(id === 'add' || (status === '0' && powers.some((i) => i == '005')))
                 "
                 :is-detail="id !== 'add'"
                 :placeholder="'业务公司'"
@@ -35,10 +32,7 @@
                 :size="'mini'"
                 :is-detail="id !== 'add'"
                 :disabled="
-                  !(
-                    id === 'add' ||
-                    (status === '0' && powers.some((i) => i == '005'))
-                  )
+                  !(id === 'add' || (status === '0' && powers.some((i) => i == '005')))
                 "
                 :names="supplier_name"
                 @searchChange="selectSupplierOut"
@@ -49,10 +43,7 @@
                 :value="ruleForm.stock_code"
                 :isDetail="id !== 'add'"
                 :disabled="
-                  !(
-                    id === 'add' ||
-                    (status === '0' && powers.some((i) => i == '005'))
-                  )
+                  !(id === 'add' || (status === '0' && powers.some((i) => i == '005')))
                 "
                 :size="'mini'"
                 :placeholder="'请选择仓库'"
@@ -71,10 +62,7 @@
                 :names="''"
                 :size="'mini'"
                 :disabled="
-                  !(
-                    id === 'add' ||
-                    (status === '0' && powers.some((i) => i == '005'))
-                  )
+                  !(id === 'add' || (status === '0' && powers.some((i) => i == '005')))
                 "
                 :is-detail="id !== 'add'"
                 :placeholder="'业务公司'"
@@ -88,10 +76,7 @@
                 :size="'mini'"
                 :is-detail="id !== 'add'"
                 :disabled="
-                  !(
-                    id === 'add' ||
-                    (status === '0' && powers.some((i) => i == '005'))
-                  )
+                  !(id === 'add' || (status === '0' && powers.some((i) => i == '005')))
                 "
                 :names="supplier_in_name"
                 @searchChange="selectSupplierIn"
@@ -103,10 +88,7 @@
                 :isDetail="id !== 'add'"
                 :size="'mini'"
                 :disabled="
-                  !(
-                    id === 'add' ||
-                    (status === '0' && powers.some((i) => i == '005'))
-                  )
+                  !(id === 'add' || (status === '0' && powers.some((i) => i == '005')))
                 "
                 :placeholder="'请选择仓库'"
                 :isRelation="true"
@@ -135,20 +117,13 @@
         :size="'mini'"
         class="demo-tableForm product_go"
       >
-        <el-table
-          :data="tableForm.product_go"
-          border
-          :size="'mini'"
-          row-key="key"
-        >
+        <el-table :data="tableForm.product_go" border :size="'mini'" row-key="key">
           <template v-for="(item, index) in columns">
             <el-table-column
               :prop="item.prop"
               show-overflow-tooltip
               :label="item.label"
-              v-if="
-                item.type === 'text' && item.show && item.prop !== 'error_code'
-              "
+              v-if="item.type === 'text' && item.show && item.prop !== 'error_code'"
               :width="item.width"
               :min-width="item.minWidth"
               :key="item.prop + index"
@@ -156,9 +131,7 @@
             <el-table-column
               :prop="item.prop"
               :label="item.label"
-              v-else-if="
-                item.type === 'text' && item.show && item.prop === 'error_code'
-              "
+              v-else-if="item.type === 'text' && item.show && item.prop === 'error_code'"
               :width="item.width"
               :min-width="item.minWidth"
               :key="item.prop + index"
@@ -206,9 +179,7 @@
                     </el-option>
                   </el-select>
                   <span v-if="!scope.row.edit" class="spscope">{{
-                    item.type === "select"
-                      ? scope.row.error_msg
-                      : scope.row[item.prop]
+                    item.type === "select" ? scope.row.error_msg : scope.row[item.prop]
                   }}</span>
                 </el-form-item>
               </template>
@@ -219,10 +190,7 @@
             fixed="right"
             label="操作"
             width="80"
-            v-if="
-              id === 'add' ||
-              (status === '0' && powers.some((i) => i == '005'))
-            "
+            v-if="id === 'add' || (status === '0' && powers.some((i) => i == '005'))"
           >
             <template slot="header" slot-scope="scope">
               <span>操作</span>
@@ -247,10 +215,7 @@
                 v-if="!scope.row.edit"
                 placement="top"
               >
-                <i
-                  class="el-icon-edit tb-icon"
-                  @click="editRow(scope.$index)"
-                ></i>
+                <i class="el-icon-edit tb-icon" @click="editRow(scope.$index)"></i>
               </el-tooltip>
 
               <el-tooltip
@@ -281,10 +246,7 @@
         type="primary"
         :size="'mini'"
         @click="submitForm"
-        v-if="
-          id === 'add' ||
-          (status === '0' && powers.some((i) => i == '005'))
-        "
+        v-if="id === 'add' || (status === '0' && powers.some((i) => i == '005'))"
         >保 存
       </el-button>
     </el-col>
@@ -298,9 +260,9 @@
     </el-col>
   </el-row>
 </template>
-   <script>
+<script>
 import asyncRequest from "@/apis/service/stock/allot/detail";
-import searchStockGoodModal from "@/components/search-stock-good-modal";
+import searchStockGoodModal from "@/components/search-stock-allot-good-modal";
 import resToken from "@/mixins/resToken";
 import { isnumber } from "@/utils/validate";
 import config from "./columns"; //表格列参数
@@ -312,9 +274,8 @@ export default {
   computed: {
     powers() {
       const tran =
-        this.$store.getters.btnList.find(
-          (item) => item.menu_route == "allotDetail"
-        ) || {};
+        this.$store.getters.btnList.find((item) => item.menu_route == "allotDetail") ||
+        {};
       const { action } = tran ?? {};
       return action ?? [];
     },
@@ -593,9 +554,7 @@ export default {
           }
 
           good = this.getGoodList();
-          const { stock_code, stock_in_code } = JSON.parse(
-            JSON.stringify(this.ruleForm)
-          );
+          const { stock_code, stock_in_code } = JSON.parse(JSON.stringify(this.ruleForm));
 
           const model = {
             id: this.id,
@@ -636,10 +595,12 @@ export default {
         resList = [];
       oldList.forEach((v1) => {
         let goodModel = {
+          bnCode: v1.bnCode || "",
           spuCode: v1.spuCode || "",
           id: v1.id || "",
           // good_code: v1.type_code,
-          allot_num: v1.allot_num,
+          allot_num: v1.allot_num || "0",
+          balance_num: v1.balance_num || "0",
           is_del: "0",
         };
         resList.push(goodModel);
@@ -664,7 +625,8 @@ export default {
     },
     //保存某一行
     checkRow(rowIndex) {
-      const { usable_num, allot_num } = this.tableForm.product_go[rowIndex];
+      const { balance_num, allot_num } = this.tableForm.product_go[rowIndex];
+      console.log(balance_num, allot_num);
       if (!isnumber(allot_num)) {
         this.$message.warning("请输入数字!");
         return;
@@ -673,8 +635,9 @@ export default {
         this.$message.warning("调拨数量不能为0!");
         return;
       }
-      if (parseInt(allot_num) > parseInt(usable_num)) {
-        this.$message.warning("调拨数量不大于可用库存数!");
+      const num = isNaN(parseInt(balance_num)) ? 0 : parseInt(balance_num);
+      if (parseInt(allot_num) > num) {
+        this.$message.warning("调拨数量不大于批量库存数!");
         return;
       }
       this.tableForm.product_go[rowIndex].edit = false;
@@ -700,7 +663,7 @@ export default {
         let oldindex = oldList.findIndex((v2) => v1.spuCode === v2.spuCode);
         if (oldindex === -1) {
           addList[index].usable_num = addList[index].usable_stock;
-          addList[index].allot_num = addList[index].usable_stock;
+          addList[index].allot_num = addList[index].balance_num;
           addList[index].edit = false;
           newList.push(addList[index]);
         }
@@ -766,7 +729,6 @@ export default {
 };
 </script>
 
-
 <style lang="scss" scoped>
 .allot,
 .allotDetail {
@@ -803,5 +765,3 @@ export default {
   }
 }
 </style>
-
-   

+ 15 - 0
src/views/stock/allot/components/columns.js

@@ -53,6 +53,14 @@ export default {
   },
   columns: [
     // 表格 - 列参数
+    
+    {
+      prop: "bnCode",
+      label: "批次号",
+      width: "160",
+      show: true,
+      type:"text"
+    },
     {
       prop: "spuCode",
       label: "商品编号",
@@ -74,6 +82,13 @@ export default {
       show: true,
       type:"text"
     },
+    {
+      prop: "balance_num",
+      label: "批次库存数",
+      width: "100",
+      show: true,
+      type:"text"
+    },
     {
       prop: "allot_num",
       label: "调拨总数量",

Some files were not shown because too many files changed in this diff