|
@@ -35,16 +35,16 @@ export default {
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
this.option = option
|
|
|
- if (!option.partsWebsitNumber && !option.websitId) {
|
|
|
+ if (!option.partsWebsitId && !option.websitId) {
|
|
|
this.getWebsitInfo()
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
accessoriesParams() {
|
|
|
- if (this.option.partsWebsitNumber && this.option.websitId) {
|
|
|
+ if (this.option.partsWebsitId && this.option.websitId) {
|
|
|
return {
|
|
|
identity: this.userInfo.idCard,
|
|
|
- partsWebsitNumber: this.option.partsWebsitNumber,
|
|
|
+ partsWebsitId: this.option.partsWebsitId,
|
|
|
websitId: this.option.websitId
|
|
|
}
|
|
|
}
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
return {
|
|
|
identity: this.userInfo.idCard,
|
|
|
partsAttr: ['OLD', 'NEW'][this.selected],
|
|
|
- partsWebsitNumber: data.partsWebsitNumber,
|
|
|
+ partsWebsitId: data.partsWebsitId,
|
|
|
websitId: data.websitId
|
|
|
}
|
|
|
} else {
|