From 94de1745b4b69eeeb1ac8c5d3508ce87258afc25 Mon Sep 17 00:00:00 2001 From: haoyahui <2032914783@qq.com> Date: 星期四, 16 十一月 2023 09:22:06 +0800 Subject: [PATCH] 库存管理 --- admin-web/src/views/stock/accessStock/outbound/detail.vue | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/admin-web/src/views/stock/accessStock/outbound/detail.vue b/admin-web/src/views/stock/accessStock/outbound/detail.vue index cb6d618..0e6994e 100644 --- a/admin-web/src/views/stock/accessStock/outbound/detail.vue +++ b/admin-web/src/views/stock/accessStock/outbound/detail.vue @@ -17,28 +17,28 @@ <el-row :gutter="20" style="margin-top: 20px"> <el-col :span="8"> <span>鍒涘缓浜猴細</span> - <span>{{ detail.buyerName }}</span> + <span>{{ detail.operatorName }}</span> </el-col> <el-col :span="8"> <span>鍑哄簱鏃堕棿锛�</span> - <span>{{ detail.incomeTime | formatTime }}</span> + <span>{{ detail.dealTime | formatTime }}</span> </el-col> </el-row> - <el-row :gutter="20" style="margin-top: 20px"> + <el-row v-if="detail.procureDoc" :gutter="20" style="margin-top: 20px"> <el-col class="img-row" :span="24"> <span>鍑哄簱鎵嬬画锛�</span> <div class="img-box"></div> </el-col> </el-row> - <div class="goods-card" v-for="(goodsItem, goodsIndex) in detail.goods" :key="goodsIndex"> + <div class="goods-card" v-for="(goodsItem, goodsIndex) in detail.fromOutputGoods" :key="goodsIndex"> <el-row :gutter="20"> <el-col :span="8"> <span>鐗╁搧鍒嗙被锛�</span> - <span>{{ goodsItem.baseCategoryName }}</span> + <span>{{ goodsItem.categoryName }}</span> </el-col> <el-col :span="8"> <span>鐗╁搧鍚嶇О锛�</span> - <span>{{ goodsItem.goodsTemplateName }}</span> + <span>{{ goodsItem.goodsName }}</span> </el-col> </el-row> <el-table :data="goodsItem.models" :stripe="true" style="margin-top: 20px"> @@ -83,14 +83,14 @@ data() { return { detail: { - baseCategoryName: '', + categoryName: '', businessFormCode: '', - goodsTemplateName: '', + goodsName: '', agencyId: '', agencyName: '', states: '', createName: '', - goods: [], + fromOutputGoods: [], }, }; }, @@ -106,7 +106,9 @@ }); }, methods: { - close() {}, + close() { + this.$emit('close') + }, }, }; </script> -- Gitblit v1.9.1