|
@@ -24,10 +24,11 @@
|
|
|
<avue-form ref="form" class="trading-form" v-model="form" :option="option" :key="key">
|
|
|
<template slot="goodsTypeId" slot-scope="{disabled}">
|
|
|
<div style="display:flex;">
|
|
|
- <avue-cascader :disabled="disabled" :emit-path="false" check-strictly :show-all-levels="false"
|
|
|
- v-model="form.goodsTypeId" placeholder="请选择产品分类" :dic="goodsTypeList"
|
|
|
- :props="props"></avue-cascader>
|
|
|
- <i class="el-icon-circle-plus-outline" style="font-size:18px;line-height: 32px;margin-left:4px"
|
|
|
+ <avue-cascader :disabled="disabled" :emit-path="false" check-strictly
|
|
|
+ :show-all-levels="false" v-model="form.goodsTypeId" placeholder="请选择产品分类"
|
|
|
+ :dic="goodsTypeList" :props="props"></avue-cascader>
|
|
|
+ <i class="el-icon-circle-plus-outline"
|
|
|
+ style="font-size:18px;line-height: 32px;margin-left:4px"
|
|
|
@click="goodsTypeVisible = true"></i>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -35,7 +36,8 @@
|
|
|
<div style="display:flex;">
|
|
|
<avue-select :disabled="disabled" v-model="form.unit" filterable placeholder="请选择单位"
|
|
|
:dic="unitList" :props="props2"></avue-select>
|
|
|
- <i class="el-icon-circle-plus-outline" style="font-size:18px;line-height: 32px;margin-left:4px"
|
|
|
+ <i class="el-icon-circle-plus-outline"
|
|
|
+ style="font-size:18px;line-height: 32px;margin-left:4px"
|
|
|
@click="$refs.dictbiz.open()"></i>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -126,7 +128,7 @@ import { optionList } from "./js/optionList";
|
|
|
import goodsType from '@/components/goodsType/index'
|
|
|
import corpType from './components/index'
|
|
|
import { brandfigureListAll } from "@/api/tirePartsMall/basicData/listingManagement";
|
|
|
-
|
|
|
+import { isProcurement } from "@/api/basicData/configuration";
|
|
|
export default {
|
|
|
name: "index",
|
|
|
data() {
|
|
@@ -624,6 +626,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async created() {
|
|
|
+ isProcurement({ "param": "whether.model" }).then(res => {
|
|
|
+ if (res.data.data == 1) {
|
|
|
+ this.findObject(this.option.column, "brandItem").label = '规格型号1'
|
|
|
+ }
|
|
|
+ })
|
|
|
this.optionList = await this.getColumnData(
|
|
|
this.getColumnName(218),
|
|
|
optionList
|
|
@@ -914,4 +921,5 @@ export default {
|
|
|
font-weight: 600;
|
|
|
text-align: center;
|
|
|
}
|
|
|
-}</style>
|
|
|
+}
|
|
|
+</style>
|