|
|
|
@ -182,32 +182,38 @@
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
|
<el-button-group>
|
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch"
|
|
|
|
|
>显示/隐藏搜索栏</el-button
|
|
|
|
|
>显示/隐藏搜索栏
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
|
|
|
|
|
>重置</el-button
|
|
|
|
|
>重置
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="submit"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>查询
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="editUdiType">物资分类管理</el-button>-->
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
@click="intentImportUdi"
|
|
|
|
|
>选入DI信息</el-button
|
|
|
|
|
>选入DI信息
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
@click="intentImportErp"
|
|
|
|
|
>添加院内字典</el-button
|
|
|
|
|
>添加院内字典
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
@click="intentDetail"
|
|
|
|
|
>关联添加</el-button
|
|
|
|
|
>关联添加
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</div>
|
|
|
|
@ -1460,7 +1466,7 @@ import {
|
|
|
|
|
selectSysParamByKey,
|
|
|
|
|
finProductSet,
|
|
|
|
|
} from "@/api/param/systemParamConfig";
|
|
|
|
|
import { filterByUuid } from "@/api/basic/product/udiInfo";
|
|
|
|
|
import {filterByUuid} from "@/api/basic/product/udiInfo";
|
|
|
|
|
|
|
|
|
|
import selectUdi from "./UdiInfoSelectRel.vue";
|
|
|
|
|
import selectErp from "./udiInfoselectErpUdi";
|
|
|
|
@ -1471,7 +1477,7 @@ import ProductSingleEdit from "@/views/basic/product/productSingleEdit";
|
|
|
|
|
import productUdiType from "@/views/basic/product/productUdiType";
|
|
|
|
|
import selectHospProduct from "@/views/basic/product/bindHospProduct";
|
|
|
|
|
import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct";
|
|
|
|
|
import { getBasicHospType, getListTree } from "@/api/basic/basicHospType";
|
|
|
|
|
import {getBasicHospType, getListTree} from "@/api/basic/basicHospType";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -1567,7 +1573,7 @@ export default {
|
|
|
|
|
selectVersionVisible: false,
|
|
|
|
|
selectLocalVisible: false, //关联UDI
|
|
|
|
|
isUseDyCheck: false,
|
|
|
|
|
lockStatusMap: { 1: "未提交", 2: "已提交", 3: "已锁定" },
|
|
|
|
|
lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"},
|
|
|
|
|
activeNames: ["1"],
|
|
|
|
|
useNumEnable: true,
|
|
|
|
|
};
|
|
|
|
@ -1697,7 +1703,8 @@ export default {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
deleteDialog(rowId) {
|
|
|
|
@ -1709,7 +1716,8 @@ export default {
|
|
|
|
|
.then(() => {
|
|
|
|
|
this.deleteOrders(rowId);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
intentDetail() {
|
|
|
|
@ -1747,9 +1755,11 @@ export default {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
removeDi() {
|
|
|
|
@ -1776,9 +1786,11 @@ export default {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
intentSelectErp(val) {
|
|
|
|
@ -1975,7 +1987,7 @@ export default {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.cancelDialog();
|
|
|
|
|
this.editDialogVisible = false;
|
|
|
|
|
this.editDiDialogVisible = false;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
@ -2064,7 +2076,8 @@ export default {
|
|
|
|
|
var invlist = response.data || [];
|
|
|
|
|
this.treeList = this.handleTree(invlist, "code", "parentCode");
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
addHospProduct(data) {
|
|
|
|
@ -2095,7 +2108,8 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
ProductSingleEdit,
|
|
|
|
|
ProductEdit,
|
|
|
|
@ -2121,15 +2135,18 @@ export default {
|
|
|
|
|
margin-left: 0px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tree {
|
|
|
|
|
::v-deep .el-tree-node {
|
|
|
|
|
white-space: normal;
|
|
|
|
|
|
|
|
|
|
.el-tree-node__content {
|
|
|
|
|
height: 100%;
|
|
|
|
|
align-items: start;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.itemTag {
|
|
|
|
|
float: left;
|
|
|
|
|
text-align: right;
|
|
|
|
|