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/basic/gyProperty/gyPropertyList.vue | 70 ++++++++++++++--------------------
1 files changed, 29 insertions(+), 41 deletions(-)
diff --git a/src/views/basic/gyProperty/gyPropertyList.vue b/src/views/basic/gyProperty/gyPropertyList.vue
index 486fc2b..4537454 100644
--- a/src/views/basic/gyProperty/gyPropertyList.vue
+++ b/src/views/basic/gyProperty/gyPropertyList.vue
@@ -8,18 +8,18 @@
class="searchBox"
>
<el-row>
- <el-form-item label="浠撳簱浠g爜" prop="HNumber" style="padding-left: 100px">
+ <el-form-item label="杈呭姪灞炴�т唬鐮�" prop="HNumber" style="padding-left: 100px">
<el-input
v-model="queryParams.HNumber"
- placeholder="璇疯緭鍏ヤ粨搴撲唬鐮�"
+ placeholder="璇疯緭鍏ヨ緟鍔╁睘鎬т唬鐮�"
@keyup.enter.native="handleQuery"
class="ForFilteringSchemes"
/>
</el-form-item>
- <el-form-item label="浠撳簱鍚嶇О" prop="HName">
+ <el-form-item label="杈呭姪灞炴�у悕绉�" prop="HName">
<el-input
v-model="queryParams.HName"
- placeholder="璇疯緭鍏ヤ粨搴撳悕绉�"
+ placeholder="璇疯緭鍏ヨ緟鍔╁睘鎬у悕绉�"
@keyup.enter.native="handleQuery"
class="ForFilteringSchemes"
/>
@@ -38,15 +38,6 @@
>
</el-option>
</el-select>
- </el-form-item>
- <el-form-item label="鍚屾" :inline="true">
- <el-input
- v-model="queryParams.HSyncNumber"
- placeholder="璇疯緭鍏ヤ粨搴撲唬鐮�"
- @keyup.enter.native="handleSync"
- >
- <el-button slot="append" type="primary" @click="handleSync">鍚屾</el-button>
- </el-input>
</el-form-item>
</el-row>
<el-form-item label-width="78px">
@@ -201,7 +192,7 @@
</el-form>
<el-row :gutter="10" class="mb8">
- <el-col :span="1.5">
+ <!-- <el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-download"
@@ -209,9 +200,9 @@
@click="handleImport"
>瀵煎叆</el-button
>
- </el-col>
- <el-col :span="1.5">
- <el-button
+ </el-col> -->
+ <!-- <el-col :span="1.5">
+ <el-button
type="primary"
icon="el-icon-plus"
size="mini"
@@ -219,8 +210,8 @@
id="btn-Add"
>鏂板</el-button
>
- </el-col>
- <el-col :span="1.5">
+ </el-col> -->
+ <!-- <el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-edit"
@@ -229,8 +220,8 @@
@click="handleEdit((row = rowForm), (OperationType = 3))"
>缂栬緫</el-button
>
- </el-col>
- <el-col :span="1.5">
+ </el-col> -->
+ <!-- <el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-edit"
@@ -239,7 +230,7 @@
@click="handleEdit((row = rowForm), (OperationType = 2))"
>澶嶅埗</el-button
>
- </el-col>
+ </el-col> -->
<el-col :span="1.5">
<el-button
type="primary"
@@ -641,7 +632,7 @@
// 浠撳簱鍚屾
async handleSync() {
try {
- let res = await axios.get(this.baseURL + "/Gy_Warehouse/Gy_WarehouseViewApi", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Warehouse/Gy_WarehouseViewApi", {
params: {
Number: this.queryParams.HSyncNumber,
Type: "CK",
@@ -691,7 +682,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -780,11 +771,10 @@
this.sWhere += "";
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Gy_WareHouse/listpage", {
+ .get(this.$baseUrl + "/Gy_Property/listPage", {
params: {
sWhere: `${this.sWhere}`,
user: sessionStorage["HUserName"],
- Organization: "娴欐睙鏅轰簯杩堟��",
page: this.page,
size: this.pageSize,
},
@@ -888,7 +878,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1041,7 +1031,7 @@
this.lastSelectedRowIndex = this.tableData.indexOf(row);
this.$refs.tableData.toggleRowSelection(row);
if (this.openPage) {
- this.$emit("deptEmit", row, 2);
+ this.$emit("deptEmit", row, 'gyProperty');
}
},
//閫変腑琛岄珮浜牱寮�
@@ -1065,7 +1055,7 @@
}
this.OperationType = 3;
if (this.openPage) {
- this.$emit("deptEmitDb", row, 2);
+ this.$emit("deptEmitDb", row, 'gyProperty');
} else {
this.handleEdit(row);
}
@@ -1169,16 +1159,14 @@
this.sWhere += " and " + this.queryParams.ColName2 + " " + com2;
}
if (this.queryParams.HNumber) {
- this.sWhere += " and 浠撳簱浠g爜 like '%" + this.queryParams.HNumber + "%'";
+ this.sWhere += " and 杈呭姪灞炴�т唬鐮� like '%" + this.queryParams.HNumber + "%'";
}
if (this.queryParams.HName) {
- this.sWhere += " and 浠撳簱鍚嶇О like '%" + this.queryParams.HName + "%'";
+ this.sWhere += " and 杈呭姪灞炴�у悕绉� like '%" + this.queryParams.HName + "%'";
}
- if (this.queryParams.HOrgID) {
- let OrgName = this.organizationList.find((e) => e.ID == this.queryParams.HOrgID)
- ?.Name;
- this.sWhere += " and 缁勭粐鍚嶇О = '" + OrgName + "'";
- }
+ // if (this.queryParams.HOrgID) {
+ // this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'";
+ // }
// this.sWhere += this.addSWhereByOpenType()
// this.sWhere += this.getOrgIDByUser()
this.searchOpen = false;
@@ -1199,7 +1187,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1285,7 +1273,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/DeltetGy_Warehouse", {
+ .get(this.$baseUrl + "/DeltetGy_Warehouse", {
params: {
HItemID: this.rowForm.HItemID.toString(),
user: sessionStorage["HUserName"],
@@ -1313,7 +1301,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1338,7 +1326,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/StopGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/StopGy_Warehouse", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1412,7 +1400,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+ url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
data: {
sMainSub: sMainSub,
},
--
Gitblit v1.9.1