feat: 科室出库-优化--扫码页面未完善

dev_ksck2.0
chenhc 1 year ago
parent 74761827a5
commit 752f8c5eb0

@ -4,7 +4,7 @@
> >
<template #header> <template #header>
<el-form class="query-form" size="mini"> <el-form class="query-form" size="mini">
<el-form-item class="query-form-item" label-width="27%" label="姓 名:" > <el-form-item class="query-form-item" label-width="23%" label="姓 名:" >
<el-input <el-input
v-model="info.name" v-model="info.name"
placeholder="请输入姓名" placeholder="请输入姓名"
@ -15,7 +15,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item" label-width="27%" label="住院号:" > <el-form-item class="query-form-item" label-width="23%" label="住院号:" >
<el-input <el-input
v-model="info.adNum" v-model="info.adNum"
placeholder="请输入住院号" placeholder="请输入住院号"

@ -37,14 +37,14 @@
<el-card class="el-card"> <el-card class="el-card">
<el-row> <el-row>
<el-col :span="4" v-for="(bazi,key) in list" :key="key" class="text-center"> <el-col :span="6" v-for="(bazi,key) in list" :key="key" class="text-center">
<BaziPanel :info="bazi" @baziPanel="getValue"></BaziPanel> <BaziPanel :info="bazi" @baziPanel="getValue"></BaziPanel>
</el-col> </el-col>
</el-row> </el-row>
<pagination style="height: 20px" <pagination style="height: 20px"
v-show="total>0" v-show="total>0"
:total="total" :total="total"
:page-sizes=[24,48,96] :page-sizes=[12,24,36]
:page.sync="filterQuery.page" :page.sync="filterQuery.page"
:limit.sync="filterQuery.limit" :limit.sync="filterQuery.limit"
@pagination="getList" @pagination="getList"
@ -185,7 +185,7 @@ export default {
orderId: null, orderId: null,
code: null, code: null,
page: 1, page: 1,
limit: 24 limit: 12
}, },
total: 0, total: 0,
list: [], list: [],
@ -193,7 +193,7 @@ export default {
filterQuery: { filterQuery: {
name: '', name: '',
page: 1, page: 1,
limit: 24 limit: 12
}, },
sickerAdNum:null, sickerAdNum:null,
@ -250,13 +250,8 @@ export default {
.then((response) => { .then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.orderListDate = response.data || [] this.orderListDate = response.data || []
if (this.orderListDate.length > 0){
this.idQuery = this.orderListDate[0] this.idQuery = this.orderListDate[0]
}else { this.sickerAdNum = info.adNum
this.idQuery.fromCorp = this.idQuery.fromCorp
this.idQuery.sickerAdNum = this.idQuery.sickerAdNum
this.sickerAdNum =this.idQuery.sickerAdNum
}
this.addOrderVisible = true this.addOrderVisible = true
} else { } else {
this.$message.error(response.message) this.$message.error(response.message)

Loading…
Cancel
Save