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/ProductInBill/Kf_ProductInBillEdit.vue | 62 ++++++++++++++++---------------
1 files changed, 32 insertions(+), 30 deletions(-)
diff --git a/src/views/ProductInBill/Kf_ProductInBillEdit.vue b/src/views/ProductInBill/Kf_ProductInBillEdit.vue
index baa8422..647f06e 100644
--- a/src/views/ProductInBill/Kf_ProductInBillEdit.vue
+++ b/src/views/ProductInBill/Kf_ProductInBillEdit.vue
@@ -164,7 +164,7 @@
@selection-change="handleTableZbEdit" :row-class-name="rowSysZbIndex" show-summary border>
<el-table-column type="selection" width="55" align="center" />
<el-table-column align="center" label="搴忓彿" type="index" width="80" />
- <el-table-column align="center" label="婧愬崟鍗曞彿" width="120">
+ <!-- <el-table-column align="center" label="婧愬崟鍗曞彿" width="120">
<template slot-scope="scope">
<span>{{ scope.row.HSourceBillNo }}</span>
</template>
@@ -183,7 +183,7 @@
<template slot-scope="scope">
<span>{{ scope.row.HSourceEntryID }}</span>
</template>
- </el-table-column>
+ </el-table-column> -->
<el-table-column align="center" label="HMaterID" width="120">
<template slot-scope="scope">
<span>{{ scope.row.HMaterID }}</span>
@@ -372,7 +372,7 @@
this.getdata()
},
beforeDestroy() {
- this.$destroy()
+ // this.$destroy()
},
methods: {
//#region 琛ㄥ崟鏁版嵁鍒濆鍖�
@@ -450,7 +450,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_ProductInBillEdit/cx", {
+ axios.get(this.$baseUrl + "/Kf_ProductInBillEdit/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -524,10 +524,10 @@
)
}
- if (data.鐘舵�� != '鍒涘缓' && this.copyType != 1) {
- this.$modal.msgError("姝ゆ潯鏁版嵁涓嶆槸鍒涘缓鐘舵�侊紝涓嶈兘淇敼");
- this.subDisabled = true
- }
+ // if (data.鐘舵�� != '鍒涘缓' && this.copyType != 1) {
+ // this.$modal.msgError("姝ゆ潯鏁版嵁涓嶆槸鍒涘缓鐘舵�侊紝涓嶈兘淇敼");
+ // this.subDisabled = true
+ // }
this.formShow = true
this.formLoading = false
@@ -606,7 +606,8 @@
this.form.HManagerName = deptRow.璐熻矗浜�
this.openData = false
}
- else if (num == 2) { //鏀舵枡浠撳簱
+ else if (num == 2) {
+ console.log(deptRow) //鏀舵枡浠撳簱
this.editData[this.zbIndex].HWHID = deptRow.HItemID;
this.editData[this.zbIndex].鏀舵枡浠撳簱 = deptRow.浠撳簱鍚嶇О;
this.openData = false
@@ -659,9 +660,9 @@
if (valid) {
let fhck = false
this.editData.map((item, index) => {
- if (!item.鍙戣揣浠撳簱) {
+ if (!item.鏀舵枡浠撳簱) {
fhck = true
- this.$modal.msgError("绗�" + (index + 1) + "琛岋細鍙戣揣浠撳簱鏈�夋嫨锛�");
+ this.$modal.msgError("绗�" + (index + 1) + "琛岋細鏀舵枡浠撳簱鏈�夋嫨锛�");
}
})
this.$nextTick(() => {
@@ -671,7 +672,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -679,7 +680,7 @@
if (response.data.count == 1) {
this.subDisabled = true//璁剧疆淇濆瓨鎸夐挳涓嶅彲鐢�
this.$modal.msgSuccess(response.data.Message);
- this.get_MAXNum_Task(1);//璁剧疆娴佹按鍙峰鍔�
+ // this.get_MAXNum_Task(1);//璁剧疆娴佹按鍙峰鍔�
if (response.data.Verify == "Y") //鑷姩瀹℃牳
{
this.set_CheckBill(0, this.form); //瀹℃牳
@@ -700,7 +701,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -759,7 +760,7 @@
HMoney: 0,
HTaxMoney: 0,
HWHID: 0,
- 鍙戣揣浠撳簱: '',
+ 鏀舵枡浠撳簱: '',
HRemark: '',
HQty_Full: 0,
HQty_Empty: 0,
@@ -769,10 +770,10 @@
HSalePrice: 0,
HSeOrderInterID: 741,
HSeOrderEntryID: 18,
- HSeOrderBillNo: 'XSFH00000747',
- HSourceInterID: 741,
- HSourceEntryID: 18,
- HSourceBillNo: 'XSFH00000747',
+ HSeOrderBillNo: '',
+ HSourceInterID: 0,
+ HSourceEntryID: 0,
+ HSourceBillNo: '',
HSourceBillType: 1402,
HRelationQty: 0,
HRelationMoney: 0,
@@ -895,7 +896,7 @@
//#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -909,7 +910,7 @@
//#region 婧愬崟绫诲瀷涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData_SourceBillTypeList() {
var HName = '浜у搧鍏ュ簱鍗�';
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: {
HName: HName,
Num: 2
@@ -926,9 +927,9 @@
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
- HBillType: '1201'
+ HBillType: '1202'
}
}).then(response => {
this.form.HBillNo = response.data.data[0].HBillNo
@@ -941,10 +942,11 @@
//#region 鑾峰彇鏈�澶у崟鎹彿
get_MAXNum_Task(Type) {
- var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1201','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
+ console.log(dayjs(this.form.HDate).format("YYYY-MM-DD"))
+ var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1202','${dayjs(this.form.HDate).format("YYYY-MM-DD")}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -960,7 +962,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -978,7 +980,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -993,7 +995,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1010,7 +1012,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1027,7 +1029,7 @@
//#region 鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
--
Gitblit v1.9.1