|
|
@ -30,7 +30,7 @@ |
|
|
|
<div class="span-sty">供应商类型</div> |
|
|
|
<el-form-item> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.supplierTypeSid" filterable placeholder="" @change="supplierTypeChange"> |
|
|
|
<el-option v-for="item in supplierType_list" :key="item.supplierTypeSid" :label="item.supplierTypeName" :value="item.supplierTypeSid"/> |
|
|
|
<el-option v-for="item in supplierType_list" :key="item.sid" :label="item.supplierTypeName" :value="item.sid"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
@ -252,7 +252,7 @@ export default { |
|
|
|
return val |
|
|
|
}, |
|
|
|
supplierTypeChange(value) { |
|
|
|
const choose = this.supplierType_list.filter((item) => item.supplierTypeSid === value) |
|
|
|
const choose = this.supplierType_list.filter((item) => item.sid === value) |
|
|
|
if (choose !== null && choose.length > 0) { |
|
|
|
this.formobj.supplierTypeName = choose[0].supplierTypeName |
|
|
|
} |
|
|
@ -434,4 +434,12 @@ export default { |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
/*表格列设置fixed后固定列出现下边框的设置*/ |
|
|
|
/deep/ .el-table__fixed { |
|
|
|
height: 100% !important; |
|
|
|
} |
|
|
|
/*表格列设置fixed后固定列出现下边框的设置*/ |
|
|
|
/deep/ .el-table__fixed-right { |
|
|
|
height: 100% !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|