From fd7586c8d91473d2850af1e48b12f1a289e6b8d1 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期四, 13 六月 2024 00:10:43 +0800
Subject: [PATCH] 新增文件

---
 src/views/configuration/custom/addPlan.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/configuration/custom/addPlan.vue b/src/views/configuration/custom/addPlan.vue
index 67bd7e9..d057537 100644
--- a/src/views/configuration/custom/addPlan.vue
+++ b/src/views/configuration/custom/addPlan.vue
@@ -9,15 +9,15 @@
 				</el-col>
 				<el-col :span="24">
 					<el-form-item label="浜у搧绫诲瀷">
-						<el-select v-model="relationIds" multiple placeholder="浜у搧绫诲瀷" style="width: 100%">
+						<el-select v-model="addPlanForm.relationIds" multiple placeholder="浜у搧绫诲瀷" style="width: 100%">
 							<el-option v-for="item in productList" :key="item.id" :label="item.name" :value="item.id">{{
 								item.name }}</el-option>
 						</el-select>
 					</el-form-item>
 				</el-col>
-				<el-col :span="24">
+				<el-col :span="24" v-if="mode != 'edit'">
 					<el-form-item label="閫氳繃宸叉湁璁″垝绫诲瀷鏂板缓" prop="copySourceId">
-						<el-select v-model="copySourceId" placeholder="閫氳繃宸叉湁璁″垝绫诲瀷鏂板缓" style="width: 100%">
+						<el-select v-model="addPlanForm.copySourceId" placeholder="閫氳繃宸叉湁璁″垝绫诲瀷鏂板缓" style="width: 100%">
 							<el-option v-for="item in planData" :key="item.id" :label="item.templateName" :value="item.id">{{
 								item.templateName }}</el-option>
 						</el-select>
@@ -26,7 +26,7 @@
 			</el-row>
 		</el-form>
 		<template #footer>
-			<el-button @click="visible=false" >鍙栨秷</el-button>
+			<el-button @click="visible=false">鍙栨秷</el-button>
 			<el-button v-if="mode!='show'" type="primary" :loading="isSaveing" @click="planSubmit">淇� 瀛�</el-button>
 		</template>
 	</el-dialog>
@@ -98,7 +98,6 @@
 			},
 			//琛ㄥ崟娉ㄥ叆鏁版嵁
 			setData(data){
-				console.log(data)
 				Object.assign(this.addPlanForm, data);
 			}
 		}

--
Gitblit v1.9.3