diff --git a/pages/SecondPhase/finished/ReturnToStore.vue b/pages/SecondPhase/finished/ReturnToStore.vue
index 95ede80..b3b1991 100644
--- a/pages/SecondPhase/finished/ReturnToStore.vue
+++ b/pages/SecondPhase/finished/ReturnToStore.vue
@@ -1,8 +1,14 @@
-
+
+
+ 单据类型
+
+
+
+
木箱号
@@ -23,7 +29,7 @@
-
+
@@ -39,20 +45,25 @@
},
data() {
return {
+ options: [{value: '1', text: '返检入库'}, {value: '2', text: '改切入库'}, {value: '0001', text: '生产入库'}, {value: '0009', text: '手工入库'}],
+ index: '',
val1: '',
val2: '',
disabled: false
};
},
methods: {
+ selectChange (e) {
+ this.index = e
+ },
async _twoPdaReturnIn () {
this.disabled = true
- if (!this.val1 || !this.val2) {
+ if (!this.index || !this.val1 || !this.val2) {
this.disabled = false
return
}
try {
- let res = await twoPdaReturnIn(this.val1, this.val2)
+ let res = await twoPdaReturnIn(this.index, this.val1, this.val2)
uni.showToast({
title: res.message,
icon: 'none'
@@ -65,6 +76,7 @@
clearUp () {
this.val1 = ''
this.val2 = ''
+ this.index = ''
}
}
}
diff --git a/pages/SecondPhase/finished/abnorToStore.vue b/pages/SecondPhase/finished/abnorToStore.vue
index c4f5d96..e15e9cc 100644
--- a/pages/SecondPhase/finished/abnorToStore.vue
+++ b/pages/SecondPhase/finished/abnorToStore.vue
@@ -53,7 +53,7 @@
},
data() {
return {
- options: [{value: '1', text: '返检入库'}, {value: '2', text: '改切入库'}],
+ options: [{value: '1', text: '返检入库'}, {value: '2', text: '改切入库'}, {value: '0001', text: '生产入库'}, {value: '0009', text: '手工入库'}],
index: '',
val1: '',
val2: '',
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 4656a5c..012c0f3 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -43,12 +43,14 @@