From 2e2b0700a25ce13c7a3eb113c577375da87bc0f3 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期二, 24 三月 2026 17:44:18 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI
---
src/views/scMould/basicModeling/Gy_MouldFileList.vue | 210 +++++++++++++++++++++++++++------------------------
1 files changed, 111 insertions(+), 99 deletions(-)
diff --git a/src/views/scMould/basicModeling/Gy_MouldFileList.vue b/src/views/scMould/basicModeling/Gy_MouldFileList.vue
index 9a5d999..a4cad85 100644
--- a/src/views/scMould/basicModeling/Gy_MouldFileList.vue
+++ b/src/views/scMould/basicModeling/Gy_MouldFileList.vue
@@ -2,11 +2,11 @@
<div style="padding: 10px; position: relative;">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="98px" class="searchBox">
<el-row>
- <el-form-item label="鍣ㄥ叿缂栧彿" prop="HNumber" style="margin-left: 100px;">
- <el-input v-model="queryParams.HNumber" placeholder="璇疯緭鍏ュ櫒鍏风紪鍙�" @keyup.enter.native="handleQuery" />
+ <el-form-item label="瀹瑰櫒缂栧彿" prop="HNumber" style="margin-left: 100px;">
+ <el-input v-model="queryParams.HNumber" placeholder="璇疯緭鍏ュ鍣ㄧ紪鍙�" @keyup.enter.native="handleQuery" />
</el-form-item>
- <el-form-item label="鍣ㄥ叿鍚嶇О" prop="HName">
- <el-input v-model="queryParams.HName" placeholder="璇疯緭鍏ュ櫒鍏峰悕绉�" @keyup.enter.native="handleQuery" />
+ <el-form-item label="瀹瑰櫒鍚嶇О" prop="HName">
+ <el-input v-model="queryParams.HName" placeholder="璇疯緭鍏ュ鍣ㄥ悕绉�" @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="缁勭粐">
<el-select v-model="queryParams.HUSEORGID" placeholder="璇烽�夋嫨">
@@ -96,9 +96,9 @@
</el-collapse>
</el-form>
<el-row :gutter="10" class="mb8" style="margin-top: 10px;">
- <el-col :span="1.5">
+ <!-- <el-col :span="1.5">
<el-button type="primary" icon="el-icon-download" size="mini" @click="handleImport">瀵煎叆</el-button>
- </el-col>
+ </el-col> -->
<el-col :span="1.5">
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAddEdit(OperationType = 1)"
id="btn-Add">鏂板</el-button>
@@ -107,10 +107,10 @@
<el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single"
@click="handleEdit(row = rowForm, OperationType = 3)">缂栬緫</el-button>
</el-col>
- <el-col :span="1.5">
+ <!-- <el-col :span="1.5">
<el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single"
- @click="handleEdit(row = rowForm, OperationType = 2)">澶嶅埗</el-button>
- </el-col>
+ @click="handleEdit(row = rowForm, copyType = 1)">澶嶅埗</el-button>
+ </el-col> -->
<el-col :span="1.5">
<el-button type="primary" icon="el-icon-delete" size="mini" :disabled="single" @click="handleDelete">鍒犻櫎
</el-button>
@@ -123,14 +123,14 @@
<el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single"
@click="set_CheckBill(1, form = rowForm)">杩斿鏍�</el-button>
</el-col>
- <el-col :span="1.5">
+ <!-- <el-col :span="1.5">
<el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single"
@click="set_De_Stop(0, form = rowForm)">绂佺敤</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single"
@click="set_De_Stop(1, form = rowForm)">鍙嶇鐢�</el-button>
- </el-col>
+ </el-col> -->
<el-col :span="1.5">
<el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport">瀵煎嚭</el-button>
</el-col>
@@ -237,6 +237,7 @@
components: { RowSettings, Edit, BtnSettings },
props: {
openPage: { type: String, },
+ multiple: { type: Boolean, default: false },
},
data() {
return {
@@ -295,7 +296,7 @@
HUSEORGID: sessionStorage["OrganizationID"] - 0,
HName: null,
HNumber: null,
- HMouldTypeID: null,
+ HMouldTypeID: 0,
Comparator1: '',
Comparator2: '',
Comparator: '',
@@ -406,17 +407,15 @@
this.getList()
},
getTreeselect() {
- axios.get(this.baseURL + '/Gy_Mould/TreeList', {
+ axios.get(this.$baseUrl + '/Gy_Mould/TreeList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
},
}).then(response => {
-
let data1 = response.data
if (data1.count == 1) {
let data = JSON.parse(data1.data)
- console.log(JSON.parse(data1.data))
var liStr = '[';
//閬嶅巻鐢熸垚涓昏彍鍗�
for (var i = 0; i < data.length; i++) {
@@ -438,7 +437,6 @@
this.treeOptions = JSON.parse(liStr);
}
}).catch(error => {
- console.log(error)
this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
});
},
@@ -478,6 +476,7 @@
},
//鍒楄〃鏁版嵁
getList() {
+ this.clearData()
this.pageSize = 50
this.tableShow = false
this.loading = true
@@ -486,7 +485,7 @@
}
this.sWhere += " and HUSEORGID = '" + this.queryParams.HUSEORGID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Mould/page', {
+ axios.get(this.$baseUrl + '/Gy_Mould/page', {
params: {
"sWhere": this.sWhere,
"ModRightNameSelect": this.HModName,
@@ -521,77 +520,78 @@
col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
}
}
- option.cols = [[
- { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
- , { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
- , { field: '鏃ユ湡', title: '鏃ユ湡', 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 }
- ]]
+ option.cols = [col]
+ // option.cols = [[
+ // { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
+ // , { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
+ // , { field: '鏃ユ湡', title: '鏃ユ湡', 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;
var result = data1.data;
option.data = result;
this.DisPlay_HideColumn(this.HModName, sessionStorage["HUserName"], option, this.dataList);
} else {
- this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
+ this.$modal.msgError(data1.Message);
}
}).catch(error => {
this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
@@ -599,7 +599,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -761,17 +761,19 @@
}
},
// 澶氶�夋閫変腑鏁版嵁
- handleSelectionChange(selection) {
- // this.rowForm = {}
+ handleSelectionChange(selection) {
if (this.openPage) {
- //鍒楄〃鍗曢��
- if (selection.length > 1) {
+ if (!this.multiple && selection.length > 1) {
const del_row = selection.shift()
- this.$refs.tableData.toggleRowSelection(del_row, false) //璁剧疆杩欎竴琛屽彇娑堥�変腑
+ this.$refs.tableData.toggleRowSelection(del_row, false)
}
- this.rowForm = {}
- this.ids = selection.map(item => item.hmainid)
- this.rowForm = selection[0]
+ if (this.multiple) {
+ this.ids = selection.map(item => item.hmainid)
+ this.rowForm = selection
+ } else {
+ this.ids = selection.map(item => item.hmainid)
+ this.rowForm = selection[0]
+ }
} else {
this.ids = selection.map(item => item.hmainid)
this.single = selection.length != 1
@@ -851,10 +853,10 @@
this.sWhere += " and " + this.queryParams.ColName2 + " " + com2;
}
if (this.queryParams.HNumber) {
- this.sWhere += " and 鍣ㄥ叿缂栧彿 like '%" + this.queryParams.HNumber + "%'";
+ this.sWhere += " and 妯″叿缂栧彿 like '%" + this.queryParams.HNumber + "%'";
}
if (this.queryParams.HName) {
- this.sWhere += " and 鍣ㄥ叿鍚嶇О like '%" + this.queryParams.HName + "%'";
+ this.sWhere += " and 妯″叿鍚嶇О like '%" + this.queryParams.HName + "%'";
}
if (this.queryParams.HUSEORGID) {
this.sWhere += " and HUSEORGID = '" + this.queryParams.HUSEORGID + "'"
@@ -878,7 +880,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -903,9 +905,10 @@
resetQuery() {
this.sWhere = ''
this.queryParams = {
- HUSEORGID: null,
+ HUSEORGID: sessionStorage["OrganizationID"] - 0,
HName: null,
HNumber: null,
+ HMouldTypeID: 0,
Comparator1: '',
Comparator2: '',
Comparator: '',
@@ -952,7 +955,7 @@
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
var ModRightNameDelete = 'Gy_MouldFile_Delete'
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "/Gy_Mould_Edit/Delete_Json", {
+ 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) {
@@ -976,7 +979,7 @@
if (form.HBillStatus == 0 && num == 1) {
this.$modal.msgSuccess('鍗曟嵁宸蹭负鏈鏍哥姸鎬�,鏃犻渶鍙嶅鏍革紒');
} else {
- axios.get(this.baseURL + "/Gy_Mould/AuditProcessReportList", {
+ axios.get(this.$baseUrl + "/Gy_Mould/AuditProcessReportList", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -997,7 +1000,7 @@
set_De_Stop(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/StopGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/StopGy_Source", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1061,7 +1064,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
},
@@ -1097,6 +1100,15 @@
this.uploadData = this.getPage(this.uploadPage, this.alluploadList)
}, 100)
},
+ //娓呴櫎閫変腑鏁版嵁鐨勭紦瀛�
+ clearData() {
+ this.ids = []
+ this.multiple = true
+ this.single = true
+ this.OperationType = 0
+ this.copyType = 0
+ },
+
}
};
</script>
--
Gitblit v1.9.1