hookehuyr

fix 新旧程度文字修改

......@@ -463,7 +463,7 @@ const modelOptions = ref([])
const conditionOptions = ref([
{ text: '全新', value: '全新' },
{ text: '9成新', value: '9成新' },
{ text: '8成新', value: '8成新' },
{ text: '7成新', value: '7成新' },
{ text: '6成新', value: '6成新' },
......@@ -845,7 +845,7 @@ const onBrandModelCancel = () => {
const convertTextToScore = (text, type) => {
if (type === 'condition') {
const conditionMap = {
'新': 5,
'9成新': 5,
'8成新': 4,
'7成新': 3,
'6成新': 2,
......@@ -871,7 +871,7 @@ const convertTextToScore = (text, type) => {
const convertScoreToText = (score, type) => {
if (type === 'condition') {
const scoreMap = {
5: '新',
5: '9成新',
4: '8成新',
3: '7成新',
2: '6成新',
......