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/sell/XsSeOutStockBackBillList.vue |   41 +++++++++++++++++++++++++----------------
 1 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/src/views/sell/XsSeOutStockBackBillList.vue b/src/views/sell/XsSeOutStockBackBillList.vue
index 4046746..a91712e 100644
--- a/src/views/sell/XsSeOutStockBackBillList.vue
+++ b/src/views/sell/XsSeOutStockBackBillList.vue
@@ -15,6 +15,8 @@
             type="date"
             placeholder="寮�濮嬫棩鏈�"
             style="width: 150px"
+            :disabled="queryParams.HInitTimeCycle != -1"
+            value-format="yyyy-MM-dd"
           >
           </el-date-picker>
         </el-form-item>
@@ -24,6 +26,8 @@
             type="date"
             placeholder="缁撴潫鏃ユ湡"
             style="width: 150px"
+            :disabled="queryParams.HInitTimeCycle != -1"
+            value-format="yyyy-MM-dd"
           >
           </el-date-picker>
         </el-form-item>
@@ -474,7 +478,7 @@
                 }}</span>
                 <el-button
                   type="text"
-                  @click="handleEdit(row, (OperationType = 3), (copyType = 1))"
+                  @click.stop="handleEdit(row, (OperationType = 3), (copyType = 1))"
                   v-else-if="column.property == '鍗曟嵁鍙�'"
                   >{{ row.鍗曟嵁鍙� }}</el-button
                 >
@@ -523,7 +527,7 @@
           @editCloseGy="editGyClose"
           v-if="editShow"
         /> -->
-        <div style="height: 80vh">
+        <div style="height: 70vh">
           <iframe :src="iframeUrl" frameborder="0" width="100%" height="100%"></iframe>
         </div>
       </el-dialog>
@@ -673,6 +677,7 @@
         { label: "杩�30澶�", value: 29 },
         { label: "杩戝崐骞�", value: 180 },
         { label: "杩戜竴骞�", value: 365 },
+        { label: "浠绘剰鏃堕棿", value: -1 },
       ],
       hPriceTypeList: ["鎴愭湰浠�", "缁撶畻浠�"],
       addBtnShow: false,
@@ -798,7 +803,7 @@
   },
   methods: {
     BillSync() {
-      axios.get(`${this.baseURL}/Xs_SeOutStockBackBill/Xs_SeOutStockBackBillViewApi`, {
+      axios.get(`${this.$baseUrl}/Xs_SeOutStockBackBill/Xs_SeOutStockBackBillViewApi`, {
         params: { BillNo: this.form.HBillno2, BillType: 1403 },
       });
     },
@@ -842,7 +847,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) {
@@ -877,6 +882,10 @@
       this.getList();
     },
     riqiChange() {
+      if (this.queryParams.HInitTimeCycle == -1) {
+        // 浠绘剰鏃堕棿
+        return;
+      }
       const end = dayjs(new Date()).format("YYYY-MM-DD");
       const start = dayjs(new Date())
         .subtract(this.queryParams.HInitTimeCycle, "d")
@@ -949,7 +958,7 @@
       }
 
       try {
-        let res = await axios.get(this.baseURL + "/Xs_SeOutStockBackBill/list_byPage", {
+        let res = await axios.get(this.$baseUrl + "/Xs_SeOutStockBackBill/list_byPage", {
           params: {
             sWhere: this.sWhere,
             user: sessionStorage["HUserName"],
@@ -1055,7 +1064,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,
@@ -1336,7 +1345,7 @@
     getOrgIDByUser() {
       var res = "";
       axios
-        .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+        .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
           params: {
             HModName: this.HModName,
             user: sessionStorage["HUserName"],
@@ -1394,7 +1403,7 @@
     //鎵撳紑鏂板缁勪欢寮圭獥
     handleAddEdit() {
       this.rowForm.HItemID = 0;
-      this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=${0}&OperationType=${1}&copyType=${-1}`;
+      this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=0&OperationType=1&CopyType=2`;
       this.$nextTick(() => {
         this.openEdit = true;
         this.editShow = true;
@@ -1402,7 +1411,7 @@
     },
     //鎵撳紑淇敼缁勪欢寮圭獥
     handleEdit(row, OperationType, copyType) {
-      this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=${row.hmainid}&OperationType=${OperationType}&copyType=${copyType}`;
+      this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=${row.hmainid}&OperationType=${OperationType}&CopyType=${copyType}`;
       this.$nextTick(() => {
         this.openEdit = true;
         this.editShow = true;
@@ -1421,7 +1430,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,
@@ -1453,7 +1462,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,
@@ -1478,7 +1487,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,
@@ -1505,7 +1514,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,
@@ -1532,7 +1541,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,
@@ -1558,7 +1567,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,
@@ -1632,7 +1641,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