新增页面,国际化
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._boxReturn()
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
if (this.dataList.length === 0) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._twoPdaOutConfirm()
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._twoPdaBoxIn()
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
if (!this.checkArr.length) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._twoPdaVehicleIn()
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
if (!this.val1 || !this.val2 || !this.index) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._twoPdaVehicleIn()
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updatePackagePoint()
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !val1}" :disabled="disabled" @tap="handleConfirm">子卷包装解绑</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !val1}" :disabled="disabled" @tap="handleConfirm">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -50,7 +50,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._toEndSub()
|
||||
}
|
||||
|
||||
97
pages/SecondPhase/ThreeCodeToOne.vue
Normal file
97
pages/SecondPhase/ThreeCodeToOne.vue
Normal file
@@ -0,0 +1,97 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<!-- <nav-bar title="三码合一"></nav-bar> -->
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">{{$t('select.internal-label')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box v-model="val1" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">{{$t('select.tube-label')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box v-model="val2" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">{{$t('filter.box-code')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box v-model="val3" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">{{$t('filter.outer-label-code')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box v-model="val4" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_checkCode">{{$t('button.verify')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {checkCode} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
val1: '',
|
||||
val2: '',
|
||||
val3: '',
|
||||
val4: '',
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
},
|
||||
methods: {
|
||||
async _checkCode () {
|
||||
this.disabled = true
|
||||
if (!this.val1 || !this.val2 || !this.val3 || !this.val4) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await checkCode(this.val1, this.val2, this.val3, this.val4)
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
},
|
||||
clearUp () {
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -80,7 +80,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._saveBoxInfo()
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
if (!this.index || !this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._twoPdaReturnIn()
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
if (!this.index || !this.val1 || !this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._twoPdaReback()
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._boxIn()
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updateWeight()
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updatePoint()
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{$t('filter.box-no')}}</th>
|
||||
<th>木箱料号</th>
|
||||
<th>{{$t('filter.box-type')}}</th>
|
||||
<th>{{$t('filter.wooden-box-description')}}</th>
|
||||
<th>{{$t('filter.max-sub-num')}}</th>
|
||||
<th>{{$t('grid.wooden-box-length')}}</th>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
if (!this.val1 && !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._abnormalOut()
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
if (!this.index) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._confirmPass()
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._pointOperate(type)
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._inCoolIvt()
|
||||
}
|
||||
@@ -227,7 +227,7 @@
|
||||
this.disabled2 = false
|
||||
},
|
||||
async handleConfirm2 () {
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this.modalToSure()
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
if ((!this.val1 || !this.val2) && type === '2') {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
if (type === '1') {
|
||||
this._ovenInAndOut1(type)
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
if (!this.val1 && !this.index1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updatePackageInfo()
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
if (!this.val1 || !this.val2 || !this.val5) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._handleBakingovenInAndOut1(type)
|
||||
}
|
||||
@@ -153,7 +153,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._handleBakingcheckConfirm()
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
if (!this.val1 || !this.index) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._bakingReBake()
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._confirmWeight()
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
if (!this.val1 || !this.index1 || !this.index2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._printTable()
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
if (!this.val2 && type === '7') {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
if (type === '5') {
|
||||
this._confirmBlanking()
|
||||
@@ -254,7 +254,7 @@
|
||||
this.type = ''
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._rawScrollDowm(type)
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updatePackageInfo()
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
if (!this.arr1.length) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._zjInBoundConfirm()
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._AGVPass()
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
if (!this.index1 ||!this.index2 || !this.index3 || (!this.upL && !this.upR)) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._downBait()
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
if (!this.index2 || (!this.upL && !this.upR && !this.lowL && !this.lowR)) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._forcedFeedShaft()
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@
|
||||
if (!this.index || !this.dataList.length) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._downShafts()
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
if (!this.index) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._doInitShaftPoint()
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
if (!this.dataList.length) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._operateIvt(type)
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._rollCacheManage(type)
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._shaftMaintenanceInventory(type)
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
if (!this.index || !this.dataList.length) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._downRolls2()
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._feedingVehicleReturn(type)
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._doStockAreaBinding()
|
||||
}
|
||||
@@ -80,7 +80,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._doStockAreaUnbinding()
|
||||
}
|
||||
@@ -103,7 +103,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._instorStock(type)
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
if (!this.val1 || (!this.val2 && !this.val3)) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._doSubRollWeightBinding()
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
if (this.val1 || !this.index1 || !this.index2) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._moveStock()
|
||||
}
|
||||
|
||||
@@ -95,11 +95,11 @@
|
||||
this.show = true
|
||||
this.secM = e.sonTree
|
||||
this.icon = e.path
|
||||
this.title = e.title
|
||||
this.title = e[this.$langPre.computedProp('title')]
|
||||
}
|
||||
},
|
||||
toPage2 (e) {
|
||||
let url = e.path + '?title=' + e.title
|
||||
let url = e.path + '?title=' + e[this.$langPre.computedProp('title')]
|
||||
uni.redirectTo({
|
||||
url: url
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user