|
@@ -148,24 +148,34 @@
|
148
|
148
|
</el-table-column>
|
149
|
149
|
<el-table-column label="出库数量" align="center">
|
150
|
150
|
<template slot-scope="scope">
|
151
|
|
-
|
|
151
|
+ <span v-if="org_id == 9675 || org_id == 3907 || org_id == 9583">{{ getAutoCount(scope.row.id) + getOutCount(scope.row.id) }}</span>
|
|
152
|
+ <span v-if="org_id!=9675 && org_id!=3907 && org_id!=9583">
|
152
|
153
|
<tr style="background: none" v-for="(item,index) in scope.row.warehouse_info" :key="index">
|
153
|
154
|
<td style="border-right: none; border-inline-end: none;text-align: center">
|
154
|
155
|
{{getWareInfoCount(scope.row.xt_warehouse_info,item.storehouse_id) - getWareInfoCountOne(scope.row.xt_warehouse_info,item.storehouse_id)}}
|
155
|
156
|
</td>
|
156
|
157
|
</tr>
|
157
|
|
-
|
158
|
|
-
|
|
158
|
+ </span>
|
159
|
159
|
</template>
|
160
|
160
|
</el-table-column>
|
161
|
161
|
|
162
|
162
|
<el-table-column label="剩余库存量" align="center">
|
163
|
163
|
<template slot-scope="scope">
|
|
164
|
+ <span v-if="org_id == 9675 || org_id == 3907 || org_id == 9583">
|
|
165
|
+ {{
|
|
166
|
+ getWareInfo(scope.row.xt_warehouse_info) -
|
|
167
|
+ getAutoCount(scope.row.id) -
|
|
168
|
+ getOutCount(scope.row.id) +
|
|
169
|
+ getCancelCount(scope.row.id)
|
|
170
|
+ }}
|
|
171
|
+ </span>
|
|
172
|
+ <span v-if="org_id!=9675 && org_id!=3907 && org_id!=9583">
|
164
|
173
|
<tr style="background: none" v-for="(item,index) in scope.row.warehouse_info" :key="index">
|
165
|
174
|
<td style="border-right: none; border-inline-end: none;text-align: center">
|
166
|
175
|
{{getWareInfoCountOne(scope.row.xt_warehouse_info,item.storehouse_id)}}
|
167
|
176
|
</td>
|
168
|
177
|
</tr>
|
|
178
|
+ </span>
|
169
|
179
|
</template>
|
170
|
180
|
</el-table-column>
|
171
|
181
|
|