1.修复接口调整导致的产品列表无数据问题

master
x_z 3 years ago
parent e05f7faf83
commit 7854de8275

@ -171,7 +171,7 @@
v-model="formData.orderId"></el-input> v-model="formData.orderId"></el-input>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<div class="text item" style="margin-left: 30px"> 条码数量{{ codeTotal }} <div class="text item" style="margin-left: 25px"> 条码数量{{ codeTotal }}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>

@ -406,7 +406,7 @@ export default {
stockOrderDetail(query) stockOrderDetail(query)
.then((response) => { .then((response) => {
this.detailLoading = false; this.detailLoading = false;
this.detailList = response.data || []; this.detailList = response.data.list || [];
}) })
.catch(() => { .catch(() => {
this.detailLoading = false; this.detailLoading = false;

@ -473,7 +473,7 @@ export default {
orderDetail(this.detailQuery) orderDetail(this.detailQuery)
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
this.detailList = response.data || []; this.detailList = response.data.list || [];
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;

@ -363,7 +363,8 @@ export default {
orderDetail(this.detailQuery) orderDetail(this.detailQuery)
.then((response) => { .then((response) => {
this.detailLoading = false; this.detailLoading = false;
this.detailList = response.data || []; this.detailList = response.data.list || [];
}) })
.catch(() => { .catch(() => {
this.detailLoading = false; this.detailLoading = false;

Loading…
Cancel
Save