|
@@ -1,14 +1,9 @@
|
|
|
<template>
|
|
|
- <!-- 商品退货管理————待确认 -->
|
|
|
+ <!-- 手术包模板 -->
|
|
|
<div>
|
|
|
- <!-- <div class="right-button">
|
|
|
- <el-button type="primary" @click="handleConfirm" :loading="sureLoading"
|
|
|
- >确 认</el-button
|
|
|
- >
|
|
|
- <el-button type="danger" @click="handleRefuse" :loading="refuseLoading"
|
|
|
- >拒 绝</el-button
|
|
|
- >
|
|
|
- </div> -->
|
|
|
+ <div class="right-button">
|
|
|
+ <el-button type="primary" @click="handleAddmcs">添加耗材</el-button>
|
|
|
+ </div>
|
|
|
<div class="common-card">
|
|
|
<h3>基本信息</h3>
|
|
|
<el-form
|
|
@@ -19,52 +14,56 @@
|
|
|
>
|
|
|
<div class="form-body">
|
|
|
<div class="flex-css">
|
|
|
- <el-form-item label="退货单号" prop="id">
|
|
|
- <div class="content">
|
|
|
- {{ listForm.id }}
|
|
|
+ <el-form-item label="适用科室" prop="dept" :rules="rules.selectRequired">
|
|
|
+ <div class="content" v-if="isShow">
|
|
|
+ {{ listForm.dept }}
|
|
|
</div>
|
|
|
+ <el-select v-else v-model="listForm.dept" placeholder="请选择适用科室" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in deptOptions"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.label"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="退货品种" prop="detlCnt">
|
|
|
- <div class="content">
|
|
|
- {{ listForm.detlCnt }}
|
|
|
+ <el-form-item label="模板名称" prop="tmplName" :rules="rules.required">
|
|
|
+ <div class="content" v-if="isShow">
|
|
|
+ {{ listForm.tmplName }}
|
|
|
</div>
|
|
|
+ <el-input
|
|
|
+ v-else
|
|
|
+ v-model="listForm.tmplName"
|
|
|
+ placeholder="请输入模板名称"
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="退货总数" prop="retnCnt">
|
|
|
- <div class="content">
|
|
|
- {{ listForm.retnCnt }}
|
|
|
+ <el-form-item label="适用手术" prop="oprn" :rules="rules.selectRequired">
|
|
|
+ <div class="content" v-if="isShow">
|
|
|
+ {{ listForm.oprn }}
|
|
|
</div>
|
|
|
+ <el-select v-else v-model="listForm.oprn" placeholder="请选择适用手术" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in oprnOptions"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.label"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
- <div class="flex-css">
|
|
|
- <el-form-item label="退货金额" prop="retnAmt">
|
|
|
- <div class="content">
|
|
|
- {{ listForm.retnAmt }}
|
|
|
- </div>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="发起人" prop="docmker">
|
|
|
+ <!-- <div class="flex-css">
|
|
|
+ <el-form-item label="供应商" prop="lstUpdUsrName">
|
|
|
<div class="content">
|
|
|
- {{ listForm.docmker }}
|
|
|
+ {{ listForm.lstUpdUsrName }}
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="发起时间" prop="docmkDate">
|
|
|
- <div class="content">
|
|
|
- {{ listForm.docmkDate }}
|
|
|
- </div>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="flex-css">
|
|
|
- <el-form-item label="当前状态" prop="stas">
|
|
|
- <div class="content">
|
|
|
- {{ listForm.stas }}
|
|
|
- </div>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
<div class="common-card">
|
|
|
- <h3>退货明细</h3>
|
|
|
- <el-form :model="list" ref="listRef">
|
|
|
+ <h3>模板明细</h3>
|
|
|
+ <el-form :model="list" ref="tabledata">
|
|
|
<el-table
|
|
|
v-loading="listLoading"
|
|
|
element-loading-text="加载中"
|
|
@@ -72,7 +71,6 @@
|
|
|
fit
|
|
|
stripe
|
|
|
border
|
|
|
- @selection-change="handleSelectionChange"
|
|
|
>
|
|
|
<template slot="empty">
|
|
|
<img src="@/assets/nopage.png" alt />
|
|
@@ -80,8 +78,8 @@
|
|
|
</template>
|
|
|
<!-- <el-table-column type="selection" width="60" /> -->
|
|
|
<el-table-column fixed type="index" label="序号" width="60" />
|
|
|
+ <el-table-column label="耗材编码" prop="materialId" />
|
|
|
<el-table-column label="医保编码" prop="hiCode" />
|
|
|
- <el-table-column label="耗材编码" prop="prodCode" />
|
|
|
<el-table-column label="耗材信息" prop="prodName" width="300">
|
|
|
<template slot-scope="scope">
|
|
|
<mcs-info :info="scope.row"></mcs-info>
|
|
@@ -96,7 +94,26 @@
|
|
|
<span v-if="row.isFas == '1'">是</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="包装" prop="convrat">
|
|
|
+ <el-table-column label="数量" prop="cnt" width="150">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item
|
|
|
+ label-width="0"
|
|
|
+ class="item"
|
|
|
+ :prop="scope.$index + '.cnt'"
|
|
|
+ :rules="[
|
|
|
+ {
|
|
|
+ required: true,
|
|
|
+ pattern: /^[0-9]\d*$/,
|
|
|
+ message: '请输入正整数',
|
|
|
+ trigger: 'blur',
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ >
|
|
|
+ <el-input placeholder="请输入" v-model="scope.row.cnt"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="包装单位" prop="convrat">
|
|
|
<template #default="{ row }">
|
|
|
<span
|
|
|
>{{ row.purcUnt }} ({{ row.convrat }}{{ row.prcUnt }}/{{
|
|
@@ -105,38 +122,152 @@
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column label="采购数量" prop="purcCnt" /> -->
|
|
|
- <el-table-column label="单价" prop="purcPric">
|
|
|
- <template #default="{ row }">
|
|
|
- <span>{{ row.retnPric }}元/{{ row.prcUnt }}</span>
|
|
|
+ <el-table-column label="操作">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="text" style="color: red" @click="handleDel(scope.row)"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="退货数量" prop="retnCnt" />
|
|
|
- <el-table-column label="退货金额" prop="retnAmt" />
|
|
|
</el-table>
|
|
|
- <!-- <p class="price-css">合计数量:{{}} <span></span>合计金额: {{}}</p> -->
|
|
|
</el-form>
|
|
|
</div>
|
|
|
- <div class="common-card">
|
|
|
- <h3>退货原因</h3>
|
|
|
+ <div class="foot-button">
|
|
|
+ <el-button type="primary" @click="handleBc">保 存</el-button>
|
|
|
+ <el-button type="primary" @click="handleBack">返 回</el-button>
|
|
|
+ </div>
|
|
|
+ <!-- 添加耗材 mcsDialog-->
|
|
|
+ <el-dialog title="添加耗材" :visible.sync="mcsDialog" width="70%">
|
|
|
<el-form
|
|
|
- :model="listForm"
|
|
|
- ref="listform"
|
|
|
- label-width="237px"
|
|
|
- class="grid-form-class"
|
|
|
+ class="dialogForm"
|
|
|
+ :model="listQuery"
|
|
|
+ ref="queryForm"
|
|
|
+ :inline="true"
|
|
|
+ label-width="100px"
|
|
|
>
|
|
|
- <div class="form-body">
|
|
|
- <div class="flex-css">
|
|
|
- <el-form-item label="退货原因" prop="rejtRea">
|
|
|
- <el-input v-model="listForm.rejtRea" readonly></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
+ <el-form-item label="耗材信息" prop="prodName">
|
|
|
+ <el-input v-model="listQuery.prodName" placeholder="请输入耗材名称/医保编码"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="规格" prop="spec">
|
|
|
+ <el-input v-model="listQuery.spec" placeholder="请输入规格"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="型号" prop="mol">
|
|
|
+ <el-input v-model="listQuery.mol" placeholder="请输入型号"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="生产企业" prop="prodEntp">
|
|
|
+ <el-input v-model="listQuery.prodEntp" placeholder="请输入生产企业"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item label="供应商" prop="isFas">
|
|
|
+ </el-form-item> -->
|
|
|
+ <el-form-item label="是否集采" prop="isFas">
|
|
|
+ <el-select v-model="listQuery.isFas" placeholder="请选择是否集采" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in isFasOptions"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="耗材类别" prop="mcsType">
|
|
|
+ <el-select v-model="listQuery.mcsType" placeholder="请选择耗材类别" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in mcsTypeOptions"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="生产来源" prop="prodSouc">
|
|
|
+ <el-select v-model="listQuery.prodSouc" placeholder="请选择生产来源" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in prodSoucOptions"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="材质" prop="matl">
|
|
|
+ <el-input v-model="listQuery.matl" placeholder="请输入材质"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="注册证号" prop="regcertno">
|
|
|
+ <el-input v-model="listQuery.regcertno" placeholder="请输入注册证号"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item> -->
|
|
|
+ <div class="right-button">
|
|
|
+ <el-button type="primary" @click="getdiaMcs('search')">查询</el-button>
|
|
|
+ <el-button @click="reset">重置</el-button>
|
|
|
+ <!-- </el-form-item> -->
|
|
|
</div>
|
|
|
</el-form>
|
|
|
- </div>
|
|
|
- <div class="foot-button">
|
|
|
- <el-button type="primary" @click="handleBack">返回</el-button>
|
|
|
- </div>
|
|
|
+ <el-table
|
|
|
+ element-loading-text="加载中"
|
|
|
+ :data="mcsData"
|
|
|
+ fit
|
|
|
+ stripe
|
|
|
+ border
|
|
|
+ height="400px"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ row-key="hiCode"
|
|
|
+ v-loading="dialogLoading"
|
|
|
+ ref="multipleTable"
|
|
|
+ >
|
|
|
+ <template slot="empty">
|
|
|
+ <img src="@/assets/nopage.png" alt />
|
|
|
+ <p>暂无数据</p>
|
|
|
+ </template>
|
|
|
+ <el-table-column
|
|
|
+ type="selection"
|
|
|
+ width="60"
|
|
|
+ :reserve-selection="true"
|
|
|
+ :selectable="selected"
|
|
|
+ />
|
|
|
+ <el-table-column type="index" label="序号" width="60" />
|
|
|
+ <el-table-column label="耗材编码" prop="materialId" />
|
|
|
+ <el-table-column label="医保编码" prop="hiCode" />
|
|
|
+ <el-table-column label="耗材信息" prop="prodName" width="300">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <mcs-info :info="scope.row"></mcs-info>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="规格" prop="spec" />
|
|
|
+ <el-table-column label="型号" prop="mol" />
|
|
|
+ <el-table-column label="材质" prop="matl" />
|
|
|
+ <el-table-column label="是否集采" prop="isFas">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <span v-if="row.isFas == '0'">否</span>
|
|
|
+ <span v-if="row.isFas == '1'">是</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="供应商" prop="retnCnt" />
|
|
|
+ <el-table-column label="申领包装" prop="convrat">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <span
|
|
|
+ >{{ row.purcUnt }} ({{ row.convrat }}{{ row.prcUnt }}/{{
|
|
|
+ row.purcUnt
|
|
|
+ }})</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="单价" prop="purcPric">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <span>{{ row.purcPric }}元/{{ row.prcUnt }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <yl-pagination
|
|
|
+ v-show="totalD > 0"
|
|
|
+ :total="totalD"
|
|
|
+ :page.sync="listQuery.current"
|
|
|
+ :limit.sync="listQuery.size"
|
|
|
+ @pagination="getdiaMcs"
|
|
|
+ />
|
|
|
+ <div class="foot-button" style="margin-top: 30px">
|
|
|
+ <el-button type="primary" @click="clickMcs">确 认</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -145,7 +276,9 @@ import ylStep from "@/components/yl-step";
|
|
|
import ylPagination from "@/components/yl-pagination";
|
|
|
import mcsInfo from "@/views/components/mcs-info.vue";
|
|
|
import { selectRetnDetl, acpRetnOrd } from "@/api/productreturnmanage-sup/returnList";
|
|
|
-
|
|
|
+import rules from "@/utils/rules";
|
|
|
+import { selectSplerMcsList } from "@/api/consumCataManage-sup/index";
|
|
|
+import {saveBoneTemplate} from "@/api/mainrTenance-sup/index"
|
|
|
export default {
|
|
|
components: {
|
|
|
ylStep,
|
|
@@ -154,69 +287,186 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ rules,
|
|
|
listForm: {
|
|
|
- id: "",
|
|
|
- detlCnt: "",
|
|
|
- retnCnt: "",
|
|
|
- retnAmt: "",
|
|
|
- branchName: "",
|
|
|
- docmker: "",
|
|
|
- docmkDate: "",
|
|
|
- stas: "",
|
|
|
- rejtRea: "",
|
|
|
+ lstUpdUsrName: "",
|
|
|
+ tmplName: "",
|
|
|
+ oprn: "",
|
|
|
+ dept: "",
|
|
|
},
|
|
|
- stasOptions: [
|
|
|
- { value: "A", lable: "待确认" },
|
|
|
- { value: "B", lable: "已确认" },
|
|
|
- { value: "R", lable: "已拒绝" },
|
|
|
- ],
|
|
|
listLoading: false,
|
|
|
list: [],
|
|
|
- // isShow: false,
|
|
|
- sureLoading: false,
|
|
|
- refuseLoading: false,
|
|
|
+ isShow: false,
|
|
|
+ mcsDialog: false,
|
|
|
+ listQuery: {
|
|
|
+ prodName: "",
|
|
|
+ spec: "",
|
|
|
+ mol: "",
|
|
|
+ prodEntp: "",
|
|
|
+ isFas: "",
|
|
|
+ mcsType: "",
|
|
|
+ prodSouc: "",
|
|
|
+ matl: "",
|
|
|
+ regcertno: "",
|
|
|
+ spdId: this.$route.query.spdId,
|
|
|
+ current: 1,
|
|
|
+ size: 10,
|
|
|
+ },
|
|
|
+ mcsData: [],
|
|
|
+ dialogLoading: false,
|
|
|
+ totalD: 0,
|
|
|
+ dialogSelect: [],
|
|
|
+ oprnOptions:[
|
|
|
+ {value:"1",label:"111"},
|
|
|
+ {value:"2",label:"222"},
|
|
|
+ ],
|
|
|
+ deptOptions:[
|
|
|
+ {value:"1",label:"111"},
|
|
|
+ {value:"2",label:"222"},
|
|
|
+ ],
|
|
|
+ isFasOptions: [
|
|
|
+ { value: "1", label: "是" },
|
|
|
+ { value: "0", label: "否" },
|
|
|
+ ],
|
|
|
+ mcsTypeOptions: [
|
|
|
+ { value: "0", label: "普通耗材" },
|
|
|
+ { value: "1", label: "高值耗材" },
|
|
|
+ { value: "2", label: "试剂" },
|
|
|
+ ],
|
|
|
+ prodSoucOptions: [
|
|
|
+ { value: "1", label: "国产" },
|
|
|
+ { value: "2", label: "进口" },
|
|
|
+ ],
|
|
|
};
|
|
|
},
|
|
|
- created() {
|
|
|
- this.listForm.id = this.$route.query.id;
|
|
|
- this.listForm.detlCnt = this.$route.query.detlCnt;
|
|
|
- this.listForm.retnCnt = this.$route.query.retnCnt;
|
|
|
- this.listForm.retnAmt = this.$route.query.retnAmt;
|
|
|
- this.listForm.branchName = this.$route.query.branchName;
|
|
|
- this.listForm.docmker = this.$route.query.docmker;
|
|
|
- this.listForm.docmkDate = this.$route.query.docmkDate;
|
|
|
- this.listForm.rejtRea = this.$route.query.rejtRea;
|
|
|
- this.stasOptions.forEach((i) => {
|
|
|
- if (i.value == this.$route.query.stas) {
|
|
|
- this.listForm.stas = i.lable;
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
- mounted() {
|
|
|
- this.getData();
|
|
|
- },
|
|
|
+ created() {},
|
|
|
+ mounted() {},
|
|
|
methods: {
|
|
|
- getData() {
|
|
|
- this.listLoading = true;
|
|
|
- selectRetnDetl({ id: this.$route.query.id })
|
|
|
+ handleBc() {
|
|
|
+ if (this.list.length == 0) {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "请选择模板明细",
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$refs.listform.validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ this.$refs.tabledata.validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ this.$confirm("确认提交", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }).then(() => {
|
|
|
+ let listquery = [];
|
|
|
+ this.list.forEach((v)=>{
|
|
|
+ listquery.push({
|
|
|
+ cnt:v.cnt,
|
|
|
+ hiCode:v.hiCode
|
|
|
+ })
|
|
|
+ })
|
|
|
+ let bath = {
|
|
|
+ tmplName: this.listForm.tmplName,
|
|
|
+ oprn: this.listForm.oprn,
|
|
|
+ dept: this.listForm.dept,
|
|
|
+ spdId: this.$route.query.spdId,
|
|
|
+ detlList: listquery,
|
|
|
+ };
|
|
|
+ console.log(bath, "bath");
|
|
|
+ saveBoneTemplate(bath)
|
|
|
+ .then((res) => {
|
|
|
+ this.$message.success("保存成功");
|
|
|
+ this.$router.push({
|
|
|
+ name: "Surgicalbag",
|
|
|
+ query:{
|
|
|
+ spdId:this.$route.query.spdId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ this.$message.error("保存失败");
|
|
|
+ });
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "请填写必填项信息",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ handleBack() {
|
|
|
+ this.$router.push({
|
|
|
+ name: "Surgicalbag",
|
|
|
+ query: { spdId: this.$route.query.spdId },
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 添加耗材弹框
|
|
|
+ handleAddmcs() {
|
|
|
+ this.mcsDialog = true;
|
|
|
+ this.dialogLoading = true;
|
|
|
+ this.listQuery.current = "1";
|
|
|
+ selectSplerMcsList(this.listQuery)
|
|
|
.then((res) => {
|
|
|
- this.list = res.data;
|
|
|
- this.listLoading = false;
|
|
|
+ this.mcsData = res.data.records;
|
|
|
+ this.totalD = res.data.total;
|
|
|
+ this.dialogLoading = false;
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- this.listLoading = false;
|
|
|
+ this.dialogLoading = false;
|
|
|
});
|
|
|
},
|
|
|
- handleBack() {
|
|
|
- this.$router.push({
|
|
|
- name: "returnOrderAccept",
|
|
|
- query: {
|
|
|
- spdId: this.$route.query.spdId,
|
|
|
- },
|
|
|
- });
|
|
|
+ getdiaMcs() {
|
|
|
+ this.dialogLoading = true;
|
|
|
+ selectSplerMcsList(this.listQuery)
|
|
|
+ .then((res) => {
|
|
|
+ this.mcsData = res.data.records;
|
|
|
+ this.totalD = res.data.total;
|
|
|
+ this.dialogLoading = false;
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ this.dialogLoading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ reset() {
|
|
|
+ this.$refs.queryForm.resetFields();
|
|
|
+ this.getdiaMcs();
|
|
|
+ },
|
|
|
+ // 选择耗材
|
|
|
+ handleSelectionChange(row) {
|
|
|
+ this.dialogSelect = row;
|
|
|
+ },
|
|
|
+ //确认
|
|
|
+ clickMcs() {
|
|
|
+ this.mcsDialog = false;
|
|
|
+ this.list = this.dialogSelect;
|
|
|
+ // this.$refs.multipleTable.clearSelection()
|
|
|
+ },
|
|
|
+ // 删除
|
|
|
+ handleDel(row, indexed) {
|
|
|
+ this.list = this.list.filter((item) => item.hiCode !== row.hiCode);
|
|
|
},
|
|
|
+ // 禁选
|
|
|
+ // selected(row, index) {
|
|
|
+ // if (
|
|
|
+ // this.list.some((el) => {
|
|
|
+ // return el.hiCode === row.hiCode;
|
|
|
+ // })
|
|
|
+ // ) {
|
|
|
+ // return false;
|
|
|
+ // } else {
|
|
|
+ // return true;
|
|
|
+ // }
|
|
|
+ // },
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped></style>
|
|
|
+<style lang="scss" scoped>
|
|
|
+.dialogForm ::v-deep .el-input__inner {
|
|
|
+ width: 200px;
|
|
|
+}
|
|
|
+</style>
|