|
|
|
|
@ -154,6 +154,30 @@
|
|
|
|
|
@pagination="getCodeList"
|
|
|
|
|
></pagination>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane>
|
|
|
|
|
<span slot="label">单据 {{ orderData.billNo }}-业务详情</span>
|
|
|
|
|
<el-table :data="busDataList" style="width: 100%;" highlight-current-row="true" border ref="multipleTable"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="药品编码" prop="nameCode"></el-table-column>
|
|
|
|
|
<el-table-column label="产品通用名称" prop="cpmctymc" width="120"></el-table-column>
|
|
|
|
|
<el-table-column label="批准文号" prop="zczbhhzbapzbh"></el-table-column>
|
|
|
|
|
<el-table-column label="包装规格" prop="spec" width="80"></el-table-column>
|
|
|
|
|
<el-table-column label="批次号" prop="batchNo"></el-table-column>
|
|
|
|
|
<el-table-column label="生产日期" prop="productDate"></el-table-column>
|
|
|
|
|
<el-table-column label="失效日期" prop="expireDate"></el-table-column>
|
|
|
|
|
<el-table-column label="医保编码" prop="ybbm"></el-table-column>
|
|
|
|
|
<el-table-column label="生产厂家" prop="manufactory"></el-table-column>
|
|
|
|
|
<!--<el-table-column label="扫码数量" prop="scanActCount"></el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="busDataTotal>0"
|
|
|
|
|
:total="busDataTotal"
|
|
|
|
|
:limit.sync="busQuery.limit"
|
|
|
|
|
:page.sync="busQuery.page"
|
|
|
|
|
@pagination="getBizDetailList"
|
|
|
|
|
></pagination>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -198,6 +222,13 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10
|
|
|
|
|
},
|
|
|
|
|
busQuery: {
|
|
|
|
|
billNo: null,
|
|
|
|
|
orderIdFk: null,
|
|
|
|
|
code: null,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10
|
|
|
|
|
},
|
|
|
|
|
filterQuery: {
|
|
|
|
|
code: '',
|
|
|
|
|
billNo: null,
|
|
|
|
|
@ -216,7 +247,9 @@ export default {
|
|
|
|
|
curRow: null,
|
|
|
|
|
codeList: [],
|
|
|
|
|
|
|
|
|
|
checkCodeList: []
|
|
|
|
|
checkCodeList: [],
|
|
|
|
|
busDataList:[],
|
|
|
|
|
busDataTotal:0
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -273,6 +306,7 @@ export default {
|
|
|
|
|
this.$refs.inputRef.select()
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
this.getCodeList()
|
|
|
|
|
this.getBizDetailList()
|
|
|
|
|
}else {
|
|
|
|
|
this.$refs.inputRef.focus()
|
|
|
|
|
this.$refs.inputRef.select()
|
|
|
|
|
@ -303,21 +337,19 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getBizDetailList() {
|
|
|
|
|
let preQuery = {}
|
|
|
|
|
if (this.filterQuery == null) {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (this.filterQuery != null) {
|
|
|
|
|
preQuery = {
|
|
|
|
|
|
|
|
|
|
orderIdFk: this.filterQuery.billNo
|
|
|
|
|
}
|
|
|
|
|
if (this.orderData != null) {
|
|
|
|
|
// this.codeQuery.page = 1
|
|
|
|
|
this.busQuery.orderIdFk = this.orderData.billNo
|
|
|
|
|
// this.codeQuery.bizIdFk = this.bizId
|
|
|
|
|
}
|
|
|
|
|
orderDetail(preQuery).then(res => {
|
|
|
|
|
orderDetail(this.busQuery).then(res => {
|
|
|
|
|
if (res.code != 20000) {
|
|
|
|
|
this.$message.error(res.message)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.busDataList = res.data.list
|
|
|
|
|
this.busDataTotal = res.data.total
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
this.$message.error('数据加载失败')
|
|
|
|
|
})
|
|
|
|
|
@ -505,6 +537,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
batchVailCode(params) {
|
|
|
|
|
// batchVailCode(params).then((res) => {
|
|
|
|
|
// if (res.code === 20000) {
|
|
|
|
|
|