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/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList.vue | 121 +---------------------------------------
1 files changed, 4 insertions(+), 117 deletions(-)
diff --git a/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList.vue b/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList.vue
index ba9e5cc..1175b86 100644
--- a/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList.vue
+++ b/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList.vue
@@ -145,7 +145,7 @@
serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
tabs: 0,
urls: '/Web/GetEquipmentBillsList',
- MvarReportTitle: '璁惧鐐规璁板綍鍗曠紦瀛�',
+ MvarReportTitle: '璁惧鐐规璁板綍鍗曞垪琛�',
showmore: false,
hform: {
HBillNo: '',
@@ -172,8 +172,6 @@
}
},
onShow() {
- //鐢ㄦ埛妯″潡鏉冮檺鍒ゆ柇
- this.CheckModRight()
this.changeTab(0)
console.log(this.userInfo, uni.getStorageSync('HUserName'))
},
@@ -187,13 +185,7 @@
}
}
- },
- // onPullDownRefresh: function() {
- // this.clear()
- // setTimeout(() => {
- // uni.stopPullDownRefresh();
- // }, 1000);
- // },
+ },
onReady() {
this.getCalcHeight()
},
@@ -224,30 +216,6 @@
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 +236,6 @@
if (this.tabs == 0) {
this.urls = '/Web/GetEquipmentBillsList'
}
- // if (this.tabs == 1) {
- // this.urls = '/WEBSController/GetKf_ICStockBillQueryList_User_Json'
- // }
this.search()
},
async getList() {
@@ -343,43 +308,9 @@
}
this.search()
},
- add() {
+ creat() {
uni.navigateTo({
url: '/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBill?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'
- })
- },
})
},
//鍒犻櫎
@@ -422,51 +353,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