|
|
@ -89,13 +89,16 @@
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="searchList" size="mini">查询</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="searchList" size="mini">查询</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="getSuperSeaech" size="mini">国家同步库查询</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="getSuperSeaech" size="mini">国家同步库查询</el-button>
|
|
|
|
<el-button type="primary" size="mini" icon="el-icon-bottom-right" @click="checkCombine" :loading="combineLoading">选入</el-button>
|
|
|
|
<el-button type="primary" size="mini" icon="el-icon-bottom-right" @click="checkCombine"
|
|
|
|
|
|
|
|
:loading="combineLoading">选入
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
</el-button-group>
|
|
|
|
</el-button-group>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table :data="udidlList" style="width: 100%" v-loading="loading" border highlight-current-row="true" :row-class-name="tableRowClassName" @current-change="handleErpChange" ref="diList">
|
|
|
|
<el-table :data="udidlList" style="width: 100%" v-loading="loading" border highlight-current-row="true"
|
|
|
|
|
|
|
|
:row-class-name="tableRowClassName" @current-change="handleErpChange" ref="diList">
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="产品标识" prop="nameCode" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="产品标识" prop="nameCode" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="物资名称" prop="cpmctymc" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="物资名称" prop="cpmctymc" show-overflow-tooltip></el-table-column>
|
|
|
@ -154,7 +157,8 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-form-item label="医保编码:">
|
|
|
|
<el-form-item label="医保编码:">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.ybbm" @input="change($event)"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.ybbm"
|
|
|
|
|
|
|
|
@input="change($event)"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -167,7 +171,8 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-form-item label="生产企业:">
|
|
|
|
<el-form-item label="生产企业:">
|
|
|
|
<el-input style="width: 65%" size="small" v-model="editQuery.manufactory" splaceholder="请输入内容" @input="change($event)"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" v-model="editQuery.manufactory" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
@input="change($event)"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -188,7 +193,8 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-form-item label="产品价格:">
|
|
|
|
<el-form-item label="产品价格:">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" type="number" step="0.01" v-model="editQuery.price"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" type="number" step="0.01"
|
|
|
|
|
|
|
|
v-model="editQuery.price"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -196,13 +202,15 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable1">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable1">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle1 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle1 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak1"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak1"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable2">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable2">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle2 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle2 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak2"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak2"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -210,13 +218,15 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable3">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable3">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle3 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle3 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak3"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak3"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable4">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable4">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle4 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle4 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak4"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak4"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -224,13 +234,15 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable5">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable5">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle5 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle5 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak5"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak5"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable6">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable6">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle6 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle6 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak6"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak6"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -238,13 +250,15 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable7">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable7">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle7 ">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle7 ">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak7"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak7"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable8">
|
|
|
|
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable8">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle8">
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle8">
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.basicPrductRemak8"></el-input>
|
|
|
|
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
|
|
|
|
|
|
|
|
v-model="editQuery.basicPrductRemak8"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -350,6 +364,7 @@ export default {
|
|
|
|
measname: null,
|
|
|
|
measname: null,
|
|
|
|
sptm: null,
|
|
|
|
sptm: null,
|
|
|
|
uuids: null,
|
|
|
|
uuids: null,
|
|
|
|
|
|
|
|
devKeys: [],
|
|
|
|
customerId: store.getters.customerId
|
|
|
|
customerId: store.getters.customerId
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -499,7 +514,10 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let uuids = []
|
|
|
|
let uuids = []
|
|
|
|
uuids.push(this.curSelectDi.uuid)
|
|
|
|
uuids.push(this.curSelectDi.uuid)
|
|
|
|
|
|
|
|
let devKeys = []
|
|
|
|
|
|
|
|
devKeys.push(this.curSelectDi.deviceRecordKey)
|
|
|
|
this.editQuery.uuids = uuids
|
|
|
|
this.editQuery.uuids = uuids
|
|
|
|
|
|
|
|
this.editQuery.devKeys = devKeys
|
|
|
|
addDiProduct(this.editQuery).then((res) => {
|
|
|
|
addDiProduct(this.editQuery).then((res) => {
|
|
|
|
if (res.code === 20000) {
|
|
|
|
if (res.code === 20000) {
|
|
|
|
this.$message.success('添加成功')
|
|
|
|
this.$message.success('添加成功')
|
|
|
|