From 7fb0a8f0ab16c149484bf043754cd10cfa94de2f Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期一, 19 一月 2026 14:48:05 +0800
Subject: [PATCH] 增加了业务员,保管员和验收员的对应的显示
---
src/views/FbStepFoldinBillList/SupplierDialog.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/FbStepFoldinBillList/SupplierDialog.vue b/src/views/FbStepFoldinBillList/SupplierDialog.vue
index 7246adc..8b1465a 100644
--- a/src/views/FbStepFoldinBillList/SupplierDialog.vue
+++ b/src/views/FbStepFoldinBillList/SupplierDialog.vue
@@ -252,12 +252,12 @@
},
dialogType: {
type: String,
- default: 'supplier'
+ default: 'supplier'
}
},
data() {
return {
-
+
isVisible: this.visible,
dialogTitle: '閫夋嫨渚涘簲鍟�',
queryForm: {
@@ -290,7 +290,7 @@
selectedRows: [],
currentFilterName: '',
activeCollapse: ['more'],
- baseURL: process.env.VUE_APP_BASE_URL || "http://47.96.97.237/API/"
+ baseURL: process.env.VUE_APP_BASE_API || "http://47.96.97.237/API/"
}
},
watch: {
@@ -300,7 +300,7 @@
this.initDialog()
}
},
-
+
isVisible(val) {
this.$emit('update:visible', val)
}
@@ -316,11 +316,11 @@
// 鑾峰彇缁勭粐鍒楄〃
async getOrganizations() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetOrganizations`)
+ const response = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`)
if (response.data.count === 1) {
this.organizations = response.data.data
// 璁剧疆榛樿缁勭粐
- const defaultOrg = sessionStorage.getItem('Organization') ||
+ const defaultOrg = sessionStorage.getItem('Organization') ||
sessionStorage.getItem('OrganizationID')
if (defaultOrg) {
this.queryForm.HUSEORGID = defaultOrg
@@ -335,7 +335,7 @@
// 鑾峰彇渚涘簲鍟嗘爲褰㈡暟鎹�
async getSupplierTree() {
try {
- const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_SupTypeTreeListByLevel`)
+ const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_SupTypeTreeListByLevel`)
if (response.data.count === 1) {
this.treeData = JSON.parse(response.data.data)
}
@@ -356,12 +356,12 @@
size: this.pageSize
}
console.log('璇锋眰鍙傛暟:', params)
- const response = await axios.get(`${this.baseURL}/Gy_Supplier/page`, { params })
-
+ const response = await axios.get(`${this.$baseUrl}/Gy_Supplier/page`, { params })
+
if (response.data.code == 1) {
this.tableData = response.data.data || []
this.total = response.data.count || 0
-
+
if ( response.data.list.length > 0) {
this.setTableColumns(response.data.list)
}
@@ -451,11 +451,11 @@
}
// 娣诲姞杩囨护鏉′欢
- if (q.ColName && q.Comparator && q.Comparator !== '0' && q.ColContent)
+ if (q.ColName && q.Comparator && q.Comparator !== '0' && q.ColContent)
sWhereParts.push(buildComparator(q.ColName, q.Comparator, q.ColContent))
- if (q.ColName1 && q.Comparator1 && q.Comparator1 !== '0' && q.ColContent1)
+ if (q.ColName1 && q.Comparator1 && q.Comparator1 !== '0' && q.ColContent1)
sWhereParts.push(buildComparator(q.ColName1, q.Comparator1, q.ColContent1))
- if (q.ColName2 && q.Comparator2 && q.Comparator2 !== '0' && q.ColContent2)
+ if (q.ColName2 && q.Comparator2 && q.Comparator2 !== '0' && q.ColContent2)
sWhereParts.push(buildComparator(q.ColName2, q.Comparator2, q.ColContent2))
// 娣诲姞鍩烘湰鏌ヨ鏉′欢
@@ -591,4 +591,4 @@
.dialog-footer {
text-align: right;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.1