生箔工序
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"/>
|
||||
</view>
|
||||
<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" :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>
|
||||
@@ -98,7 +98,7 @@
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import UpTop from '@/components/upTop.vue'
|
||||
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 {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -188,10 +188,10 @@
|
||||
}
|
||||
},
|
||||
/** 呼叫 */
|
||||
async _needEmptyAxisTest () {
|
||||
async _needEmptyAxis () {
|
||||
this.disabled1 = true
|
||||
try {
|
||||
let res = await needEmptyAxisTest(this.val1, this.val2, this.isV)
|
||||
let res = await needEmptyAxis(this.val1, this.val2, this.isV)
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -84,8 +84,8 @@ export const surfaceConfirm = (code) => request({
|
||||
* 生箔工序
|
||||
*/
|
||||
// 1.1呼叫
|
||||
export const needEmptyAxisTest = (code, name, type) => request({
|
||||
url: 'api/pda/raw/needEmptyAxisTest',
|
||||
export const needEmptyAxis = (code, name, type) => request({
|
||||
url: 'api/pda/raw/needEmptyAxis',
|
||||
data: {
|
||||
point_code: code,
|
||||
container_name: name,
|
||||
|
||||
Reference in New Issue
Block a user