This commit is contained in:
2023-07-06 14:52:51 +08:00
parent f2554e4f37
commit 5b383d67a1
6 changed files with 9 additions and 11 deletions

View File

@@ -79,7 +79,7 @@
<th>物料号</th> <th>物料号</th>
<th>物料规格</th> <th>物料规格</th>
<th>数量</th> <th>数量</th>
<th>重量(kg)</th> <th>重量(g)</th>
<th>盘点重量</th> <th>盘点重量</th>
<th>是否异常</th> <th>是否异常</th>
<th>盘点状态</th> <th>盘点状态</th>

View File

@@ -51,7 +51,7 @@
<th>盘点货位</th> <th>盘点货位</th>
<th>物料号</th> <th>物料号</th>
<th>物料规格</th> <th>物料规格</th>
<th>重量(kg)</th> <th>重量(g)</th>
<th>单重(g)</th> <th>单重(g)</th>
<th>数量</th> <th>数量</th>
<th>载具号</th> <th>载具号</th>
@@ -76,7 +76,7 @@
</template> </template>
<script> <script>
import {accMul, accDiv} from '@config/utils.js' import {accMul} from '@config/utils.js'
import {checkGetBcpStor, checkCreate} from '@config/getData2.js' import {checkGetBcpStor, checkCreate} from '@config/getData2.js'
export default { export default {
name: 'semifinishedcheck', name: 'semifinishedcheck',
@@ -106,7 +106,6 @@ export default {
this.dataList = [...this.dataList, ...arr] this.dataList = [...this.dataList, ...arr]
this.dataList.map(el => { this.dataList.map(el => {
let res = accMul(el.canuse_qty, el.unit_weight) let res = accMul(el.canuse_qty, el.unit_weight)
res = accDiv(res, 1000)
this.$set(el, 'base_qty', res) this.$set(el, 'base_qty', res)
}) })
} }

View File

@@ -70,7 +70,7 @@
<th>物料规格</th> <th>物料规格</th>
<th>数量()</th> <th>数量()</th>
<th>单重(g)</th> <th>单重(g)</th>
<th>重量(kg)</th> <th>重量(g)</th>
<th>载具号</th> <th>载具号</th>
<th>入库点</th> <th>入库点</th>
<th>货位</th> <th>货位</th>

View File

@@ -41,7 +41,7 @@
</div> </div>
</div> </div>
<div class="search-item"> <div class="search-item">
<div class="search-label">重量(kg)</div> <div class="search-label">重量(g)</div>
<div class="filter_input_wraper"> <div class="filter_input_wraper">
<input type="number" class="filter-input" v-model="total_qty"> <input type="number" class="filter-input" v-model="total_qty">
</div> </div>
@@ -97,7 +97,7 @@
<script> <script>
import {getBcpStor, getBillType, getPoint, callVehicle, createIn} from '@config/getData2.js' import {getBcpStor, getBillType, getPoint, callVehicle, createIn} from '@config/getData2.js'
import {accMul, accDiv} from '@config/utils.js' import {accDiv} from '@config/utils.js'
export default { export default {
name: 'semifinishedinstore', name: 'semifinishedinstore',
data () { data () {
@@ -122,8 +122,7 @@ export default {
computed: { computed: {
qty () { qty () {
let res = '' let res = ''
let res1 = accMul(this.total_qty, 1000) res = accDiv(this.total_qty, this.unit_weight)
res = accDiv(res1, this.unit_weight)
res = Number(res).toFixed(3) res = Number(res).toFixed(3)
return res return res
} }

View File

@@ -70,7 +70,7 @@
<th>物料规格</th> <th>物料规格</th>
<th>数量</th> <th>数量</th>
<th>单重(g)</th> <th>单重(g)</th>
<th>重量(kg)</th> <th>重量(g)</th>
<th>载具号</th> <th>载具号</th>
<th>出库点</th> <th>出库点</th>
<th>货位</th> <th>货位</th>

View File

@@ -41,7 +41,7 @@
</div> </div>
</div> </div>
<div class="search-item"> <div class="search-item">
<div class="search-label">重量(kg)</div> <div class="search-label">重量(g)</div>
<div class="filter_input_wraper"> <div class="filter_input_wraper">
<input type="number" class="filter-input" v-model="materObj.fix_total_qty" disabled> <input type="number" class="filter-input" v-model="materObj.fix_total_qty" disabled>
</div> </div>