新增页面,国际化
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user