Sfoglia il codice sorgente

11月14日 库存扣减更新

XMLWAN 2 anni fa
parent
commit
8ccfb27357

+ 1 - 1
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue Vedi File

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

+ 9 - 12
src/xt_pages/stock/stockQuery.vue Vedi File

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