修改默认值
This commit is contained in:
Vendored
+2
@@ -182,6 +182,8 @@ declare namespace Api {
|
|||||||
|
|
||||||
/** 列表数据 */
|
/** 列表数据 */
|
||||||
interface CrmListData {
|
interface CrmListData {
|
||||||
|
country_id: any
|
||||||
|
channel_id: any
|
||||||
data: CrmInfo[]
|
data: CrmInfo[]
|
||||||
current: number
|
current: number
|
||||||
size: number
|
size: number
|
||||||
|
|||||||
@@ -135,8 +135,11 @@
|
|||||||
try {
|
try {
|
||||||
// 这里调用获取品牌列表的接口
|
// 这里调用获取品牌列表的接口
|
||||||
const res = await CrmService.getcustomerdetail({ id: customerId })
|
const res = await CrmService.getcustomerdetail({ id: customerId })
|
||||||
|
res.channel_id = res.channel_id==0 ? '' : res.channel_id
|
||||||
|
res.country_id = res.country_id==0 ? '' : res.country_id
|
||||||
customerInfo.value = res
|
customerInfo.value = res
|
||||||
form.value = res
|
form.value = res
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user