生箔工序
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd-row submitbar">
|
<view class="zd-row submitbar">
|
||||||
<button class="zd-col-3 btn-submit btn-success" :disabled="disabled1" @tap="_needEmptyAxisTest">呼叫</button>
|
<button class="zd-col-3 btn-submit btn-success" :disabled="disabled1" @tap="_needEmptyAxis">呼叫</button>
|
||||||
<button class="zd-col-5 btn-submit btn-success" :disabled="disabled4" @tap="_createOrder">创建工单</button>
|
<button class="zd-col-5 btn-submit btn-success" :disabled="disabled4" @tap="_createOrder">创建工单</button>
|
||||||
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !(val1 && !pkId)}" :disabled="disabled5" @tap="_needEmptyVehicle">呼叫空轴</button>
|
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !(val1 && !pkId)}" :disabled="disabled5" @tap="_needEmptyVehicle">呼叫空轴</button>
|
||||||
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">准备就绪</button>
|
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">准备就绪</button>
|
||||||
@@ -98,7 +98,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 {queryRawFoilList, needEmptyVehicle, confirmBlanking, finishBlanking, finish} from '@/utils/getData1.js'
|
import {queryRawFoilList, needEmptyVehicle, confirmBlanking, finishBlanking, finish} from '@/utils/getData1.js'
|
||||||
import {needEmptyAxisTest, createOrder} from '@/utils/getData3.js'
|
import {needEmptyAxis, createOrder} from '@/utils/getData3.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -188,10 +188,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 呼叫 */
|
/** 呼叫 */
|
||||||
async _needEmptyAxisTest () {
|
async _needEmptyAxis () {
|
||||||
this.disabled1 = true
|
this.disabled1 = true
|
||||||
try {
|
try {
|
||||||
let res = await needEmptyAxisTest(this.val1, this.val2, this.isV)
|
let res = await needEmptyAxis(this.val1, this.val2, this.isV)
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
@@ -84,8 +84,8 @@ export const surfaceConfirm = (code) => request({
|
|||||||
* 生箔工序
|
* 生箔工序
|
||||||
*/
|
*/
|
||||||
// 1.1呼叫
|
// 1.1呼叫
|
||||||
export const needEmptyAxisTest = (code, name, type) => request({
|
export const needEmptyAxis = (code, name, type) => request({
|
||||||
url: 'api/pda/raw/needEmptyAxisTest',
|
url: 'api/pda/raw/needEmptyAxis',
|
||||||
data: {
|
data: {
|
||||||
point_code: code,
|
point_code: code,
|
||||||
container_name: name,
|
container_name: name,
|
||||||
|
|||||||
Reference in New Issue
Block a user