分切呼叫送轴
This commit is contained in:
@@ -54,6 +54,7 @@
|
|||||||
<th><view style="width: 220rpx;">tube</view></th>
|
<th><view style="width: 220rpx;">tube</view></th>
|
||||||
<th>状态</th>
|
<th>状态</th>
|
||||||
<th>呼叫时间</th>
|
<th>呼叫时间</th>
|
||||||
|
<th>操作</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -64,6 +65,11 @@
|
|||||||
<td class="wrap">{{e.tube}}</td>
|
<td class="wrap">{{e.tube}}</td>
|
||||||
<td>{{getStatusText(e.status)}}</td>
|
<td>{{getStatusText(e.status)}}</td>
|
||||||
<td>{{e.start_time}}</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>
|
||||||
|
</view>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -84,7 +90,7 @@
|
|||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import UpTop from '@/components/upTop.vue'
|
import UpTop from '@/components/upTop.vue'
|
||||||
import {queryProductArea, queryDeviceByarea, showManualView} from '@/utils/getData2.js'
|
import {queryProductArea, queryDeviceByarea, showManualView} from '@/utils/getData2.js'
|
||||||
import {paperQueryPaperMaterial, forcedFeedShaft} from '@/utils/getData3.js'
|
import {paperQueryPaperMaterial, forcedFeedShaft, urgentPlan} from '@/utils/getData3.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -265,6 +271,22 @@
|
|||||||
if (res) {
|
if (res) {
|
||||||
this.dataList = [...res]
|
this.dataList = [...res]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
async _urgentPlan (e) {
|
||||||
|
try {
|
||||||
|
this.disabled = true
|
||||||
|
let res = await urgentPlan(e)
|
||||||
|
if (res) {
|
||||||
|
this._showManualView()
|
||||||
|
uni.showToast({
|
||||||
|
title: res.message,
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.disabled = false
|
||||||
|
} catch (e) {
|
||||||
|
this.disabled = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -364,6 +364,10 @@ export const forcedFeedShaft = (area, dname, dcode, ulk, ulv, urk, urv, dlk, dlv
|
|||||||
down_right_size_v: drv,
|
down_right_size_v: drv,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
export const urgentPlan = (data) => request({
|
||||||
|
url:'api/pda/slitter/urgentPlan',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
/**
|
/**
|
||||||
* 空轴回库(一期分切管理)
|
* 空轴回库(一期分切管理)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -272,8 +272,6 @@ export const twoQueryBoxIvt = (code) => {
|
|||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
export const showManualView = (code) => {
|
export const showManualView = (code) => {
|
||||||
let res = {
|
let res = [{resource_name: 'B60FQ00003', up_or_down: '1', qzz_size: '6', status: '01', qzz_generation: '5', start_time: '2025-03-11 15:24:26'}]
|
||||||
data: [{resource_name: 'B60FQ00003', up_or_down: '1', qzz_size: '6', status: '01', qzz_generation: '5', start_time: '2025-03-11 15:24:26'}]
|
|
||||||
}
|
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user