生箔工序

This commit is contained in:
蔡玲
2024-11-07 13:50:03 +08:00
parent 18918d272b
commit 74d53a3461
2 changed files with 6 additions and 6 deletions

View File

@@ -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,

View File

@@ -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,