Browse Source

no message

linwenxin 8 months ago
parent
commit
b9f0ebc9f8

+ 1 - 1
src/views/auxiliaryFittings/shop/components/PurchaseAdjustmentArea.vue

@@ -329,7 +329,7 @@ export default {
           if (this.dataForm.purchaseAdjustmentId === '') {
             const params = {
               websitId: this.dataForm.websitId,
-              websitName: this.getArraysName(this.authShop, this.dataForm, 'websitId', 'websitName'),
+              websitName: this.authShop.find(item => item.websitId === this.dataForm.websitId)?.name,
               ref: this.dataForm.ref,
               notes: this.dataForm.notes
             }

+ 1 - 1
src/views/auxiliaryFittings/shop/components/PurchaseApplyArea.vue

@@ -341,7 +341,7 @@ export default {
               this.$successMsg('保存成功')
             })
           } else {
-            this.dataForm.websitName = this.authShop.find(item => item.websitId === this.dataForm.websitId)?.websitName
+            this.dataForm.websitName = this.authShop.find(item => item.websitId === this.dataForm.websitId)?.name
             this.dataForm.venderName = this.venderList.find(
               item => item.venderId === this.dataForm.venderId
             )?.venderName