From 3a17831e3480b8c1036de0246495ff965fff6dd9 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期二, 20 一月 2026 18:03:20 +0800
Subject: [PATCH] 根据华舟业务蓝图对设备模具、质量、车间进行优化测试

---
 pages/MJGL/Sc_MouldRepairSendWork/Sc_MouldRepairSendWorkBill.vue |   98 +++---------------------------------------------
 1 files changed, 7 insertions(+), 91 deletions(-)

diff --git a/pages/MJGL/Sc_MouldRepairSendWork/Sc_MouldRepairSendWorkBill.vue b/pages/MJGL/Sc_MouldRepairSendWork/Sc_MouldRepairSendWorkBill.vue
index ef6f93b..0d5985b 100644
--- a/pages/MJGL/Sc_MouldRepairSendWork/Sc_MouldRepairSendWorkBill.vue
+++ b/pages/MJGL/Sc_MouldRepairSendWork/Sc_MouldRepairSendWorkBill.vue
@@ -251,7 +251,6 @@
             <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
             <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
         </view>
-        <!-- <xe-upload ref="XeUpload" :options="uploadOptions" @callback="handleUploadCallback"></xe-upload> -->
     </view>
 </template>
 
@@ -299,12 +298,12 @@
                     "HCycleUnit": "灏忔椂",
                     "MouldHName": "",
                     "MouldHModel": "",
-                    "HDeptIDName": "",
-                    "HDeptID": "0",
-                    "HManagerIDName": "",
-                    "HManagerID": "0",
-                    "HEmpIDName": "",
-                    "HEmpID": "0",
+                    "HDeptName": getUserInfo()["HDeptName"],
+                    "HDeptID": getUserInfo()["HDeptID"],
+                    "HEmpName": getUserInfo().HEmpName,
+                    "HEmpID": getUserInfo().HEmpID,
+                    "HManagerName": getUserInfo().HSecManager,
+                    "HManagerID": getUserInfo().HSecManagerID,
                     "HRepairBeginDate": dayjs(new Date()).format('YYYY-MM-DD'),
                     "HMainSourceBillType": "",
                     "HMainSourceInterID": "0",
@@ -447,7 +446,7 @@
             },
             addNew() {
                 uni.redirectTo({
-                    url: './Sb_EquipRepairSendWorkBill?operationType=1'
+                    url: './Sc_MouldRepairSendWorkBill?operationType=1'
                 })
             },
             goBack() {
@@ -459,89 +458,6 @@
                     this.HCheckFileList[index]["HDotCheckResult"] = false
                 } else {
                     this.HCheckFileList[index]["HDotCheckResult"] = true
-                }
-            },
-            uploadFile(index) {
-                console.log('filePath: ', this.attachmentInfo[index].filePath);
-                // 閫氳繃涓存椂璺緞璇诲彇鏂囦欢
-                uni.uploadFile({
-                    url: CommonUtils.getServerUrl() + "/Sb_EquipDotCheckBill/UploadFile",
-                    filePath: this.attachmentInfo[index].filePath,
-                    name: 'file',
-                    formData: {
-                        HBillNo: this.hform.HBillNo,
-                        HRemark: "",
-                        HUserName: getUserInfo()["Czymc"]
-                    },
-                    success: (uploadRes) => {
-                        CommonUtils.showTips({
-                            message: "涓婁紶鎴愬姛"
-                        })
-                        this.attachmentInfo[index].status = "涓婁紶鎴愬姛"
-                    },
-                    fail: (err) => {
-                        CommonUtils.showTips({
-                            title: '娓╅Θ鎻愮ず',
-                            message: `涓婁紶澶辫触: ${err}`
-                        })
-                    }
-                })
-            },
-            delFile(index) {
-                console.log('attachmentInfo: ', this.attachmentInfo[index]);
-                uni.showModal({
-                    title: '鎻愮ず',
-                    content: '纭瑕佸垹闄� " ' + this.attachmentInfo[index].fileName + ' " 鍒犻櫎鍚庡皢涓嶅彲鎭㈠锛�',
-                    success: (res) => {
-                        if (res.confirm) {
-                            this.attachmentInfo.splice(index, 1)
-                        }
-                    },
-                })
-
-            },
-            handleUploadCallback(res) { // 鏂囦欢涓婁紶鍥炶皟
-                console.log('file: ', res);
-                let fileInfo = res.data[0]
-                this.attachmentInfo.push({
-                    fileName: fileInfo.name,
-                    size: fileInfo.size,
-                    status: '绛夊緟涓婁紶',
-                    filePath: fileInfo.tempFilePath
-                })
-            },
-            // 涓婁紶鏂囦欢
-            fileUpload() {
-                this.$refs.XeUpload.upload('file', {});
-            },
-            //鑾峰彇鐝鏁版嵁
-            async getShiftList() {
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: '/Web/GetGy_ShiftsList_Json',
-                        data: {
-                            Shifts: "",
-                        }
-                    })
-
-                    let {
-                        data,
-                        count,
-                        Message
-                    } = res.data
-                    if (count == 1) {
-                        this.HShiftsList = data
-                    } else {
-                        CommonUtils.showTips({
-                            title: '娓╅Θ鎻愮ず',
-                            message: Message
-                        })
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: '娓╅Θ鎻愮ず',
-                        message: err
-                    })
                 }
             },
             //鑾峰彇浣跨敤閮ㄩ棬鏁版嵁

--
Gitblit v1.9.1