|
|
@@ -2,7 +2,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div style="margin-bottom: 15px">
|
|
|
- <add v-if="tool.checkAuth($route.name,'productSetManage') && data.disabled" class="inline-16" @addSuccess="onSuccess" :discountrate="discountrate"></add>
|
|
|
+ <addProduct v-if="tool.checkAuth($route.name,'productSetManage') && data.disabled" class="inline-16" @addSuccess="onSuccess" :discountrate="discountrate"></addProduct>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'productSetManage') && data.disabled" class="inline-16" size="small" :type="delProductData.length === 0?'':'primary'" @click="onDelProduct" :disabled="delProductData.length === 0">删 除</el-button>
|
|
|
<el-input
|
|
|
size="small"
|
|
|
@@ -199,7 +199,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import add from './add'
|
|
|
+/*import add from './add'*/
|
|
|
+import addProduct from '@/template/addProduct'
|
|
|
import edit from "@/HDrpManagement/projectChange/modules/modules/andEnterprise/components/edit";
|
|
|
import to_del from "@/HDrpManagement/projectChange/modules/modules/andEnterprise/components/toDel";
|
|
|
import uploadFile from "@/components/upload/hw_obs_upload";
|
|
|
@@ -207,7 +208,7 @@ import previewImage from "@/components/previewImage";
|
|
|
import delete_product from './deleteProduct'
|
|
|
export default {
|
|
|
props:["data"],
|
|
|
- components:{add,uploadFile, previewImage,delete_product},
|
|
|
+ components:{addProduct,uploadFile, previewImage,delete_product},
|
|
|
data () {
|
|
|
return {
|
|
|
tableHieght:"860px",
|