diff --git a/pages/SecondPhase/slitting/DoInitShaft.vue b/pages/SecondPhase/slitting/DoInitShaft.vue
index c55bce0..362e1dd 100644
--- a/pages/SecondPhase/slitting/DoInitShaft.vue
+++ b/pages/SecondPhase/slitting/DoInitShaft.vue
@@ -10,6 +10,15 @@
+
+
+
+
+
+
+ 是否重新套轴
+
+
@@ -32,7 +41,8 @@
title: '',
options: [],
index: '',
- disabled: false
+ disabled: false,
+ isV: '1'
};
},
onLoad (options) {
@@ -42,6 +52,9 @@
this._getShaftPoint()
},
methods: {
+ isVirtual () {
+ this.isV = this.isV === '0' ? '1' : '0'
+ },
async _getShaftPoint () {
let res = await getShaftPoint()
this.options = [...res]
@@ -56,7 +69,7 @@
return
}
try {
- let res = await doInitShaftPoint(this.index)
+ let res = await doInitShaftPoint(this.index, this.isV)
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/utils/getData3.js b/utils/getData3.js
index 9882366..b6d2870 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -144,9 +144,9 @@ export const getShaftPoint = () => request({
data: {}
})
// 确定
-export const doInitShaftPoint = (code) => request({
+export const doInitShaftPoint = (code, is) => request({
url:'api/pda/slitter/doInitShaftPoint',
- data: {point_code: code}
+ data: {point_code: code, is_again_tz: is}
})
/**
* 子卷质检