update 更新料仓 料位

This commit is contained in:
lb
2023-03-17 14:38:38 +08:00
parent 58f6737adb
commit 98e92059ce
4 changed files with 11 additions and 7 deletions

View File

@@ -26,9 +26,9 @@
{{ qty }} <span style="color: #777; font-weight: normal; font-size: 1rem">{{ computedUnit }}</span>
</div>
<div class="btn-group" style="text-align: right">
<!-- <div class="btn-group" style="text-align: right">
<el-button type="text">编辑</el-button>
</div>
</div> -->
</div>
</div>
</div>

View File

@@ -126,7 +126,7 @@ export default {
getList(storageType) {
this.resetAllStorages();
const params = storageType ? { limit: this.limit, page: this.page, typeDictValue: storageType } : { limit: this.limit, page: this.page };
this.$http.get("/pms/materialStorageQty/page", { params }).then(({ data: res }) => {
this.$http.get("/pms/materialStorageDynamic/page", { params }).then(({ data: res }) => {
if (res.code === 0) {
if ("list" in res.data) {
res.data.list.forEach((item) => {