Browse Source

bug修复,智能补货 id

chenrui 3 năm trước cách đây
mục cha
commit
dfa46d033d

+ 2 - 0
src/views/inventoryManagement/intelligentReplenishment/edit.vue

@@ -144,6 +144,7 @@ export default {
       const _this = this
       if (this.current == 0) { //  产品设置
         const params = {
+          id: this.detailData.id,
           stockPredictSn: this.$route.params.sn,
           stockPredictRange: this.form.stockPredictRange
         }
@@ -152,6 +153,7 @@ export default {
         this.$refs.ruleForm.validate(valid => {
           if (valid) {
             const params = {
+              id: this.detailData.id,
               stockPredictSn: _this.$route.params.sn,
               saleEnsureNum: _this.form.saleEnsureNum,
               trendSn: _this.form.trendSn,

+ 1 - 0
src/views/inventoryManagement/intelligentReplenishment/productRange.vue

@@ -22,6 +22,7 @@
         :columns="columns"
         :data="loadData"
         :showPagination="false"
+        :scroll="{ y: 400 }"
         bordered>
         <!-- 操作 -->
         <template slot="action" slot-scope="text, record">