From 9431e0245997487edfb44cb5321f50c30430ca9e Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 20 三月 2024 10:16:30 +0800
Subject: [PATCH] 1
---
src/views/productManage/productRegisterForm/addProductRegisterPage.vue | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
index ce36553..4957b7f 100644
--- a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
+++ b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
@@ -75,7 +75,7 @@
</el-col>
<el-col :span="3">
<el-form-item label="缁勫埆" prop="group">
- <el-select v-model="ruleForm.group" placeholder="璇烽�夋嫨杞﹂棿" size="small">
+ <el-select v-model="ruleForm.group" placeholder="璇烽�夋嫨缁勫埆" size="small">
<el-option
v-for="item in groupOptions"
:key="item.id"
@@ -168,7 +168,7 @@
</el-form>
</div>
<div class="b-t-right">
- <div class="b-t-r-icon" :class="isDeviceConnectStatus ? 'c-p' : 'c-n'">
+ <div class="b-t-r-icon" :class="isDeviceConnectStatus ? 'c-p' : 'c-n'" @click="deviceConnectClick">
<i class="el-icon-d-arrow-left"></i>
</div>
</div>
@@ -211,15 +211,18 @@
</el-table>
</div>
</div>
+ <!-- 浠櫒杩炴帴姝e父寮圭獥 -->
+ <addProductDialog ref="addProductDialog" />
</div>
</template>
<script>
+import addProductDialog from "./components/addProductDialog"
export default {
name: "addProductRegisterPage",
props: {},
mixins: [],
- components: {},
+ components: { addProductDialog },
computed: {},
data() {
return {
@@ -271,7 +274,15 @@
}
},
created() {},
- methods: {}
+ methods: {
+ // 浠櫒杩炴帴寮圭獥
+ deviceConnectClick() {
+ console.log("dddd")
+ if (this.isDeviceConnectStatus) {
+ this.$refs.addProductDialog.editDialogVisible = true
+ }
+ }
+ }
}
</script>
--
Gitblit v1.8.0