diff --git a/pages/SecondPhase/production/SboProcess.vue b/pages/SecondPhase/production/SboProcess.vue index b69ebce..de34e32 100644 --- a/pages/SecondPhase/production/SboProcess.vue +++ b/pages/SecondPhase/production/SboProcess.vue @@ -83,7 +83,7 @@ - + @@ -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, diff --git a/utils/getData3.js b/utils/getData3.js index 6789f5d..fd43b1e 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -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,