From cc33c00a94f0c74c769abf052f32709f56f222cd Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 27 十一月 2025 08:38:38 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI
---
src/views/scMould/basicModeling/Gy_MouldFileList.vue | 158 +++++++++++++++++++++++++++-------------------------
1 files changed, 82 insertions(+), 76 deletions(-)
diff --git a/src/views/scMould/basicModeling/Gy_MouldFileList.vue b/src/views/scMould/basicModeling/Gy_MouldFileList.vue
index 4f02606..9a5d999 100644
--- a/src/views/scMould/basicModeling/Gy_MouldFileList.vue
+++ b/src/views/scMould/basicModeling/Gy_MouldFileList.vue
@@ -187,7 +187,7 @@
<el-dialog title="缂栬緫瀹瑰櫒涓绘。璧勬枡" :visible.sync="openEdit" width="1480px" append-to-body class="xsckdBox"
@close="close">
<edit :OperationType=OperationType :linterid=this.rowForm.hmainid :HSouceBillType=this.rowForm.HSourceBillType
- :copyType="copyType" @editCloseGy="editGyClose" v-if="editShow" />
+ :copyType="copyType" @editClose="editGyClose" v-if="editShow" />
</el-dialog>
<el-dialog :title="upload.title" :visible.sync="upload.open" width="1500px" append-to-body>
<div style="margin-top:-20px ;">
@@ -525,65 +525,65 @@
{ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
, { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
, { field: '鏃ユ湡', title: '鏃ユ湡', sort: true }
- , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true }
- , { field: '鏉$爜缂栧彿', title: '鏉$爜缂栧彿', sort: true }
- , { field: '瀵瑰簲ERP鐗╂枡缂栫爜', title: '鐗╂枡缂栧彿', sort: true }
- , { field: '妯″叿缂栧彿', title: '鍣ㄥ叿缂栧彿', sort: true, }
- , { field: '妯″叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', sort: true }
- , { field: '妯″叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', sort: true }
- , { field: '妯″叿鍝佺被', title: '鍣ㄥ叿鍝佺被', sort: true }
- , { field: '妯″叿鐘舵��', title: '鍣ㄥ叿鐘舵��', sort: true }
- , { field: '妯″叿鍙敤鐘舵��', title: '妯″叿鍙敤鐘舵��', sort: true }
- , { field: '绌存暟', title: '绌存暟', sort: true }
- , { field: '瀵瑰簲ERP鐗╂枡缂栫爜', title: '鍣ㄥ叿ERP鐗╂枡', sort: true }
- , { field: '鐩村緞', title: '鐩村緞', sort: true }
- , { field: '杈呭姪灞炴��', title: '杈呭姪灞炴��', sort: true }
- , { field: '杈呭姪灞炴��2', title: '杈呭姪灞炴��2', sort: true }
- , { field: '鍥惧彿', title: '鍥惧彿', sort: true }
- , { field: '鐢熶骇浜у搧鍨嬪彿', title: '鐢熶骇浜у搧鍨嬪彿', sort: true }
- , { field: 'HUnitID', title: 'HUnitID', hide: true, sort: true }
- , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', sort: true }
- , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', sort: true }
- , { field: '鍑哄巶鏃ユ湡', title: '鍑哄巶鏃ユ湡', sort: true }
- , { field: '鍑哄巶缂栧彿', title: '鍑哄巶缂栧彿', sort: true }
- , { field: '浣跨敤閮ㄩ棬浠g爜', title: '浣跨敤閮ㄩ棬浠g爜', sort: true }
- , { field: '浣跨敤閮ㄩ棬', title: '浣跨敤閮ㄩ棬', sort: true }
- , { field: 'HSupID', title: 'HSupID', hide: true, sort: true }
- , { field: '渚涘簲鍟嗕唬鐮�', title: '渚涘簲鍟嗕唬鐮�', sort: true }
- , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', sort: true }
- , { field: 'HWhID', title: 'HWhID', hide: true, sort: true }
- , { field: '榛樿浠撳簱', title: '榛樿浠撳簱', sort: true }
- , { field: 'HSPID', title: 'HSPID', hide: true, sort: true }
- , { field: '榛樿浠撲綅', title: '榛樿浠撲綅', sort: true }
- , { field: '鐗堟湰', title: '鐗堟湰', sort: true }
- , { field: '褰撳墠浠撳簱', title: '褰撳墠浠撳簱', sort: true }
- , { field: '褰撳墠浠撲綅', title: '褰撳墠浠撲綅', sort: true }
- , { field: '铏氭嫙浠撶被鍨�', title: '铏氭嫙浠撶被鍨�', sort: true }
- , { field: '铏氭嫙浠�', title: '铏氭嫙浠�', sort: true }
- , { field: '褰撳墠妯″叿瑙勬牸', title: '褰撳墠鍣ㄥ叿瑙勬牸', sort: true }
- , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆鍣ㄥ叿瑙勬牸', sort: true }
- , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡', sort: true, totalRow: true }
- , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡', sort: true, totalRow: true }
- , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', sort: true, totalRow: true }
- , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true, totalRow: true }
- , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�', sort: true, totalRow: true }
- , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�', sort: true, totalRow: true }
- , { field: '澶囨敞', title: '澶囨敞', sort: true }
- , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', sort: true, totalRow: true }
- , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true }
- , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', sort: true }
- , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', sort: true }
- , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', sort: true }
- , { field: '淇敼浜�', title: '淇敼浜�', sort: true }
- , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', sort: true }
- , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', sort: true }
- , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', sort: true }
- , { field: '浣滃簾浜�', title: '浣滃簾浜�', sort: true }
- , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', sort: true }
- , { field: 'hbilltype', title: 'hbilltype', hide: true, sort: true }
- , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', hide: true, sort: true }
- , { field: 'HMoudType', title: 'HMoudType', hide: true, sort: true }
- , { field: 'hsubid', title: 'hsubid', hide: true, sort: true }
+ , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 120 }
+ , { field: '鏉$爜缂栧彿', title: '鏉$爜缂栧彿', sort: true, width: 120 }
+ , { field: '瀵瑰簲ERP鐗╂枡缂栫爜', title: '鐗╂枡缂栧彿', sort: true, width: 120 }
+ , { field: '妯″叿缂栧彿', title: '鍣ㄥ叿缂栧彿', sort: true, width: 120 }
+ , { field: '妯″叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', sort: true, width: 120 }
+ , { field: '妯″叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', sort: true, width: 120 }
+ , { field: '妯″叿鍝佺被', title: '鍣ㄥ叿鍝佺被', sort: true, width: 120 }
+ , { field: '妯″叿鐘舵��', title: '鍣ㄥ叿鐘舵��', sort: true, width: 120 }
+ , { field: '妯″叿鍙敤鐘舵��', title: '妯″叿鍙敤鐘舵��', sort: true, width: 140 }
+ , { field: '绌存暟', title: '绌存暟', sort: true, width: 120 }
+ , { field: '瀵瑰簲ERP鐗╂枡缂栫爜', title: '鍣ㄥ叿ERP鐗╂枡', sort: true, width: 140 }
+ , { field: '鐩村緞', title: '鐩村緞', sort: true, width: 120 }
+ , { field: '杈呭姪灞炴��', title: '杈呭姪灞炴��', sort: true, width: 120 }
+ , { field: '杈呭姪灞炴��2', title: '杈呭姪灞炴��2', sort: true, width: 120 }
+ , { field: '鍥惧彿', title: '鍥惧彿', sort: true, width: 120 }
+ , { field: '鐢熶骇浜у搧鍨嬪彿', title: '鐢熶骇浜у搧鍨嬪彿', sort: true, width: 120 }
+ , { field: 'HUnitID', title: 'HUnitID', hide: true, sort: true, width: 120 }
+ , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', sort: true, width: 120 }
+ , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', sort: true, width: 120 }
+ , { field: '鍑哄巶鏃ユ湡', title: '鍑哄巶鏃ユ湡', sort: true, width: 120 }
+ , { field: '鍑哄巶缂栧彿', title: '鍑哄巶缂栧彿', sort: true, width: 120 }
+ , { field: '浣跨敤閮ㄩ棬浠g爜', title: '浣跨敤閮ㄩ棬浠g爜', sort: true, width: 120 }
+ , { field: '浣跨敤閮ㄩ棬', title: '浣跨敤閮ㄩ棬', sort: true, width: 120 }
+ , { field: 'HSupID', title: 'HSupID', hide: true, sort: true, width: 120 }
+ , { field: '渚涘簲鍟嗕唬鐮�', title: '渚涘簲鍟嗕唬鐮�', sort: true, width: 120 }
+ , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', sort: true, width: 120 }
+ , { field: 'HWhID', title: 'HWhID', hide: true, sort: true, width: 120 }
+ , { field: '榛樿浠撳簱', title: '榛樿浠撳簱', sort: true, width: 120 }
+ , { field: 'HSPID', title: 'HSPID', hide: true, sort: true, width: 120 }
+ , { field: '榛樿浠撲綅', title: '榛樿浠撲綅', sort: true, width: 120 }
+ , { field: '鐗堟湰', title: '鐗堟湰', sort: true, width: 120 }
+ , { field: '褰撳墠浠撳簱', title: '褰撳墠浠撳簱', sort: true, width: 120 }
+ , { field: '褰撳墠浠撲綅', title: '褰撳墠浠撲綅', sort: true, width: 120 }
+ , { field: '铏氭嫙浠撶被鍨�', title: '铏氭嫙浠撶被鍨�', sort: true, width: 120 }
+ , { field: '铏氭嫙浠�', title: '铏氭嫙浠�', sort: true, width: 120 }
+ , { field: '褰撳墠妯″叿瑙勬牸', title: '褰撳墠鍣ㄥ叿瑙勬牸', sort: true, width: 140 }
+ , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆鍣ㄥ叿瑙勬牸', sort: true, width: 140 }
+ , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡', sort: true, totalRow: true, width: 140 }
+ , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡', sort: true, totalRow: true, width: 140 }
+ , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', sort: true, totalRow: true, width: 120 }
+ , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true, totalRow: true, width: 120 }
+ , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�', sort: true, totalRow: true, width: 120 }
+ , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�', sort: true, totalRow: true, width: 120 }
+ , { field: '澶囨敞', title: '澶囨敞', sort: true, width: 120 }
+ , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', sort: true, totalRow: true, width: 120 }
+ , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true, width: 120 }
+ , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', sort: true, width: 120 }
+ , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', sort: true, width: 120 }
+ , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', sort: true, width: 120 }
+ , { field: '淇敼浜�', title: '淇敼浜�', sort: true, width: 120 }
+ , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', sort: true, width: 120 }
+ , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', sort: true, width: 120 }
+ , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', sort: true, width: 120 }
+ , { field: '浣滃簾浜�', title: '浣滃簾浜�', sort: true, width: 120 }
+ , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', sort: true, width: 120 }
+ , { field: 'hbilltype', title: 'hbilltype', hide: true, sort: true, width: 120 }
+ , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', hide: true, sort: true, width: 120 }
+ , { field: 'HMoudType', title: 'HMoudType', hide: true, sort: true, width: 120 }
+ , { field: 'hsubid', title: 'hsubid', hide: true, sort: true, width: 120 }
]]
this.dataList = option
option.data = data1.data;
@@ -950,9 +950,10 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
+ var ModRightNameDelete = 'Gy_MouldFile_Delete'
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Source", {
- params: { 'HItemID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
+ axios.get(this.baseURL + "/Gy_Mould_Edit/Delete_Json", {
+ params: { 'HItemID': this.rowForm.hmainid.toString(), "ModRightNameDelete": ModRightNameDelete, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
this.getList()
@@ -972,20 +973,25 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/AuditGy_Source", {
- params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
- }).then(response => {
- let result = response.data
- if (result.code == 1) {
- this.$modal.msgSuccess('鎿嶄綔鎴愬姛');
- this.getList();
- }
- else {
- this.$modal.msgError("閿欒:" + result.code + result.Message,);
- }
- }).catch(error => {
- this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
- });
+ if (form.HBillStatus == 0 && num == 1) {
+ this.$modal.msgSuccess('鍗曟嵁宸蹭负鏈鏍哥姸鎬�,鏃犻渶鍙嶅鏍革紒');
+ } else {
+ axios.get(this.baseURL + "/Gy_Mould/AuditProcessReportList", {
+ params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
+ }).then(response => {
+ let result = response.data
+ if (result.code == 1) {
+ this.$modal.msgSuccess('鎿嶄綔鎴愬姛');
+ this.getList();
+ }
+ else {
+ this.$modal.msgError("閿欒:" + result.code + result.Message,);
+ }
+ }).catch(error => {
+ this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
+ });
+ }
+
},
// 鍙嶇鐢�/绂佺敤鏁版嵁
set_De_Stop(num, form) {
--
Gitblit v1.9.1