二期接口改地址
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
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 UpTop from '@/components/upTop.vue'
|
import UpTop from '@/components/upTop.vue'
|
||||||
import {twoPdaIvtQuery} from '@/utils/getData2.js'
|
import {twoPdaIvtQuery} from '@/utils/getData3.js'
|
||||||
// import {twoPdaIvtQuery} from '@/utils/mork2.js'
|
// import {twoPdaIvtQuery} from '@/utils/mork2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -113,7 +113,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 {twoPdaIvtDtlQuery, twoPdaIvtbBoxDtlQuery, twoPdaOutConfirm} from '@/utils/getData2.js'
|
import {twoPdaIvtDtlQuery, twoPdaIvtbBoxDtlQuery, twoPdaOutConfirm} from '@/utils/getData3.js'
|
||||||
// import {twoPdaIvtDtlQuery, twoPdaIvtbBoxDtlQuery} from '@/utils/mork2.js'
|
// import {twoPdaIvtDtlQuery, twoPdaIvtbBoxDtlQuery} from '@/utils/mork2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -39,7 +39,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 {twoPdaBoxIn} from '@/utils/getData2.js'
|
import {twoPdaBoxIn} from '@/utils/getData3.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -37,7 +37,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 {twoPdaVehicleIn} from '@/utils/getData2.js'
|
import {twoPdaVehicleIn} from '@/utils/getData3.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -503,61 +503,3 @@ export const rgvStatusQuery = () => request({
|
|||||||
url:'api/pda/task/rgvStatusQuery',
|
url:'api/pda/task/rgvStatusQuery',
|
||||||
data: {}
|
data: {}
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
|
||||||
* 二期空载具入库
|
|
||||||
*/
|
|
||||||
// 1.1空载具入库-【入库按钮】
|
|
||||||
export const twoPdaVehicleIn = (code, type, pcode) => request({
|
|
||||||
url:'api/twoPda/vehicle/vehicleIn',
|
|
||||||
data: {
|
|
||||||
vehicle_code: code,
|
|
||||||
vehicle_type: type,
|
|
||||||
point_code: pcode
|
|
||||||
}
|
|
||||||
})
|
|
||||||
/**
|
|
||||||
* 二期空木箱入库
|
|
||||||
*/
|
|
||||||
// 1.1空木箱入库-【入库按钮】
|
|
||||||
export const twoPdaBoxIn = (code, no, pcode) => request({
|
|
||||||
url:'api/twoPda/vehicle/boxIn',
|
|
||||||
data: {
|
|
||||||
vehicle_code: code,
|
|
||||||
box_no: no,
|
|
||||||
point_code: pcode
|
|
||||||
}
|
|
||||||
})
|
|
||||||
/**
|
|
||||||
* 二期发货区解绑
|
|
||||||
*/
|
|
||||||
// 1.1单据初始化查询
|
|
||||||
export const twoPdaIvtQuery = (no, code) => request({
|
|
||||||
url:'api/twoPda/st/ivtQuery',
|
|
||||||
data: {
|
|
||||||
box_no: no,
|
|
||||||
bill_code: code
|
|
||||||
}
|
|
||||||
})
|
|
||||||
// 1.2【确认】按钮(二级页面)
|
|
||||||
export const twoPdaIvtDtlQuery = (no, code) => request({
|
|
||||||
url:'api/twoPda/st/ivtDtlQuery',
|
|
||||||
data: {
|
|
||||||
box_no: no,
|
|
||||||
bill_code: code
|
|
||||||
}
|
|
||||||
})
|
|
||||||
// 1.3木箱明细(点木箱超链接跳转)
|
|
||||||
export const twoPdaIvtbBoxDtlQuery = (no) => request({
|
|
||||||
url:'api/twoPda/st/ivtbBoxDtlQuery',
|
|
||||||
data: {
|
|
||||||
box_no: no
|
|
||||||
}
|
|
||||||
})
|
|
||||||
// 1.4【出库确认】按钮(二级页面按钮)
|
|
||||||
export const twoPdaOutConfirm = (no) => request({
|
|
||||||
url:'api/twoPda/st/outConfirm',
|
|
||||||
data: {
|
|
||||||
box_no: no
|
|
||||||
}
|
|
||||||
})
|
|
||||||
58
utils/getData3.js
Normal file
58
utils/getData3.js
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
// 二期接口——cll
|
||||||
|
/**
|
||||||
|
* 二期空载具入库
|
||||||
|
*/
|
||||||
|
// 1.1空载具入库-【入库按钮】
|
||||||
|
export const twoPdaVehicleIn = (code, type, pcode) => request({
|
||||||
|
url:'api/twoPda/vehicle/vehicleIn',
|
||||||
|
data: {
|
||||||
|
vehicle_code: code,
|
||||||
|
vehicle_type: type,
|
||||||
|
point_code: pcode
|
||||||
|
}
|
||||||
|
})
|
||||||
|
/**
|
||||||
|
* 二期空木箱入库
|
||||||
|
*/
|
||||||
|
// 1.1空木箱入库-【入库按钮】
|
||||||
|
export const twoPdaBoxIn = (code, no, pcode) => request({
|
||||||
|
url:'api/twoPda/vehicle/boxIn',
|
||||||
|
data: {
|
||||||
|
vehicle_code: code,
|
||||||
|
box_no: no,
|
||||||
|
point_code: pcode
|
||||||
|
}
|
||||||
|
})
|
||||||
|
/**
|
||||||
|
* 二期发货区解绑
|
||||||
|
*/
|
||||||
|
// 1.1单据初始化查询
|
||||||
|
export const twoPdaIvtQuery = (no, code) => request({
|
||||||
|
url:'api/twoPda/st/ivtQuery',
|
||||||
|
data: {
|
||||||
|
box_no: no,
|
||||||
|
bill_code: code
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// 1.2【确认】按钮(二级页面)
|
||||||
|
export const twoPdaIvtDtlQuery = (no, code) => request({
|
||||||
|
url:'api/twoPda/st/ivtDtlQuery',
|
||||||
|
data: {
|
||||||
|
box_no: no,
|
||||||
|
bill_code: code
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// 1.3木箱明细(点木箱超链接跳转)
|
||||||
|
export const twoPdaIvtbBoxDtlQuery = (no) => request({
|
||||||
|
url:'api/twoPda/st/ivtbBoxDtlQuery',
|
||||||
|
data: {
|
||||||
|
box_no: no
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// 1.4【出库确认】按钮(二级页面按钮)
|
||||||
|
export const twoPdaOutConfirm = (no) => request({
|
||||||
|
url:'api/twoPda/st/outConfirm',
|
||||||
|
data: {
|
||||||
|
box_no: no
|
||||||
|
}
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user