From 68701c15efe225d38348c0b1c0d65aac98c03889 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期二, 24 十二月 2024 16:46:56 +0800 Subject: [PATCH] 1.行政区划:(高德,腾讯) 使用elementUI的树型控件 --- pages/goods/list/_action/_id.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pages/goods/list/_action/_id.vue b/pages/goods/list/_action/_id.vue index 73b6d70..d2d522d 100644 --- a/pages/goods/list/_action/_id.vue +++ b/pages/goods/list/_action/_id.vue @@ -83,7 +83,7 @@ label: '限购数量:', id: 'limited', type: 'input-number', - el: { precision: 0, min: 0, max: 99999999, style: 'width:100%' }, + el: { precision: 0, min:1, max: 99999999, style: 'width:100%' }, }, { label: '驳回原因:', @@ -165,6 +165,10 @@ { params: { id: this.$route.params.id } } ) if (code === 0) { + const limited = data.limited; + if (limited === null) { + data.limited = undefined; + } this.$refs.form.updateForm(data) } this.loading = false -- Gitblit v1.9.3