snow 2 years ago
parent
commit
3da3130113

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


+ 14 - 13
dist/static/js/1.js

@@ -1,5 +1,17 @@
 (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],{
 
+/***/ "./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js":
+/*!*****************************************************************************!*\
+  !*** ./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js ***!
+  \*****************************************************************************/
+/*! exports provided: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _objectDestructuringEmpty; });\nfunction _objectDestructuringEmpty(obj) {\n  if (obj == null) throw new TypeError(\"Cannot destructure \" + obj);\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js?");
+
+/***/ }),
+
 /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
 /*!****************************************************************************!*\
   !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
@@ -8,7 +20,7 @@
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 "use strict";
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _objectWithoutProperties; });\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"./node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ \"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js\");\n\n\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n  var target = Object(_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(source, excluded);\n  var key, i;\n\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n\n  return target;\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _objectWithoutProperties; });\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"./node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ \"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js\");\n\n\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n  var target = Object(_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(source, excluded);\n  var key, i;\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n  return target;\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js?");
 
 /***/ }),
 
@@ -20,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 "use strict";
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _objectWithoutPropertiesLoose; });\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ \"./node_modules/core-js/modules/es.object.keys.js\");\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _objectWithoutPropertiesLoose; });\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ \"./node_modules/core-js/modules/es.object.keys.js\");\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n  return target;\n}\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js?");
 
 /***/ }),
 
@@ -83,17 +95,6 @@ eval("\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-ob
 
 /***/ }),
 
-/***/ "./node_modules/core-js/internals/array-reduce.js":
-/*!********************************************************!*\
-  !*** ./node_modules/core-js/internals/array-reduce.js ***!
-  \********************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-eval("var aFunction = __webpack_require__(/*! ../internals/a-function */ \"./node_modules/core-js/internals/a-function.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ \"./node_modules/core-js/internals/indexed-object.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n  return function (that, callbackfn, argumentsLength, memo) {\n    aFunction(callbackfn);\n    var O = toObject(that);\n    var self = IndexedObject(O);\n    var length = toLength(O.length);\n    var index = IS_RIGHT ? length - 1 : 0;\n    var i = IS_RIGHT ? -1 : 1;\n    if (argumentsLength < 2) while (true) {\n      if (index in self) {\n        memo = self[index];\n        index += i;\n        break;\n      }\n      index += i;\n      if (IS_RIGHT ? index < 0 : length <= index) {\n        throw TypeError('Reduce of empty array with no initial value');\n      }\n    }\n    for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n      memo = callbackfn(memo, self[index], index, O);\n    }\n    return memo;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.reduce` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n  left: createMethod(false),\n  // `Array.prototype.reduceRight` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n  right: createMethod(true)\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/internals/array-reduce.js?");
-
-/***/ }),
-
 /***/ "./node_modules/core-js/internals/ieee754.js":
 /*!***************************************************!*\
   !*** ./node_modules/core-js/internals/ieee754.js ***!

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


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


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


+ 6 - 8
src/views/sellOut/beforeReturnGoodWorkOrder/index.vue

@@ -29,11 +29,10 @@
             <el-row style="padding: 0 0 0 80px">
               <el-col :span="24">
                 <!-- 时间区间 -->
-
               <el-col :span="4" style="margin-right:10px">
                 <el-input v-model="parmValue.saleReturnChildCode"  placeholder="售前退货工单编号" size="mini"  clearable @change="pageInfo.curr=1;parmValue.page=1;searchList()" />
               </el-col>
-              
+
               <el-col :span="4">
                 <el-select placeholder="退货工单状态" size="mini" clearable v-model="parmValue.status" @change="pageInfo.curr=1;parmValue.page=1;searchList()">
                   <el-option label="待收货" value="1" />
@@ -63,7 +62,7 @@
                   />
                 </el-select>
               </el-col>
-              
+
                <el-col
                   :span="4"
                   class="fr"
@@ -136,7 +135,7 @@
         <template #type="{scope}">
           <el-tag size="mini">{{ scope.row.type === '1' ? '未发货退货' : '售后退货' }}</el-tag>
         </template>
-        
+
         <template #order_type="{ scope }">
           <el-tag
             :size="tablebtnSize"
@@ -301,7 +300,7 @@ export default {
       if (!this.loading) {
         this.loading = true;
         let httpType = `aplication/zip`;
-  
+
         let model = JSON.parse(JSON.stringify(this.parmValue));
         delete model['s_input']
 
@@ -372,7 +371,7 @@ export default {
         model.preModel = JSON.stringify(routerModel);
 
         this.routeGoto(toRouter, model);
-      } 
+      }
     },
     restSearch() {
       this.s_input = ""; //清除输入框内容
@@ -390,7 +389,7 @@ export default {
         page: 1, // 页码
         size: 15, // 每页显示条数
       };
-      
+
       // 表格 - 分页
       this.pageInfo = {
         size: 15,
@@ -507,4 +506,3 @@ export default {
 .sellReturn {
 }
 </style>
-   

+ 11 - 10
src/views/sellOut/sellAfterApply/components/set-work-order.vue

@@ -2,15 +2,16 @@
   <div class="work-order__wrapper">
     <el-form ref="formRef" :model="list">
       <el-table size="mini" border :data="list">
-        <!-- <el-table-column prop="orderCode" label="销售订单" width="160px" show-overflow-tooltip />
-        <el-table-column prop="outCode" label="发货单" width="160px" show-overflow-toolti /> -->
-        <el-table-column prop="outChildCode" label="发货工单编号" width="160px" show-overflow-tooltip />
-        <el-table-column prop="outChildCode" label="提退货时的发货单状态" width="160px" show-overflow-tooltip>
-          <template slot-scope="scope">
-            <el-tag size="mini">
-              {{ (statusOptions.find(({value}) => value === String(scope.row.status)) || {}).label || '--' }}
-            </el-tag>
-          </template>
+        <el-table-column label="发货工单" align="center">
+          <el-table-column prop="outChildCode" label="编号" width="160px" show-overflow-tooltip />
+          <el-table-column label="计划发货数量" width="100px" prop="num" />
+          <el-table-column prop="outChildCode" label="提退货时的发货单状态" width="145px" show-overflow-tooltip>
+            <template slot-scope="scope">
+              <el-tag size="mini">
+                {{ (statusOptions.find(({value}) => value === String(scope.row.status)) || {}).label || '--' }}
+              </el-tag>
+            </template>
+          </el-table-column>
         </el-table-column>
         <el-table-column label="发货仓库名称" prop="wsm_name" min-width="180px" show-overflow-tooltip>
           <template slot-scope="scope">
@@ -38,7 +39,7 @@
                 :values="list[scope.$index].return_num"
                 :placeholder="'退货数量'"
                 :disabled="false"
-                :max="100000000000"
+                :max="list[scope.$index].num"
                 :position="'right'"
                 :precision="0"
                 :size="'mini'"

+ 6 - 8
src/views/supplierSellOut/supplierBeforeReturnGoodWorkOrder/components/wait-stockman.vue

@@ -66,6 +66,10 @@ export default {
   mixins: [resToken],
   props: ["id", "sitem"],
   computed: {
+    disabledLossField(){
+      const {good_receive_type} = this.ruleForm;
+      return ['0','1','2'].includes(good_receive_type)
+    },
     powers() {
       const tran =
         this.$store.getters.btnList.find((i) => i.menu_route == "allotDetail") || {};
@@ -91,7 +95,7 @@ export default {
         { value:'0', label:'库房未发货无需追回'},
         { value:'1', label:'库房已发货已全部追回'},
         { value:'2', label:'库房已发货已无法追回'},
-        { value:'3', label:'库房已发货已部分追回'},
+        { value:'3', label:'库房已发货已部分追回'}
       ],
       rules: {
         good_receive_type: [
@@ -130,12 +134,6 @@ export default {
        immediate:true
       }
   },
-  computed:{
-    disabledLossField(){
-      const {good_receive_type} = this.ruleForm;
-      return ['0','1','2'].includes(good_receive_type)
-    }
-  },
   methods: {
     async number_change(e, key) {
       this.ruleForm[key] = e + "" || "0";
@@ -153,7 +151,7 @@ export default {
           const model = JSON.parse(JSON.stringify(this.ruleForm));
           let res = await asyncRequest.reorderChildReceive({id:this.sitem.id,...model});
           this.loading = false;
-          
+
           if (res && res.code === 0) {
             this.showModelThis = false;
             this.$emit("reload");

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