|
|
|
@ -20,20 +20,19 @@
|
|
|
|
|
<view>
|
|
|
|
|
<lj-list-row label="物料编码:" :value="removeLeadingZeros(item.matnr)" />
|
|
|
|
|
<lj-list-row label="物料名称:" :value="item.maktx" />
|
|
|
|
|
<lj-list-row label="非限制库存:" :value="item.clabs" />
|
|
|
|
|
<lj-list-row label="冻结库存:" :value="item.cspem" />
|
|
|
|
|
<lj-list-row label="非限制库存:" :value="removeLastZeros(item.clabs)" />
|
|
|
|
|
<lj-list-row label="冻结库存:" :value="removeLastZeros(item.cspem)" />
|
|
|
|
|
</view>
|
|
|
|
|
</u-form>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view style="position: absolute; bottom: 120rpx; width: 90%">
|
|
|
|
|
<lj-pagination :total="total" :currentPage="queryParams.pageNum" @change="changePage"></lj-pagination>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<!-- 按钮 -->
|
|
|
|
|
<view class="bottom-bar">
|
|
|
|
|
<u-row class="button-bar">
|
|
|
|
|
<view style="position: absolute; bottom: 120rpx; width: 90%">
|
|
|
|
|
<lj-pagination :total="total" :currentPage="queryParams.pageNum" @change="changePage"></lj-pagination>
|
|
|
|
|
</view>
|
|
|
|
|
<u-col :span="12">
|
|
|
|
|
<u-button type="primary" @click="search">查询</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
@ -112,6 +111,13 @@ export default class sapStockPo extends BasePage implements SapStockPo {
|
|
|
|
|
this.sapStockList = this.model.rows;
|
|
|
|
|
this.total = this.model.total;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
removeLastZeros(data: any) {
|
|
|
|
|
if (data) {
|
|
|
|
|
return Number(data).toFixed(2);
|
|
|
|
|
}
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
@ -129,7 +135,7 @@ export default class sapStockPo extends BasePage implements SapStockPo {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scroll {
|
|
|
|
|
height: 740rpx;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: scroll;
|
|
|
|
|
|
|
|
|
|
.form2 {
|
|
|
|
|