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/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue | 30 +++++++++++++++++++++++-------
1 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
index 27e7491..25fc7de 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
@@ -3,7 +3,7 @@
<div style=" margin-bottom: 10px; border-bottom: 1px solid #f6f6f6;">
<el-button type="primary" @click="onClickMethod_BarCodeProduce" :disabled="disabledFlag_BarCodeProduce">鐢熸垚</el-button>
<el-button type="primary" @click="get_PrintReport">鎵撳嵃</el-button>
- <!-- <el-button type="primary" @click="close">閫� 鍑�</el-button> -->
+ <el-button type="primary" @click="get_BarCodeBillList">鏉$爜妗f</el-button>
</div>
<div style="margin: 10px; font-size: 28px; font-weight: bold; text-align: center;">鏉$爜鐢熸垚</div>
<el-form :model="initMainData" label-width="80px">
@@ -222,7 +222,8 @@
,HReInspectionDate:null //澶嶆鏃ユ湡
,HPOOrderBillMTO:"" //閲囪喘璺熻釜鍙�
,HSeOrderBillNo:"" //瀹㈡埛璁㈠崟鍙�
- ,HCusModel:"" //浜у搧鍨嬪彿
+ ,HCusModel:"" //浜у搧鍨嬪彿
+ ,HMTONo:null //璁″垝璺熻釜鍙�
,HOrganizationID:0 //缁勭粐ID
,HOrganization:"" //缁勭粐鍚嶇О
@@ -323,7 +324,7 @@
//#region 鑾峰彇缁勭粐涓嬫媺鍒楄〃鏁版嵁
async get_OrganizationList() {
- axios.get(this.baseURL + '/Web/GetOrganizations',{async:false}).then(response => {
+ axios.get(this.$baseUrl + '/Web/GetOrganizations',{async:false}).then(response => {
let result = response.data
if (result.count == 1) {
var data = result.data;
@@ -428,6 +429,13 @@
return Result = false;
}
+ var regex = /^\d{4}-\d{2}-\d{2}$/; //姝e垯琛ㄨ揪寮忥細鏍¢獙 yyyy-MM-dd
+ temp = this.initMainData.HInspectionDate;
+ if(!regex.test(temp)){
+ this.$modal.msgError("璇疯缃敓浜ф棩鏈燂紒锛侊紒");
+ return Result = false;
+ }
+
// var HEndQty = this.initMainData.HEndQty;
// if (HEndQty == "") {
// this.$modal.msgError("灏惧寘鏁伴噺涓嶈兘涓虹┖锛侊紒");
@@ -519,6 +527,7 @@
, "HReInspectionDate": this.initMainData.HReInspectionDate
, "HPOOrderBillMTO": this.initMainData.HPOOrderBillMTO
, "HSeOrderBillNo": this.initMainData.HSeOrderBillNo
+ , "HMTONo": this.initMainData.HMTONo
}
]
@@ -553,6 +562,12 @@
},
//#endregion
+ //#region 鏉$爜妗f鎸夐挳鐐瑰嚮浜嬩欢
+ get_BarCodeBillList(){
+ this.$router.push({ path: "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin" }).catch(() => { });
+ },
+ //#endregion
+
//#region 鏉$爜鍒楄〃澶嶉�夋閫夋嫨鐘舵�佸彉鏇寸洃鍚簨浠�
onSelectionChange_BarCode(selection){
this.selectedData_BarCode = selection;
@@ -577,7 +592,7 @@
var res = "none";
var sql = "select * from h_v_IF_POInStockBillList_Source where 1=1 and HMainID = " + HSourceInterID + " and HSubID = " + HSourceEntryID;
var ModRightNameCheck = "";
- return axios.get(this.baseURL + '/CommonModel/searchMethod', {
+ return axios.get(this.$baseUrl + '/CommonModel/searchMethod', {
async:false,
params: {
"sql": sql
@@ -655,6 +670,7 @@
this.initMainData.HPOOrderBillMTO = dataArray[0].閲囪喘璺熻釜鍙�;
this.initMainData.HSeOrderBillNo = dataArray[0].瀹㈡埛璁㈠崟鍙�;
this.initMainData.HCusModel = dataArray[0].浜у搧鍨嬪彿;
+ this.initMainData.HMTONo = dataArray[0].璁″垝璺熻釜鍙�;
this.initMainData.HMinQty = 0;
if(this.initMainData.HMinQty>0){
this.initMainData.HBQty = (this.initMainData.HQty_SourceBill / this.initMainData.HMinQty) + (this.initMainData.HQty_SourceBill%this.initMainData.HMinQty == 0?0:1);
@@ -671,7 +687,7 @@
SaveBarCodeCreate(sMainSub, CampanyName) {
axios({
method: 'post',
- url: this.baseURL + "/Sc_BarCode/Sub_SaveBill_JinLong",
+ url: this.$baseUrl + "/Sc_BarCode/Sub_SaveBill_JinLong",
data: {
"msg": sMainSub, "CampanyName": CampanyName
},
@@ -722,7 +738,7 @@
var sql_getHOrgName = "select HName from Xt_Organizations where HItemID = " + HOrgID;
var ModRightNameCheck = "";
- axios.get(this.baseURL + "/CommonModel/searchMethod", {
+ axios.get(this.$baseUrl + "/CommonModel/searchMethod", {
params: {
"sql": sql_getHOrgName
, "user": HUserName
@@ -748,7 +764,7 @@
});
var sql_login = "select * from h_v_Gy_Czygl_Login where Czymc = '" + HUserName + "'";
- axios.get(this.baseURL + "/CommonModel/searchMethod", {
+ axios.get(this.$baseUrl + "/CommonModel/searchMethod", {
params: {
"sql": sql_login
, "user": HUserName
--
Gitblit v1.9.1