From 920675a9f1ccf311d32e6466ebde737dff765645 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 23 一月 2026 09:15:00 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
---
pages/MJGL/SC_MouldRepairCheck/Sc_MouldRepairCheckBillList.vue | 121 +++-------------------------------------
1 files changed, 9 insertions(+), 112 deletions(-)
diff --git a/pages/MJGL/SC_MouldRepairCheck/Sc_MouldRepairCheckBillList.vue b/pages/MJGL/SC_MouldRepairCheck/Sc_MouldRepairCheckBillList.vue
index cc1cb4a..26795de 100644
--- a/pages/MJGL/SC_MouldRepairCheck/Sc_MouldRepairCheckBillList.vue
+++ b/pages/MJGL/SC_MouldRepairCheck/Sc_MouldRepairCheckBillList.vue
@@ -148,7 +148,7 @@
serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
tabs: 0,
urls: '/Web/GetMouldBillsList',
- MvarReportTitle: '妯″叿缁翠慨妫�楠屽崟缂撳瓨',
+ MvarReportTitle: '妯″叿缁翠慨妫�楠屽崟鍒楄〃',
hform: {
HBillNo: '',
HSourceBillNo: '',
@@ -182,8 +182,7 @@
}
},
onShow() {
- //鐢ㄦ埛妯″潡鏉冮檺鍒ゆ柇
- this.CheckModRight()
+
this.changeTab(0)
console.log(this.userInfo, uni.getStorageSync('HUserName'))
},
@@ -224,30 +223,7 @@
await this.$nextTick()
this.$refs.barcodePopup.open()
},
- CheckModRight() {
- uni.request({
- url: this.serverUrl + '/WEBSController/CheckModRight_Json',
- data: {
- ModRightName: 'CE_OtherOut',
- HUserName: uni.getStorageSync('HUserName')
- },
- success: (res) => {
- if (res.data.count == 1) {} else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
+
onPaginationChangeHandler({
current
}) {
@@ -268,9 +244,7 @@
if (this.tabs == 0) {
this.urls = '/Web/GetMouldBillsList'
}
- // if (this.tabs == 1) {
- // this.urls = '/WEBSController/GetKf_ICStockBillQueryList_User_Json'
- // }
+
this.search()
},
async getList() {
@@ -297,13 +271,13 @@
} else {
CommonUtils.showTips({
title: "娓╅Θ鎻愮ず",
- message: `鑾峰彇璁惧鐐规璁板綍鍗曞け璐�: ${Message}`
+ message: `鑾峰彇妯″叿缁翠慨楠屾敹鍗曞け璐�: ${Message}`
})
}
} catch (err) {
CommonUtils.showTips({
title: "娓╅Θ鎻愮ず",
- message: `鑾峰彇璁惧鐐规璁板綍鍗曞け璐�: ${err}`
+ message: `鑾峰彇妯″叿缁翠慨楠屾敹鍗曞け璐�: ${err}`
})
}
@@ -345,43 +319,10 @@
},
add() {
uni.navigateTo({
- url: '/pages/MJGL/Sb_EquipRepariCheckBill/Sb_EquipRepariCheckBill?operationType=1'
+ url: '/pages/MJGL/SC_MouldRepairCheck/Sc_MouldRepairCheckBill?operationType=1'
})
},
- //缂栬緫
- edit(item) {
- console.log(item)
- uni.request({
- url: this.serverUrl + '/WEBSController/TempList_Modify_Json',
- data: {
- "HInterID": item.HInterID,
- "HBillNo": item.鍗曟嵁鍙�,
- "HBillType": this.hform.HBillType
- },
- success: (res) => {
- console.log(1, res);
- if (res.data.count == 1) {
- uni.navigateTo({
- url: './OtherOutBill?OperationType=2&HInterID=' + item.HInterID
- })
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
-
- },
- fail: (res) => {
- console.log(res);
- uni.hideLoading()
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- })
- },
+
//鍒犻櫎
del(item) {
// console.log(item.hmainid,uni.getStorageSync('HUserName'))
@@ -422,51 +363,7 @@
}
}
});
- },
- //鎾ら攢
- revoke(item) {
- // console.log(item.hmainid,uni.getStorageSync('HUserName'))
- uni.showModal({
- title: '鎻愮ず',
- content: '鏄惁纭鎾ら攢',
- success: (res) => {
- if (res.confirm) {
- console.log('鐢ㄦ埛鐐瑰嚮纭畾');
- uni.request({
- url: this.serverUrl +
- '/WEBSController/set_DeleteICStockBillAndWMS_Json',
- data: {
- HInterID: item.HInterID,
- HBillNo: item.鍗曟嵁鍙�,
- HBillType: this.hform.HBillType,
- HMaker: uni.getStorageSync('HUserName'),
- MvarReportTitle: this.MvarReportTitle,
- },
- success: (res) => {
- console.log(1, res);
- if (res.data.count == 1) {
- this.clear()
- }
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.hideLoading()
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- } else if (res.cancel) {
- console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
- }
- }
- });
- },
+ }
}
}
</script>
--
Gitblit v1.9.1