From 1fd70fb642c6dcea90fe43b190d3e573cd87414c Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Sun, 8 Sep 2024 23:01:40 +0800
Subject: [PATCH] =?UTF-8?q?9/8=20=E4=BC=98=E5=8C=961.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../basic/collectPoint/userWorkplace.vue | 28 ++++++++--
.../basic/workplace/addBusTypeDialog.vue | 6 ++-
src/views/basic/workplace/workplaceManage.vue | 1 +
src/views/collect/destroyOutDialog.vue | 53 ++++++++++---------
4 files changed, 60 insertions(+), 28 deletions(-)
diff --git a/src/views/basic/collectPoint/userWorkplace.vue b/src/views/basic/collectPoint/userWorkplace.vue
index 421ecf17..ac7ef30c 100644
--- a/src/views/basic/collectPoint/userWorkplace.vue
+++ b/src/views/basic/collectPoint/userWorkplace.vue
@@ -10,9 +10,15 @@
+
-
-
+
+
+
+
+
+
+
@@ -354,6 +360,7 @@
import { getUserBindWork, getUsers,delUserBindWork } from '@/api/basic/collectPoint/userWorkplace'
import selectWorkplace from './selectWorkplace'
import { authAdminList } from '@/api/auth/authAdmin'
+import { filterList } from '@/api/system/invWarehouse'
export default {
components: { selectWorkplace },
@@ -421,7 +428,8 @@ export default {
formData: null,
userTotal: 0,
workTotal: 0,
- employeeName: '用户'
+ employeeName: '用户',
+ DeptList: []
}
},
methods: {
@@ -539,10 +547,24 @@ export default {
workDetail(row){
this.formData = row
this.addWorkplaceDialogVisible = true
+ },
+ getDepts() {
+ let data =
+ {enable: true,
+ }
+ filterList(data).then(res => {
+ if (res.code == 20000) {
+ this.DeptList = res.data.list || []
+ }
+ })
+ },
+ changeUsers(){
+ this.getUsers()
}
},
created() {
this.getUsers()
+ this.getDepts()
}
}
diff --git a/src/views/basic/workplace/addBusTypeDialog.vue b/src/views/basic/workplace/addBusTypeDialog.vue
index 24fc38f8..fda9c7d5 100644
--- a/src/views/basic/workplace/addBusTypeDialog.vue
+++ b/src/views/basic/workplace/addBusTypeDialog.vue
@@ -226,6 +226,7 @@ import {getCollectBusType} from '@/api/basic/collectPoint/gatherOrderType'
import {getBusTypeList} from '@/api/basic/busType'
import {addBusType, updateType} from '@/api/basic/workPlace/sysWorkplaceDocuments'
import {getOriginBusType} from '@/api/thrsys/busOriginType'
+import {isBlank} from '@/utils/strUtil'
export default {
props: {
@@ -264,6 +265,7 @@ export default {
workplaceType: 3,
autoTag: 0,
monopoly: 0,
+ invCode: ''
},
invList: [],
busTypes: [],
@@ -462,7 +464,9 @@ export default {
created() {
if (this.upData != null) {
this.formData = this.upData
- this.formData.invCode = this.upData.invCode + ''
+ if (this.formData.invCode != null){
+ this.formData.invCode = this.upData.invCode + ''
+ }
if (this.formData.isMatching == 0) {
this.getBusType()
} else {
diff --git a/src/views/basic/workplace/workplaceManage.vue b/src/views/basic/workplace/workplaceManage.vue
index 5a07d6d8..acf67201 100644
--- a/src/views/basic/workplace/workplaceManage.vue
+++ b/src/views/basic/workplace/workplaceManage.vue
@@ -1110,6 +1110,7 @@ export default {
this.rowData = row
this.workplaceName = row.workplaceName
this.userQuery.workplaceCode = row.workplaceId
+ this.workplaceId = row.workplaceId
this.getUserBindWork(this.userQuery)
this.getWorkBindBusTypes()
},
diff --git a/src/views/collect/destroyOutDialog.vue b/src/views/collect/destroyOutDialog.vue
index 57f05204..2ed86b6b 100644
--- a/src/views/collect/destroyOutDialog.vue
+++ b/src/views/collect/destroyOutDialog.vue
@@ -18,7 +18,10 @@
{{ prescribeData.batchNo }}
{{ prescribeData.measname }}
- {{ prescribeData.reCount }}
+
+ {{ prescribeData.reCount }}
+
+
{{ produceDate }}
@@ -30,12 +33,14 @@
+ ref="formRef"
+ >
+ @input="checkCount"
+ >
@@ -60,7 +65,7 @@