diff --git a/App.vue b/App.vue
index 8a1e5ae..e63c163 100644
--- a/App.vue
+++ b/App.vue
@@ -12,13 +12,16 @@ onLaunch(async () => {
// #ifdef APP-PLUS
let sysInfo = uni.getSystemInfoSync()
let brand = sysInfo.brand.toLowerCase()
- if (brand === 'chainway') {
+
+ if (brand === 'huawei') {
plus.screen.lockOrientation('landscape')
}
- urovo.scanRegister(data => {
- console.log('优博讯扫码结果:' + data)
- $store('biz').scanQRInfo = data
- })
+ if (brand === 'urovo') {
+ urovo.scanRegister(data => {
+ console.log('优博讯扫码结果:' + data)
+ $store('biz').scanQRInfo = data
+ })
+ }
// #endif
})
diff --git a/components/sample/sample-detail-popup.vue b/components/sample/sample-detail-popup.vue
index 9defde2..25ec113 100644
--- a/components/sample/sample-detail-popup.vue
+++ b/components/sample/sample-detail-popup.vue
@@ -70,7 +70,7 @@ const open = () => {
justify-content: space-between;
margin-bottom: 10px;
border-bottom: 1px solid #eee;
- padding: 4px 0;
+ padding: 8px 0;
}
.label-my {
color: #606266;
@@ -80,7 +80,8 @@ const open = () => {
text-align: center;
font-size: 18px;
font-weight: 400;
- padding: 10px;
+ padding: 20px;
+ padding-top: 35px;
background-color: $uni-color-primary;
color: #fff;
}
diff --git a/defaultBaseUrl.js b/defaultBaseUrl.js
index 8d4dde1..283777f 100644
--- a/defaultBaseUrl.js
+++ b/defaultBaseUrl.js
@@ -1,8 +1,8 @@
// 在此不用配置接口前缀
const isDev = process.env.NODE_ENV === 'development'
-// const BaseUrl = isDev ? 'http://192.168.26.116:888/admin-api' : 'http://192.168.26.116:888/admin-api'
-const BaseUrl = isDev ? 'http://192.168.26.190:48080/admin-api' : 'http://192.168.26.116:888/admin-api'
-
+const BaseUrl = isDev ? 'http://192.168.26.116:888/admin-api' : 'http://192.168.26.116:888/admin-api'
+// const BaseUrl = isDev ? 'http://192.168.26.163:48080/admin-api' : 'http://192.168.26.116:888/admin-api'
+//
// const BaseUrl = isDev ? 'http://localhost:9999' : ''
const upgradeBaseUrl = 'http://192.168.26.116:888'
diff --git a/nx/api/sampleWarehouse.js b/nx/api/sampleWarehouse.js
index f925768..eec7398 100644
--- a/nx/api/sampleWarehouse.js
+++ b/nx/api/sampleWarehouse.js
@@ -11,7 +11,7 @@ export default {
execReturnToStock: data =>
request({
url: '/qms/business-sub-sample/execReturnToStock',
- method: 'GET',
+ method: 'POST',
data
}),
// 库位变更
@@ -42,6 +42,20 @@ export default {
method: 'POST',
data
}),
+ // 调拨创建临时数据
+ createDispatchTempData: data =>
+ request({
+ url: '/qms/business-sample-dispatch/createTempData',
+ method: 'POST',
+ data
+ }),
+ // 按样品添加内部调拨数据
+ addDispatchSample: data =>
+ request({
+ url: '/qms/business-sample-dispatch/addBySampleCode',
+ method: 'POST',
+ data
+ }),
// 查询待归还样品
searchBySampleCode: params =>
request({
diff --git a/nx/api/user.js b/nx/api/user.js
index 389c15e..b390a7f 100644
--- a/nx/api/user.js
+++ b/nx/api/user.js
@@ -34,5 +34,12 @@ export default {
url: '/sys/app-client-role/getListByUserIdAndClientId',
method: 'GET'
})
- }
+ },
+ // 获取当前部门下的用户
+ getAssignUserList: params =>
+ request({
+ url: '/qms/bus/sample/task-assign/getAssignUserList',
+ method: 'GET',
+ params
+ })
}
diff --git a/nx/hooks/usePageListData.js b/nx/hooks/usePageListData.js
index 2a97791..67a6841 100644
--- a/nx/hooks/usePageListData.js
+++ b/nx/hooks/usePageListData.js
@@ -7,7 +7,7 @@ export function useListData({ searchParams, api, needInitListData = false, proce
const loadingData = ref(true)
const pageParams = reactive({
pageNo: 1,
- pageSize: 5
+ pageSize: 10
})
const total = ref(0)
const loadStatus = ref('loadmore')
diff --git a/pages/analysis/sample/components/task-item.vue b/pages/analysis/sample/components/task-item.vue
index 4856973..f42decb 100644
--- a/pages/analysis/sample/components/task-item.vue
+++ b/pages/analysis/sample/components/task-item.vue
@@ -5,13 +5,13 @@
-
+
{{ seq }}
- {{ task.taskNo }}
- {{ task.taskName }}{{ task.assayOper }}
+ {{ task.taskNo }}
+ {{ task.taskName }}{{ task.assayOper }}
{{ taskOperatorTime }}
@@ -75,8 +75,8 @@ const taskStyle = task => {
}
.seq {
position: absolute;
- top: 12px;
- left: 12px;
+ top: 20px;
+ left: 20px;
color: #fff;
font-size: 11px;
}
diff --git a/pages/analysis/sample/sample-report-search.vue b/pages/analysis/sample/sample-report-search.vue
index f1da8b5..e063c29 100644
--- a/pages/analysis/sample/sample-report-search.vue
+++ b/pages/analysis/sample/sample-report-search.vue
@@ -8,7 +8,7 @@
-
+
@@ -50,7 +50,7 @@
{{ sample.sampleAssayCode }}
-
+
{{ sample.sampleName }}
@@ -58,7 +58,7 @@
-
+
@@ -171,10 +171,9 @@ onBackPress(() => {
diff --git a/pages/sampleWarehouse/dispatchGiveBack/index.vue b/pages/sampleWarehouse/dispatchGiveBack/index.vue
index 266db9b..56bc62c 100644
--- a/pages/sampleWarehouse/dispatchGiveBack/index.vue
+++ b/pages/sampleWarehouse/dispatchGiveBack/index.vue
@@ -1,7 +1,159 @@
-
+
+
+
+ 归还人:
+
+
+ 库管员:{{ userInfo.nickname }}
+
+
+
+
+
+
+
+
+ 样品名称:{{ item.sampleName }}
+ 调拨人:{{}}
+
+
+ 样品编号:{{ item.sampleReturnCode }}
+ 调拨时间:{{}}
+
+ 归库编码:{{ item.sampleReturnCode }}
+ 样品库名称:{{ item.warehouseName }}
+ 库位码:{{ item.warehouseLocationCode }}
+
+
+
+
+
-
+
+
+
diff --git a/pages/sampleWarehouse/execChangeLocation/index.vue b/pages/sampleWarehouse/execChangeLocation/index.vue
index cd87811..afe5d61 100644
--- a/pages/sampleWarehouse/execChangeLocation/index.vue
+++ b/pages/sampleWarehouse/execChangeLocation/index.vue
@@ -69,6 +69,7 @@
diff --git a/pages/sampleWarehouse/sampleSearch/index.vue b/pages/sampleWarehouse/sampleSearch/index.vue
index f893895..db5b61d 100644
--- a/pages/sampleWarehouse/sampleSearch/index.vue
+++ b/pages/sampleWarehouse/sampleSearch/index.vue
@@ -58,15 +58,19 @@