物资字典参数设置

master
anthonywj 2 years ago
parent 4ef4a0232a
commit 01bb91e33a

@ -7,7 +7,7 @@ ENV = 'production'
#林纪裕 #林纪裕
# VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_SPMS_SERVER/'
# VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:82/UDI_SPMS_SERVER/' VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:82/UDI_SPMS_SERVER/'
# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_SPMS_SERVER/'
@ -24,7 +24,7 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://192.168.0.54:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://192.168.0.54:9150/UDI_SPMS_SERVER/'
# 漳州中医院 # 漳州中医院
VUE_APP_BASE_API = 'http://116.204.116.198:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://116.204.116.198:9150/UDI_SPMS_SERVER/'
# 应用访问路径 例如使用前缀 /admin/ # 应用访问路径 例如使用前缀 /admin/

@ -13,8 +13,8 @@
> >
<span class="custom-tree-node" slot-scope="{ node, data }"> <span class="custom-tree-node" slot-scope="{ node, data }">
<span style="font-size: 14px; font-weight: 500">{{ <span style="font-size: 14px; font-weight: 500">{{
node.label node.label
}}</span></span }}</span></span
> >
</el-tree> </el-tree>
</el-col> </el-col>
@ -183,32 +183,32 @@
<div class="top-right-btn"> <div class="top-right-btn">
<el-button-group> <el-button-group>
<el-button icon="el-icon-view" type="primary" @click="hideSearch" <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 type="primary" icon="el-icon-refresh" @click="onReset"
>重置 >重置
</el-button> </el-button>
<el-button type="primary" icon="el-icon-search" @click="submit" <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="editUdiType"></el-button>-->
<el-button <el-button
type="primary" type="primary"
icon="el-icon-plus" icon="el-icon-plus"
@click="intentImportUdi" @click="intentImportUdi"
>选入DI信息 >选入DI信息
</el-button> </el-button>
<el-button <el-button
type="primary" type="primary"
icon="el-icon-plus" icon="el-icon-plus"
@click="intentImportErp" @click="intentImportErp"
>添加院内字典 >添加院内字典
</el-button> </el-button>
<el-button <el-button
type="primary" type="primary"
icon="el-icon-plus" icon="el-icon-plus"
@click="intentDetail" @click="intentDetail"
>关联添加 >关联添加
</el-button> </el-button>
</el-button-group> </el-button-group>
</div> </div>
@ -289,56 +289,56 @@
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段1" :label="productRemarkSet.remarkTitle1"
prop="basicPrductRemak1" prop="basicPrductRemak1"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak1')" v-if="$auth.hasPermi('basic:basicPrductRemak1')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段2" :label="productRemarkSet.remarkTitle2"
prop="basicPrductRemak2" prop="basicPrductRemak2"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak2')" v-if="$auth.hasPermi('basic:basicPrductRemak2')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段3" :label="productRemarkSet.remarkTitle3"
prop="basicPrductRemak3" prop="basicPrductRemak3"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak3')" v-if="$auth.hasPermi('basic:basicPrductRemak3')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段4" :label="productRemarkSet.remarkTitle4"
prop="basicPrductRemak4" prop="basicPrductRemak4"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak4')" v-if="$auth.hasPermi('basic:basicPrductRemak4')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段5" :label="productRemarkSet.remarkTitle5"
prop="basicPrductRemak5" prop="basicPrductRemak5"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak5')" v-if="$auth.hasPermi('basic:basicPrductRemak5')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段6" :label="productRemarkSet.remarkTitle6"
prop="basicPrductRemak6" prop="basicPrductRemak6"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak6')" v-if="$auth.hasPermi('basic:basicPrductRemak6')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段7" :label="productRemarkSet.remarkTitle7"
prop="basicPrductRemak7" prop="basicPrductRemak7"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
v-if="$auth.hasPermi('basic:basicPrductRemak7')" v-if="$auth.hasPermi('basic:basicPrductRemak7')"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="备注字段8" :label="productRemarkSet.remarkTitle8"
prop="basicPrductRemak8" prop="basicPrductRemak8"
width="180" width="180"
show-overflow-tooltip show-overflow-tooltip
@ -378,27 +378,27 @@
size="small" size="small"
:disabled="scope.row.originUuid != null" :disabled="scope.row.originUuid != null"
@click.native.stop="intentSelectUdi(scope.row)" @click.native.stop="intentSelectUdi(scope.row)"
>关联DI >关联DI
</el-button> </el-button>
<el-button <el-button
type="text" type="text"
size="small" size="small"
@click.native.stop="handleModifyClick(scope.row)" @click.native.stop="handleModifyClick(scope.row)"
>详情 >详情
</el-button> </el-button>
<el-button <el-button
type="text" type="text"
size="small" size="small"
@click.native.stop="diEdit(scope.row)" @click.native.stop="diEdit(scope.row)"
>编辑 >编辑
</el-button> </el-button>
<el-button <el-button
type="text" type="text"
size="small" size="small"
@click.native.stop="deleteDialog(scope.row)" @click.native.stop="deleteDialog(scope.row)"
>删除 >删除
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -1007,7 +1007,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle1 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle1 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1028,7 +1028,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle2 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle2 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1051,7 +1051,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle3 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle3 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1072,7 +1072,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle4 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle4 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1095,7 +1095,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle5 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle5 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1116,7 +1116,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle6 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle6 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1139,7 +1139,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle7 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle7 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1160,7 +1160,7 @@
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span <span
>{{ productRemarkSet.remarkTitle8 }}:&nbsp;</span >{{ productRemarkSet.remarkTitle8 }}:&nbsp;</span
> >
</div> </div>
<el-input <el-input
@ -1335,7 +1335,7 @@
size="small" size="small"
@click.native.stop="selectVersion()" @click.native.stop="selectVersion()"
style="margin-left: 5%" style="margin-left: 5%"
>切换版本 >切换版本
</el-button> </el-button>
</el-col> </el-col>
<el-col :span="2" class="el-col"> <el-col :span="2" class="el-col">
@ -1345,7 +1345,7 @@
@click.native.stop="updateVersion()" @click.native.stop="updateVersion()"
:loading="updateLoading" :loading="updateLoading"
style="margin-left: 5%" style="margin-left: 5%"
>更新当前版本信息 >更新当前版本信息
</el-button> </el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -1380,14 +1380,14 @@
size="small" size="small"
icon="search" icon="search"
@click="onAddSubmit(false)" @click="onAddSubmit(false)"
>提交 >提交
</el-button> </el-button>
<el-button <el-button
type="primary" type="primary"
size="small" size="small"
icon="search" icon="search"
@click="cancelDialog" @click="cancelDialog"
>取消 >取消
</el-button> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -1409,14 +1409,14 @@
size="small" size="small"
icon="search" icon="search"
@click="onAddSingleSubmit(false)" @click="onAddSingleSubmit(false)"
>提交 >提交
</el-button> </el-button>
<el-button <el-button
type="primary" type="primary"
size="small" size="small"
icon="search" icon="search"
@click="cancelDialog" @click="cancelDialog"
>取消 >取消
</el-button> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -1562,7 +1562,7 @@ import {
selectSysParamByKey, selectSysParamByKey,
finProductSet, finProductSet,
} from "@/api/param/systemParamConfig"; } from "@/api/param/systemParamConfig";
import { filterByUuid } from "@/api/basic/product/udiInfo"; import {filterByUuid} from "@/api/basic/product/udiInfo";
import selectUdi from "./UdiInfoSelectRel.vue"; import selectUdi from "./UdiInfoSelectRel.vue";
import selectErp from "./udiInfoselectErpUdi"; import selectErp from "./udiInfoselectErpUdi";
@ -1573,8 +1573,8 @@ import ProductSingleEdit from "@/views/basic/product/productSingleEdit";
import productUdiType from "@/views/basic/product/productUdiType"; import productUdiType from "@/views/basic/product/productUdiType";
import selectHospProduct from "@/views/basic/product/bindHospProduct"; import selectHospProduct from "@/views/basic/product/bindHospProduct";
import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct"; import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct";
import { getBasicHospType, getListTree } from "@/api/basic/basicHospType"; import {getBasicHospType, getListTree} from "@/api/basic/basicHospType";
import { dlLastVersionByDi } from "@/api/basic/udiInfo"; import {dlLastVersionByDi} from "@/api/basic/udiInfo";
export default { export default {
data() { data() {
@ -1623,7 +1623,16 @@ export default {
false: "不可配送", false: "不可配送",
}, },
pId: 0, pId: 0,
productRemarkSet: {}, productRemarkSet: {
remarkTitle1: "备注字段1",
remarkTitle2: "备注字段2",
remarkTitle3: "备注字段3",
remarkTitle4: "备注字段4",
remarkTitle5: "备注字段5",
remarkTitle6: "备注字段6",
remarkTitle7: "备注字段7",
remarkTitle8: "备注字段8",
},
relevanceEdit: { relevanceEdit: {
id: null, id: null,
thirdId: "", thirdId: "",
@ -1670,7 +1679,7 @@ export default {
selectVersionVisible: false, selectVersionVisible: false,
selectLocalVisible: false, //UDI selectLocalVisible: false, //UDI
isUseDyCheck: false, isUseDyCheck: false,
lockStatusMap: { 1: "未提交", 2: "已提交", 3: "已锁定" }, lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"},
activeNames: ["1"], activeNames: ["1"],
useNumEnable: true, useNumEnable: true,
updateLoading: false, updateLoading: false,
@ -1801,7 +1810,8 @@ export default {
this.$message.error(response.message); this.$message.error(response.message);
} }
}) })
.catch(() => {}); .catch(() => {
});
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
@ -1813,7 +1823,8 @@ export default {
.then(() => { .then(() => {
this.deleteOrders(rowId); this.deleteOrders(rowId);
}) })
.catch(() => {}); .catch(() => {
});
}, },
intentDetail() { intentDetail() {
@ -1851,9 +1862,11 @@ export default {
this.$message.error(response.message); this.$message.error(response.message);
} }
}) })
.catch(() => {}); .catch(() => {
});
}) })
.catch(() => {}); .catch(() => {
});
}, },
removeDi() { removeDi() {
@ -1880,9 +1893,11 @@ export default {
this.$message.error(response.message); this.$message.error(response.message);
} }
}) })
.catch(() => {}); .catch(() => {
});
}) })
.catch(() => {}); .catch(() => {
});
}, },
intentSelectErp(val) { intentSelectErp(val) {
@ -2062,10 +2077,10 @@ export default {
isAdavence: row.isAdavence, isAdavence: row.isAdavence,
}; };
this.editFormat = JSON.parse(JSON.stringify(row)); this.editFormat = JSON.parse(JSON.stringify(row));
if( this.editFormat.overStockNum == null){ if (this.editFormat.overStockNum == null) {
this.editFormat.overStockNum = 0; this.editFormat.overStockNum = 0;
} }
if( this.editFormat.lowStockNum == null){ if (this.editFormat.lowStockNum == null) {
this.editFormat.lowStockNum = 0; this.editFormat.lowStockNum = 0;
} }
this.editDiDialogVisible = true; this.editDiDialogVisible = true;
@ -2174,7 +2189,8 @@ export default {
var invlist = response.data || []; var invlist = response.data || [];
this.treeList = this.handleTree(invlist, "code", "parentCode"); this.treeList = this.handleTree(invlist, "code", "parentCode");
}) })
.catch(() => {}); .catch(() => {
});
}, },
addHospProduct(data) { addHospProduct(data) {
@ -2233,10 +2249,12 @@ export default {
this.total = 0; this.total = 0;
}); });
}) })
.catch(() => {}); .catch(() => {
});
}, },
}, },
mounted() {}, mounted() {
},
components: { components: {
ProductSingleEdit, ProductSingleEdit,
ProductEdit, ProductEdit,
@ -2262,6 +2280,7 @@ export default {
margin-left: -2px; margin-left: -2px;
height: 30px; height: 30px;
} }
.tree { .tree {
::v-deep .el-tree-node { ::v-deep .el-tree-node {
.el-tree-node__content { .el-tree-node__content {

@ -682,7 +682,7 @@ export default {
isUseDy: row.isUseDy, isUseDy: row.isUseDy,
isDisable: row.isDisable, isDisable: row.isDisable,
isAdavence: row.isAdavence, isAdavence: row.isAdavence,
useMuti: row.useMuti useMuti: row.useMuti
}; };
}, },
sumitLockStatus(row) { sumitLockStatus(row) {

Loading…
Cancel
Save