|
@@ -98,7 +98,18 @@ export default {
|
|
|
getWebsit({ type: 'C', status: true, queryPartsWebsit: true }).then(res => {
|
|
|
this.websitList = res.data
|
|
|
this.formType = 0
|
|
|
- this.formBool = true
|
|
|
+
|
|
|
+ if (this.websitList.length) {
|
|
|
+ var data = this.websitList?.[0]
|
|
|
+ this.formData.websitId = data?.websitId || ''
|
|
|
+ this.formData.websitName = data?.name || ''
|
|
|
+ this.formData.newRefundInner = ''
|
|
|
+ this.formData.newRefundOutside = ''
|
|
|
+ }
|
|
|
+
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.formBool = true
|
|
|
+ })
|
|
|
})
|
|
|
}
|
|
|
})
|