|
|
@@ -102,12 +102,24 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t(`产品标准`)">
|
|
|
- <el-select style="width:100%" v-model="form.standards" :placeholder="$t('请选择')" clearable>
|
|
|
+ <el-select style="width:100%" v-model="form.standards" :placeholder="$t('请选择')" clearable @change="standardChange">
|
|
|
<el-option
|
|
|
v-for="item in standards"
|
|
|
:key="item.value"
|
|
|
:label="$t(item.value)"
|
|
|
- :value="item.value">
|
|
|
+ :value="item">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item :label="$t(`标准明细`)">
|
|
|
+ <el-select style="width:43.5%" v-model="form.standardsmx" :placeholder="$t('请选择')" clearable >
|
|
|
+ <el-option
|
|
|
+ v-for="item in standardsmx"
|
|
|
+ :key="item.index"
|
|
|
+ :label="$t(item)"
|
|
|
+ :value="item">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -376,6 +388,7 @@ export default {
|
|
|
"pressure": "", //可选,压力
|
|
|
"material": "", //可选,材质
|
|
|
"standards": "", //可选,产品标准
|
|
|
+ "standardsmx":"",//产品标准明细
|
|
|
"tradefields": '', //可选,领域
|
|
|
"stockstatus2": '', //可选,库存缺货标准
|
|
|
"stockstatus1": '', //可选,库存充足标准
|
|
|
@@ -432,6 +445,7 @@ export default {
|
|
|
bindData:{},
|
|
|
tradefield:[],// 领域
|
|
|
standards:[],// 产品标准
|
|
|
+ standardsmx:[],//产品标准明细
|
|
|
pressures:[],// 压力等级
|
|
|
itemmaterial:[], // 材质
|
|
|
butterflyplatedrive:[],// 蝶板驱动
|
|
|
@@ -522,6 +536,11 @@ export default {
|
|
|
const res = await this.$store.dispatch('optiontypeselect','itemstandards')
|
|
|
this.standards = res.data
|
|
|
},
|
|
|
+ standardChange(val){
|
|
|
+ this.form.standards = val.value
|
|
|
+ this.form.standardsmx = ''
|
|
|
+ this.standardsmx = val.subvalues
|
|
|
+ },
|
|
|
|
|
|
// 查询压力等级
|
|
|
async pressureData () {
|