From bad10e1f9e91992e5b8f9bed7892dca4c2db7181 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 14 四月 2025 16:54:40 +0800 Subject: [PATCH] 界面翻译为俄语 --- pages/basics/checkout.vue | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/pages/basics/checkout.vue b/pages/basics/checkout.vue index d78860f..67646e8 100644 --- a/pages/basics/checkout.vue +++ b/pages/basics/checkout.vue @@ -53,7 +53,7 @@ </scroll-view> <view class="footer flex justify-around"> <view> - <button class="cu-btn lg" @click="resst()">閲嶇疆</button> + <button class="cu-btn lg" @click="resst()">小斜褉芯褋</button> </view> <view> <button class="cu-btn lg pakin-btn bg-blue" @click="comb()">纭</button> @@ -73,6 +73,7 @@ export default { data() { return { + commonUrl:null, barcode: '', barcodeFocus:true, focus:false, @@ -105,9 +106,15 @@ this.baseIP = UIP; const UPORT = uni.getStorageSync('UPORT'); this.basePORT = UPORT - + const PROJ = uni.getStorageSync('UPROJ'); + this.baseUrl = PROJ + this.getUrl() }, methods: { + // 鑾峰彇url + getUrl() { + this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl + }, huanghang() { this.matnr = '' this.focus = false; @@ -181,7 +188,7 @@ findBarcode() { let that = this uni.request({ - url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mobile/pakout/confirm/barcode/auth', + url: that.commonUrl + '/mobile/pakout/confirm/barcode/auth', data: { barcode:that.barcode }, @@ -223,7 +230,7 @@ findMat() { let that = this uni.request({ - url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mobile/pakout/confirm/pick/auth', + url: that.commonUrl + '/mobile/pakout/confirm/pick/auth', data: { wrkNo:that.wrkNo, matnr:that.matnr @@ -303,7 +310,7 @@ } uni.showLoading(); uni.request({ - url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mobile/pakout/confirm/auth', + url: that.commonUrl + '/mobile/pakout/confirm/auth', data: that.matList, method: 'POST', header: { -- Gitblit v1.9.1