diff --git a/pages/ProductManage/SboProcess.vue b/pages/ProductManage/SboProcess.vue
index d8d56d6..49c2472 100644
--- a/pages/ProductManage/SboProcess.vue
+++ b/pages/ProductManage/SboProcess.vue
@@ -25,6 +25,15 @@
/>
+
+
+
+
+
+
+ 是否大车
+
+
@@ -108,7 +117,8 @@
},
totalCount: 0,
pageNum: 1,
- pageSize: 10
+ pageSize: 10,
+ isV: '0'
};
},
created () {
@@ -121,6 +131,9 @@
this.title = options.title
},
methods: {
+ isVirtual () {
+ this.isV = this.isV === '0' ? '1' : '0'
+ },
searchList () {
this.pkId = ''
this.pkObj = {}
@@ -167,7 +180,7 @@
return
}
try {
- let res = await needEmptyAxis(this.pkObj)
+ let res = await needEmptyAxis(this.pkObj, this.isV)
this.disabled1 = false
this.pkId = ''
this.pkObj = {}
diff --git a/pages/SecondPhase/production/SboProcess.vue b/pages/SecondPhase/production/SboProcess.vue
index de34e32..c24430d 100644
--- a/pages/SecondPhase/production/SboProcess.vue
+++ b/pages/SecondPhase/production/SboProcess.vue
@@ -32,15 +32,6 @@
-
-
-
-
-
-
- 是否大车
-
-
@@ -128,8 +119,7 @@
},
totalCount: 0,
pageNum: 1,
- pageSize: 10,
- isV: '0'
+ pageSize: 10
};
},
onLoad (options) {
@@ -145,9 +135,6 @@
this.$refs.scanChild.handleFocus()
},
methods: {
- isVirtual () {
- this.isV = this.isV === '0' ? '1' : '0'
- },
searchList () {
this.pkId = ''
this.pkObj = {}
@@ -191,7 +178,7 @@
async _needEmptyAxis () {
this.disabled1 = true
try {
- let res = await needEmptyAxis(this.val1, this.val2, this.isV)
+ let res = await needEmptyAxis(this.val1, this.val2)
this.disabled1 = false
uni.showToast({
title: res.message,
diff --git a/utils/getData1.js b/utils/getData1.js
index b5ad518..0ed4877 100644
--- a/utils/getData1.js
+++ b/utils/getData1.js
@@ -35,10 +35,11 @@ export const queryRawFoilList = (pcode, cname, page, size) => request({
}
})
// 1.2呼叫
-export const needEmptyAxis = (rjo) => request({
+export const needEmptyAxis = (rjo, type) => request({
url: 'api/pda/raw/needEmptyAxis',
data: {
- raw_jo: rjo
+ raw_jo: rjo,
+ big_type: type
}
})
// 1.3呼叫空轴
diff --git a/utils/getData3.js b/utils/getData3.js
index fd43b1e..0398c55 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -84,12 +84,11 @@ export const surfaceConfirm = (code) => request({
* 生箔工序
*/
// 1.1呼叫
-export const needEmptyAxis = (code, name, type) => request({
+export const needEmptyAxis = (code, name) => request({
url: 'api/pda/raw/needEmptyAxis',
data: {
point_code: code,
- container_name: name,
- big_type: type
+ container_name: name
}
})
// 创建工单