|
|
|
@ -91,6 +91,7 @@
|
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button>
|
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search">查询</el-button>
|
|
|
|
|
<el-button type="primary" icon="el-icon-bottom-right" @click="selectProduct()">选入产品</el-button>
|
|
|
|
|
<el-button type="primary" icon="search" @click="lockProducts('3')" v-if="isSpCombine">锁定</el-button>
|
|
|
|
|
<el-button type="primary" icon="search" @click="lockProducts('1')" v-if="isSpCombine">退回</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
@ -145,7 +146,20 @@
|
|
|
|
|
</selectDetail>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="选入产品信息"
|
|
|
|
|
:visible.sync="selectProductVisible"
|
|
|
|
|
width="85%"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
v-if="selectProductVisible"
|
|
|
|
|
>
|
|
|
|
|
<selectProduct
|
|
|
|
|
:closeSelDialog="closeDialog"
|
|
|
|
|
:uuid="uuid"
|
|
|
|
|
:unitFk="filterQuery.unitFk"
|
|
|
|
|
></selectProduct>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total>0"
|
|
|
|
@ -173,6 +187,7 @@ import {selectSysParamByKey} from "@/api/param/systemParamConfig";
|
|
|
|
|
import {filterByUuid, filterCompany} from "@/api/basic/udiInfo";
|
|
|
|
|
import {filterCompanyProductRelevance, deleteCompanyProductRelevance} from "@/api/basic/udiRlSuptRelevance";
|
|
|
|
|
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"
|
|
|
|
|
import selectProduct from "./basicCompanyProductsImport";
|
|
|
|
|
import selectUdi from "./udiInfoRelevance.vue";
|
|
|
|
|
import selectErp from "./udiInfoselectErpUdi";
|
|
|
|
|
import selectLocalUdi from "./UdiInfoSelectLocalUdi";
|
|
|
|
@ -335,7 +350,13 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
selectProduct() {
|
|
|
|
|
if (this.$isBlank(this.filterQuery.unitFk)) {
|
|
|
|
|
this.$message.error("请先选择供应商!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.selectProductVisible = true;
|
|
|
|
|
},
|
|
|
|
|
intentDetail() {
|
|
|
|
|
this.isImportUdi = false;
|
|
|
|
|
this.selectUdiDialogVisible = true;
|
|
|
|
@ -550,6 +571,7 @@ export default {
|
|
|
|
|
this.selectErpDialogVisible = false;
|
|
|
|
|
this.selectLocalVisible = false;
|
|
|
|
|
this.selectVersionVisible = false;
|
|
|
|
|
this.selectProductVisible = false;
|
|
|
|
|
},
|
|
|
|
|
onAddSubmit() {
|
|
|
|
|
if (this.checked == true) {
|
|
|
|
@ -643,6 +665,7 @@ export default {
|
|
|
|
|
selectUdi,
|
|
|
|
|
selectErp,
|
|
|
|
|
selectLocalUdi,
|
|
|
|
|
selectProduct,
|
|
|
|
|
selectDetail
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|