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/ICMO/ScICMOBillList.vue | 40 +++++++++++++++++++++++-----------------
1 files changed, 23 insertions(+), 17 deletions(-)
diff --git a/src/views/ICMO/ScICMOBillList.vue b/src/views/ICMO/ScICMOBillList.vue
index 63d0566..2c9388c 100644
--- a/src/views/ICMO/ScICMOBillList.vue
+++ b/src/views/ICMO/ScICMOBillList.vue
@@ -1,5 +1,5 @@
<template>
- <div style="padding: 10px">
+ <div style="padding: 10px; position: relative;">
<el-form
:model="queryParams"
ref="queryForm"
@@ -738,6 +738,7 @@
iframeUrl: "",
activeSeach: "",
HModName: "Sc_ICMOBillList",
+ rowList:[],
editShow: false,
openEdit: false,
totalNameList: [],
@@ -883,8 +884,7 @@
updateSupport: 0,
// 璁剧疆涓婁紶鐨勮姹傚ご閮�
// headers: { Authorization: "Bearer " + getToken() },
- // 涓婁紶鐨勫湴鍧�
- url: "http://47.96.97.237/API/Gy_Source/Gy_Source_Excel",
+ url: "",
},
uploadData: [],
alluploadList: [],
@@ -901,6 +901,8 @@
};
},
created() {
+ // set upload URL from configured baseURL
+ this.upload.url = this.$baseUrl + "Gy_Source/Gy_Source_Excel";
this.riqiChange();
this.get_HProjectList();
this.get_HDeptNameList();
@@ -912,7 +914,7 @@
},
methods: {
syncBill() {
- axios.get(`${this.baseURL}/Sc_ICMOBill/Sc_ICMOBillViewApi`, {
+ axios.get(`${this.$baseUrl}/Sc_ICMOBill/Sc_ICMOBillViewApi`, {
params: {
BillNo: this.HBillNo2,
BillType: "3710",
@@ -920,7 +922,7 @@
});
},
async get_HDeptNameList() {
- let res = await axios.get(`${this.baseURL}/Sc_ICMOBill/GetHDeptList`, {
+ let res = await axios.get(`${this.$baseUrl}/Sc_ICMOBill/GetHDeptList`, {
params: { HOrgID: sessionStorage["OrganizationID"] },
});
this.HDeptNameList = [
@@ -931,7 +933,7 @@
];
},
async get_HProjectList() {
- let res = await axios.get(`${this.baseURL}/Gy_Material/Get_HProject`);
+ let res = await axios.get(`${this.$baseUrl}/Gy_Material/Get_HProject`);
this.HProjectList = res.data.data.map((e) => {
return { label: e.HName, value: e.HItemID };
});
@@ -979,7 +981,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -1087,7 +1089,7 @@
try {
let res = await axios.get(
- this.baseURL + "/LEMS/MES_IF_ICMOBillList_Json_byPage",
+ this.$baseUrl + "/LEMS/MES_IF_ICMOBillList_Json_byPage",
{
params: {
sWhere: this.sWhere,
@@ -1195,7 +1197,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,
@@ -1343,6 +1345,9 @@
this.selectedRow = row; // 璁板綍褰撳墠閫変腑鐨勮
this.lastSelectedRowIndex = this.tableData.indexOf(row);
this.$refs.tableData.toggleRowSelection(row);
+ if (this.openPage) {
+ this.$emit('deptEmit', this.rowList, 10)
+ }
},
//閫変腑琛岄珮浜牱寮�
rowStyle({ row, rowIndex }) {
@@ -1358,6 +1363,7 @@
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
// this.rowForm = {}
+ this.rowList=selection
this.ids = selection.map((item) => item.hmainid);
this.single = selection.length != 1;
this.multiple = !selection.length;
@@ -1485,7 +1491,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1571,7 +1577,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
params: {
HInter: this.rowForm.hmainid.toString(),
HsupId: this.rowForm.HsupId,
@@ -1603,7 +1609,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
params: {
HInterID: InterID,
TypeError: num,
@@ -1628,7 +1634,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1655,7 +1661,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1682,7 +1688,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1708,7 +1714,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1782,7 +1788,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
--
Gitblit v1.9.1