slitting en id
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
<button class="zd-col-8 btn-submit btn-success" :class="{'btn-info': !val1 || !val2}" @tap="toSure3">{{$t('button.qzzbind')}}</button>
|
||||
</view>
|
||||
<uni-popup ref="alertDialog" type="dialog">
|
||||
<uni-popup-dialog type="info" cancelText="关闭" confirmText="确定" title="提示" :content="content" @confirm="dialogConfirm"></uni-popup-dialog>
|
||||
<!-- <uni-popup-dialog type="info" cancelText="关闭" confirmText="确定" title="提示" :content="content" @confirm="dialogConfirm"></uni-popup-dialog> -->
|
||||
<uni-popup-dialog type="info" :cancelText="$t('button.close')" :confirmText="$t('button.confirm')" :title="$t('toast.prompt')" :content="content" @confirm="dialogConfirm"></uni-popup-dialog>
|
||||
</uni-popup>
|
||||
</view>
|
||||
</template>
|
||||
@@ -69,7 +70,7 @@
|
||||
if (!this.val1) {
|
||||
return
|
||||
}
|
||||
this.content = '确认是否清除点位数据?'
|
||||
this.content = this.$t('toast.confirm-whether-clear-pointdata')
|
||||
this.type = 1
|
||||
this.$refs.alertDialog.open()
|
||||
},
|
||||
@@ -88,7 +89,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
this.content = '确认是否绑定子卷?'
|
||||
this.content = this.$t('toast.confirm-bind-sub-roll')
|
||||
this.type = 2
|
||||
this.$refs.alertDialog.open()
|
||||
},
|
||||
@@ -107,7 +108,7 @@
|
||||
if (!this.val1 || !this.val2) {
|
||||
return
|
||||
}
|
||||
this.content = '确认是否绑定气胀轴?'
|
||||
this.content = this.$t('toast.confirm-bind-inflation-axis')
|
||||
this.type = 3
|
||||
this.$refs.alertDialog.open()
|
||||
},
|
||||
|
||||
@@ -115,8 +115,7 @@
|
||||
}
|
||||
if (type === 1) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确认是否创建送到内包间AGV任务?',
|
||||
content: this.$t('toast.confirm-create-AGV-task-to-inner-room'),
|
||||
confirmColor: '#ff6a00',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<th>{{$t('grid.number')}}</th>
|
||||
<th class="th_2">{{$t('filter.device')}}</th>
|
||||
<th>{{$t('grid.place')}}</th>
|
||||
<th><view style="width: 220rpx;">tube</view></th>
|
||||
<th><view style="width: 220rpx;">{{$t('filter.tubecode')}}</view></th>
|
||||
<th>{{$t('grid.status')}}</th>
|
||||
<th>{{$t('grid.calltime')}}</th>
|
||||
<th>{{$t('grid.operate')}}</th>
|
||||
@@ -61,13 +61,13 @@
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td>{{Number(i) + 1}}</td>
|
||||
<td class="td_2">{{e.resource_name}}</td>
|
||||
<td>{{['上轴', '下轴'][Number(e.up_or_down) - 1]}}</td>
|
||||
<td>{{[$t('select.uppershaft'), $t('select.lowershaft')][Number(e.up_or_down) - 1]}}</td>
|
||||
<td class="wrap">{{e.tube}}</td>
|
||||
<td>{{getStatusText(e.status)}}</td>
|
||||
<td>{{e.start_time}}</td>
|
||||
<td>
|
||||
<view style="display: flex; align-items: center;">
|
||||
<button v-show="e.status === '01'" class="mini-btn" size="mini" type="primary" :disabled="disabled" @tap="_urgentPlan(e)">加急</button>
|
||||
<button v-show="e.status === '01'" class="mini-btn" size="mini" type="primary" :disabled="disabled" @tap="_urgentPlan(e)">{{$t('button.urgent')}}</button>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -267,11 +267,11 @@
|
||||
},
|
||||
getStatusText(status) {
|
||||
const statusMap = {
|
||||
'01': '准备套轴',
|
||||
'02': '正在配送',
|
||||
'03': '配送完成'
|
||||
'01': this.$t('grid.prepare-set-shaft'),
|
||||
'02': this.$t('grid.delivery-in-progress'),
|
||||
'03': this.$t('grid.delivery-completed')
|
||||
}
|
||||
return statusMap[status] || '已完成'
|
||||
return statusMap[status] || this.$t('grid.completed')
|
||||
},
|
||||
async _showManualView () {
|
||||
let res = await showManualView()
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
options2: [],
|
||||
index2: '',
|
||||
obj: {a_point: '-', b_point: '-', status: '-'},
|
||||
options1: [{text: '3寸4代', value: '3-4'}, {text: '3寸5代', value: '3-5'}, {text: '6寸4代', value: '6-4'}, {text: '6寸5代', value: '6-5'}],
|
||||
options1: [{text: this.$t('select.3c4d'), value: '3-4'}, {text: this.$t('select.3c5d'), value: '3-5'}, {text: this.$t('select.6c4d'), value: '6-4'}, {text: this.$t('select.6c5d'), value: '6-5'}],
|
||||
size1: '',
|
||||
size2: '',
|
||||
disabled: false
|
||||
@@ -134,8 +134,7 @@
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确认是否创建送到内包间AGV任务?',
|
||||
content: this.$t('toast.confirm-create-AGV-task-to-inner-room'),
|
||||
confirmColor: '#ff6a00',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
:max="999.999"
|
||||
input-class="filter_input"
|
||||
/>
|
||||
<text>当前值: {{ numberValue }}</text>
|
||||
<text>{{ numberValue }}</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -117,8 +117,7 @@
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定呼叫桁架上气胀轴?',
|
||||
content: this.$t('toast.confirm-call-truss-inflation-axis'),
|
||||
confirmColor: '#ff6a00',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
|
||||
Reference in New Issue
Block a user