From c8018f2e55a147bef3b9118c0cec66227295772f Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 16 十月 2023 16:48:42 +0800
Subject: [PATCH] fix: 修复添加销售子单时 更换客户名称,销售总单并未更换的问题
---
src/views/other/commonDialog/SelectCommonDialog.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue
index 7dd718a..4ea3c14 100644
--- a/src/views/other/commonDialog/SelectCommonDialog.vue
+++ b/src/views/other/commonDialog/SelectCommonDialog.vue
@@ -395,7 +395,7 @@
pageSize: this.pagerOptions.pageSize
}).then((res) => {
console.log(res.data)
- if (res.data.code === 200) {
+ if (res.code === 200) {
if (res.data.data && res.data.data.length > 0) {
const list = res.data.data.map((item) => {
return {
@@ -403,7 +403,7 @@
}
})
this.tableList.tableInfomation = list || []
- this.pagerOptions.totalCount = res.data.data.count
+ this.pagerOptions.totalCount = res.data.count
} else {
this.tableList.tableInfomation = []
}
--
Gitblit v1.8.0