接口
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import {getCacheLine, releasepoint} from '@/utils/getData2.js'
|
import {finishproductPoint, releasepoint} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -47,11 +47,18 @@
|
|||||||
disabled2: false
|
disabled2: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
created () {
|
||||||
|
this._finishproductPoint()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 选择器1 */
|
/** 选择器1 */
|
||||||
selectChange1(e) {
|
selectChange1(e) {
|
||||||
this.index1 = e
|
this.index1 = e
|
||||||
},
|
},
|
||||||
|
async _finishproductPoint () {
|
||||||
|
let res = await finishproductPoint('2')
|
||||||
|
this.options1 = [...res]
|
||||||
|
},
|
||||||
toSure1 () {
|
toSure1 () {
|
||||||
this.disabled1 = true
|
this.disabled1 = true
|
||||||
if (!this.index1 || !this.val1) {
|
if (!this.index1 || !this.val1) {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import {getCacheLine, InstoreOrder} from '@/utils/getData2.js'
|
import {finishproductPoint, InstoreOrder} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
options1: [{text: 'A1', value: 'A1'}, {text: 'A2', value: 'A2'}],
|
options1: [],
|
||||||
index1: 'A1',
|
index1: 'A1',
|
||||||
val1: '',
|
val1: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
@@ -76,6 +76,9 @@
|
|||||||
destroyed () {
|
destroyed () {
|
||||||
this.$store.dispatch('setPublicArr', '')
|
this.$store.dispatch('setPublicArr', '')
|
||||||
},
|
},
|
||||||
|
created () {
|
||||||
|
this._finishproductPoint()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 选择器1 */
|
/** 选择器1 */
|
||||||
selectChange1(e) {
|
selectChange1(e) {
|
||||||
@@ -86,9 +89,9 @@
|
|||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
this.$store.dispatch('setPublicArr', '')
|
this.$store.dispatch('setPublicArr', '')
|
||||||
},
|
},
|
||||||
async _inOutExceptionInstQuery () {
|
async _finishproductPoint () {
|
||||||
let res = await inOutExceptionInstQuery(this.index2)
|
let res = await finishproductPoint('1')
|
||||||
this.dataList = [...res]
|
this.options1 = [...res]
|
||||||
},
|
},
|
||||||
async toSure () {
|
async toSure () {
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
|
|||||||
@@ -192,3 +192,11 @@ export const semiProductInFromPda = (id, mid, qty, code) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 入库点/放货点获取
|
||||||
|
export const finishproductPoint = (type) => request({
|
||||||
|
url:'api/pda/finishproduct/point',
|
||||||
|
data: {
|
||||||
|
type: type
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user