Zory 10 時間 前
コミット
e2a6c77067

+ 1 - 1
src/views/manage/shop/index/components/combo.vue

@@ -60,7 +60,7 @@ export default {
             var validate = await this.$refs.dialogForm.validate().catch(()=>{});
             if(!validate){ return false }
             this.isSaveing = true;
-            this.submitData.shop_id = this.formData.agent_id;
+            this.submitData.shop_id = this.formData.shop_id;
             var resp = await this.$API.shop.combo.post(this.submitData);
             this.isSaveing = false;
             if (resp.code == 0) {

+ 1 - 1
src/views/manage/shop/user/components/form.vue

@@ -106,7 +106,7 @@ export default {
     },
     methods:{
         handleSuccess(data){
-            this.formData.agent_id = data.agent_id;
+            this.formData.agent_id = data.shop_id;
         },
         clearUser(){
             this.formData.agent_id = "";