ソースを参照

11月14日 库存扣减更新

XMLWAN 2 年 前
コミット
8ccfb27357
共有2 個のファイルを変更した10 個の追加13 個の削除を含む
  1. 1 1
      src/xt_pages/qcd/indicatorControlAnalysis/weight.vue
  2. 9 12
      src/xt_pages/stock/stockQuery.vue

+ 1 - 1
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue ファイルの表示

168
                 @size-change="handleSizeChange"
168
                 @size-change="handleSizeChange"
169
                 @current-change="handleCurrentChange"
169
                 @current-change="handleCurrentChange"
170
                 :current-page="query.page"
170
                 :current-page="query.page"
171
-                :page-sizes="[10, 20, 50, 100]"
171
+                :page-sizes="[10, 20, 50, 100,500,1000,2000,5000]"
172
                 :page-size="10"
172
                 :page-size="10"
173
                 background
173
                 background
174
                 style="margin-top:20px;"
174
                 style="margin-top:20px;"

+ 9 - 12
src/xt_pages/stock/stockQuery.vue ファイルの表示

82
 
82
 
83
       <el-table
83
       <el-table
84
         :row-style="{ color: '#303133' }"
84
         :row-style="{ color: '#303133' }"
85
-        :cell-class-name="cellStyle"
86
         :header-cell-style="{
85
         :header-cell-style="{
87
           backgroundColor: 'rgb(245, 247, 250)',
86
           backgroundColor: 'rgb(245, 247, 250)',
88
           color: '#606266',
87
           color: '#606266',
134
         </el-table-column>
133
         </el-table-column>
135
         <el-table-column label="入库数量" align="center">
134
         <el-table-column label="入库数量" align="center">
136
           <template slot-scope="scope">
135
           <template slot-scope="scope">
137
-            <tr style="background: none">
138
-              <td
139
-                style="border-right: none; border-inline-end: none"
136
+              <span
140
                 v-if="getWareInfo(scope.row.xt_warehouse_info) > 0"
137
                 v-if="getWareInfo(scope.row.xt_warehouse_info) > 0"
141
               >
138
               >
142
                 {{ getWareInfo(scope.row.xt_warehouse_info)
139
                 {{ getWareInfo(scope.row.xt_warehouse_info)
143
                 }}{{ scope.row.packing_unit }}
140
                 }}{{ scope.row.packing_unit }}
144
-              </td>
145
-            </tr>
141
+              </span>
142
+           
146
             <!-- <span v-if="getWareInfo(scope.row.xt_warehouse_info)>0">{{getWareInfo(scope.row.xt_warehouse_info)}}{{scope.row.packing_unit}}</span> -->
143
             <!-- <span v-if="getWareInfo(scope.row.xt_warehouse_info)>0">{{getWareInfo(scope.row.xt_warehouse_info)}}{{scope.row.packing_unit}}</span> -->
147
           </template>
144
           </template>
148
         </el-table-column>
145
         </el-table-column>
186
 
183
 
187
         <el-table-column label="剩余库存量" align="center" v-if="showThree">
184
         <el-table-column label="剩余库存量" align="center" v-if="showThree">
188
           <template slot-scope="scope">
185
           <template slot-scope="scope">
189
-            <tr style="background: none">
190
-              <td
186
+           
187
+              <span
191
                 v-if="
188
                 v-if="
192
                   org_id == 9671 ||
189
                   org_id == 9671 ||
193
                   org_id == 10138 ||
190
                   org_id == 10138 ||
211
                 "
208
                 "
212
               >
209
               >
213
                 {{ getOverFlushInfo(scope.row.xt_warehouse_info) }}
210
                 {{ getOverFlushInfo(scope.row.xt_warehouse_info) }}
214
-              </td>
215
-              <td v-else>
211
+              </span>
212
+              <span v-else>
216
                 {{
213
                 {{
217
                   getWareInfo(scope.row.xt_warehouse_info) -
214
                   getWareInfo(scope.row.xt_warehouse_info) -
218
                   getAutoCount(scope.row.id) -
215
                   getAutoCount(scope.row.id) -
219
                   getOutCount(scope.row.id) +
216
                   getOutCount(scope.row.id) +
220
                   getCancelCount(scope.row.id)
217
                   getCancelCount(scope.row.id)
221
                 }}
218
                 }}
222
-              </td>
223
-            </tr>
219
+              </span>
220
+           
224
             <!-- <span
221
             <!-- <span
225
               v-if="
222
               v-if="
226
                 org_id == 9671 ||
223
                 org_id == 9671 ||