|
@@ -25,6 +25,9 @@
|
|
></el-input>
|
|
></el-input>
|
|
</div>
|
|
</div>
|
|
</selectPeople>
|
|
</selectPeople>
|
|
|
|
+
|
|
|
|
+ <!--阀门选型-->
|
|
|
|
+ <selectOption position="单独选型" style="margin-left: 10px" @handleParam="handleOptionParam" v-if="tool.checkAuth($route.name,'optionSystem')"></selectOption>
|
|
</div>
|
|
</div>
|
|
<selectClass ref="class" @clickAreaBase="clickAreaBase" @brandChange="brandChange" @onClassChange="onClassChange" @Search="Search" @clearSearch="clearSearch" @clickField="clickField" :default="true"></selectClass>
|
|
<selectClass ref="class" @clickAreaBase="clickAreaBase" @brandChange="brandChange" @onClassChange="onClassChange" @Search="Search" @clearSearch="clearSearch" @clickField="clickField" :default="true"></selectClass>
|
|
<div class="content" v-if="Object.keys(productGroup).length > 0" style="padding: 0;margin-bottom: 0;height: calc(100vh - 360px)">
|
|
<div class="content" v-if="Object.keys(productGroup).length > 0" style="padding: 0;margin-bottom: 0;height: calc(100vh - 360px)">
|
|
@@ -61,6 +64,7 @@
|
|
<script>
|
|
<script>
|
|
import selectClass from './modules/Select2.vue'
|
|
import selectClass from './modules/Select2.vue'
|
|
import selectPeople from './modules/selectPeople'
|
|
import selectPeople from './modules/selectPeople'
|
|
|
|
+import SelectOption from '@/optionSystem/selectOption/add.vue'
|
|
import { log } from '@antv/g2plot/lib/utils';
|
|
import { log } from '@antv/g2plot/lib/utils';
|
|
export default {
|
|
export default {
|
|
name: 'productgroup',
|
|
name: 'productgroup',
|
|
@@ -93,10 +97,11 @@ export default {
|
|
},
|
|
},
|
|
provide () {
|
|
provide () {
|
|
return {
|
|
return {
|
|
- sys_enterpriseid:() => this.sys_enterpriseid
|
|
|
|
|
|
+ sys_enterpriseid:() => this.sys_enterpriseid,
|
|
|
|
+ detailData:() => false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- components:{selectClass,selectPeople},
|
|
|
|
|
|
+ components:{selectClass,selectPeople,SelectOption},
|
|
computed:{
|
|
computed:{
|
|
},
|
|
},
|
|
watch:{
|
|
watch:{
|
|
@@ -106,6 +111,13 @@ export default {
|
|
this.tablecols = this.tool.tabelCol(this.$route.name).productGroupTable.tablecols
|
|
this.tablecols = this.tool.tabelCol(this.$route.name).productGroupTable.tablecols
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ //处理选型请求参数
|
|
|
|
+ handleOptionParam (param) {
|
|
|
|
+ param.content.enterprisename = ''
|
|
|
|
+ param.content.projectname = ''
|
|
|
|
+ param.content.sourcetable = ''
|
|
|
|
+ param.content.source = `单独选型`
|
|
|
|
+ },
|
|
selectRow (data) {
|
|
selectRow (data) {
|
|
this.enterprisename = data.enterprisename
|
|
this.enterprisename = data.enterprisename
|
|
this.sys_enterpriseid = data.sys_enterpriseid
|
|
this.sys_enterpriseid = data.sys_enterpriseid
|