资质填报设置,底下 编辑产品资质设置,产地选项显示错误

dev
schry 2 years ago
parent 6aafe12f49
commit e8589d9dc4

@ -1330,7 +1330,22 @@
</el-form>
</el-card>
</el-dialog>
<el-dialog
title="耗材字典-选择DI版本"
:visible.sync="selectVersionVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
width="85%"
v-if="selectVersionVisible"
>
<selectUdiVersion
:closeDialog="closeDialog"
:relId="relId"
:uuid="uuid"
:originUuid="originUuid"
@closeUdi="closeUdi"
></selectUdiVersion>
</el-dialog>
</el-card>
</div>
@ -1339,7 +1354,6 @@
<script>
import {filterByUuid} from "@/api/basic/product/udiInfo";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@ -1356,10 +1370,12 @@ import {
} from "@/api/basic/basicProductType";
import {thirdSysDetail} from "@/api/basic/product/udiRelevance";
import {finProductSet} from "@/api/param/systemParamConfig";
import selectUdiVersion from './UdiinfoSelectVersion'
export default {
data() {
return {
selectVersionVisible: false,
useNumEnable: true,
checked: false,
sysList: [],
@ -1399,6 +1415,12 @@ export default {
},
filters: {},
methods: {
selectVersion() {
this.selectVersionVisible = true;
this.uuid = this.editQuery.uuid;
this.originUuid = this.editQuery.originUuid;
this.relId = this.editQuery.id;
},
onReset() {
this.$router.push({
path: "",
@ -1453,6 +1475,7 @@ export default {
this.isImport = false;
this.thisData = row;
this.editDialogVisible = true;
console.log("row.uuid="+this.uuid)
this.pId = row.id;
this.relevanceEdit = {
@ -1724,7 +1747,7 @@ export default {
mounted() {
},
components: {
Treeselect, selectProduct,
Treeselect, selectProduct,selectUdiVersion,
},
created() {
this.getList();

@ -309,7 +309,7 @@
<el-row>
<el-col :span="11">
<el-form-item label="产地:" prop="require">
<el-form-item label="产地:" prop="imports">
<el-select v-model="currentProduct.imports" style="width: 90%">
<el-option label="全部" value="1"></el-option>
<el-option label="国外" value="2"></el-option>
@ -653,6 +653,13 @@ export default {
handleProductEdit(row) {
this.formProductName = "update";
this.currentProduct = row;
if (row.imports == '1') {
this.currentProduct.imports = '全部'
}else if (row.imports == '2'){
this.currentProduct.imports = '国外'
}else if (row.imports == '3'){
this.currentProduct.imports = '国内'
}
this.addProductDialogVisible = true;
this.classifyFirstSearch(this.currentProduct.flbm);

Loading…
Cancel
Save