From 51d9ab325427d3d0466d2aaf4121413d84cdb027 Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Thu, 13 Mar 2025 12:07:06 +0800
Subject: [PATCH 1/2] =?UTF-8?q?3/13=20=E7=95=8C=E9=9D=A2=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=20=E8=BF=BD=E6=BA=AF=E7=A0=81=E6=9F=A5=E8=AF=A2=E7=95=8C?=
=?UTF-8?q?=E9=9D=A2=20=E5=BA=93=E5=AD=98=E8=AE=B0=E5=BD=95=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E7=95=8C=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/biz/traceQuery.js | 25 +--
src/views/biz/DrugTraceQuery.vue | 221 ++++++++++++-------------
src/views/collect/IosplitFifoStock.vue | 13 +-
3 files changed, 124 insertions(+), 135 deletions(-)
diff --git a/src/api/biz/traceQuery.js b/src/api/biz/traceQuery.js
index 30af345e..67339511 100644
--- a/src/api/biz/traceQuery.js
+++ b/src/api/biz/traceQuery.js
@@ -1,4 +1,5 @@
import request from '@/utils/request'
+import axios from '@/utils/request'
/**
* 获取单据记录
@@ -18,12 +19,12 @@ export function getOrderRecords(data) {
* @param {Object} data 查询参数
* @returns {Promise} 请求结果
*/
-export function getOrderDetails(data) {
- return request({
- url: '/udiwms/inout/bizDetail/filterList',
- method: 'post',
- data
- })
+export function getOrderDetails(query) {
+ return axios({
+ url: "/udiwms/basic/collect/ioCollectCodeBackup/getOrderDetails",
+ method: "get",
+ params: query
+ });
}
/**
@@ -31,10 +32,10 @@ export function getOrderDetails(data) {
* @param {Object} data 查询参数
* @returns {Promise} 请求结果
*/
-export function getDrugInfo(data) {
- return request({
- url: '/di/udirel/filterUdi',
- method: 'post',
- data
- })
+export function getDrugInfo(query) {
+ return axios({
+ url: "/udiwms/basic/collect/ioCollectCodeBackup/retrace",
+ method: "get",
+ params: query
+ });
}
diff --git a/src/views/biz/DrugTraceQuery.vue b/src/views/biz/DrugTraceQuery.vue
index ea45b559..e5bec711 100644
--- a/src/views/biz/DrugTraceQuery.vue
+++ b/src/views/biz/DrugTraceQuery.vue
@@ -8,17 +8,17 @@
药品信息查询
-
+
-
-
-
@@ -28,37 +28,37 @@
-
-
+
+
- 药品基本信息
+ 药品基本信息
{{ drugInfo.cpmctymc || '-' }}
{{ drugInfo.nameCode || '-' }}
{{ drugInfo.prepnSpec || '-' }}
- {{ drugInfo.bzgg || '-' }}
+ {{ drugInfo.ggxh || '-' }}
{{ drugInfo.manufactory || '-' }}
{{ drugInfo.zczbhhzbapzbh || '-' }}
- {{ drugInfo.measname || '-' }}
+
-
-
+
+
- 追溯记录
+ 追溯记录
-
+
@@ -76,7 +76,7 @@
- 流通流程
+ 流通流程
-
-
+
+
- 单据明细
-
-
-
+
-