半成品物料查询
This commit is contained in:
@@ -208,3 +208,46 @@ export const outgetAll = (id, btime, etime, code, scode, type) => post('api/pda/
|
|||||||
export const bcpOutConfirm = (row) => post('api/pda/bcp/out/confirm', {
|
export const bcpOutConfirm = (row) => post('api/pda/bcp/out/confirm', {
|
||||||
row: row
|
row: row
|
||||||
})
|
})
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 半成品盘点
|
||||||
|
*/
|
||||||
|
// 1.1仓库下拉框
|
||||||
|
export const checkGetBcpStor = () => post('api/pda/bcp/check/getBcpStor', {})
|
||||||
|
// 1.3货位物料查询
|
||||||
|
export const checkGetMaterialIvt = (code, scode) => post('api/pda/bcp/check/getMaterialIvt', {
|
||||||
|
material_code: code,
|
||||||
|
struct_code: scode
|
||||||
|
})
|
||||||
|
// 1.5生成盘点单(按钮)
|
||||||
|
export const checkCreate = (from) => post('api/pda/bcp/check/create', {
|
||||||
|
from: from
|
||||||
|
})
|
||||||
|
// 2.1半成品盘点查询
|
||||||
|
export const checkGetDtlAll = (id, btime, etime, code, scode, stcode) => post('api/pda/bcp/check/getDtlAll', {
|
||||||
|
stor_id: id,
|
||||||
|
begin_time: btime,
|
||||||
|
end_time: etime,
|
||||||
|
material_code: code,
|
||||||
|
storagevehicle_code: scode,
|
||||||
|
struct_code: stcode
|
||||||
|
})
|
||||||
|
// 2.2盘点位下拉框
|
||||||
|
export const checkGetPoint = () => post('api/pda/bcp/check/getPoint', {})
|
||||||
|
// 2.3下发(按钮)
|
||||||
|
export const checkSendTask = (row, code) => post('api/pda/bcp/check/sendTask', {
|
||||||
|
row: row,
|
||||||
|
point_code: code
|
||||||
|
})
|
||||||
|
// 2.4盘点确认(按钮)
|
||||||
|
export const checkConfirm = (row) => post('api/pda/bcp/check/confirm', {
|
||||||
|
row: row
|
||||||
|
})
|
||||||
|
// 2.5实盘为准(按钮)
|
||||||
|
export const checkConfirmOffer = (row) => post('api/pda/bcp/check/confirmOffer', {
|
||||||
|
row: row
|
||||||
|
})
|
||||||
|
// 2.6财务为准(按钮)
|
||||||
|
export const checkConfirmFinance = (row) => post('api/pda/bcp/check/confirmFinance', {
|
||||||
|
row: row
|
||||||
|
})
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<div class="search-label">仓库</div>
|
<div class="search-label">仓库</div>
|
||||||
<div class="filter_input_wraper">
|
<div class="filter_input_wraper">
|
||||||
<el-select v-model="value1" filterable clearable placeholder="请选择">
|
<el-select v-model="value1" filterable clearable placeholder="请选择">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in options1"
|
v-for="item in options1"
|
||||||
:key="item.device_code"
|
:key="item.stor_id"
|
||||||
:label="item.device_name"
|
:label="item.stor_name"
|
||||||
:value="item.device_code">
|
:value="item.stor_id">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
@@ -89,6 +89,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {checkGetBcpStor} from '@config/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -99,6 +100,13 @@ export default {
|
|||||||
options3: [],
|
options3: [],
|
||||||
value3: ''
|
value3: ''
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 仓库下拉框
|
||||||
|
async _checkGetBcpStor () {
|
||||||
|
let res = await checkGetBcpStor()
|
||||||
|
this.options1 = [...res.data]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -106,8 +114,4 @@ export default {
|
|||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
.grid_wraper
|
.grid_wraper
|
||||||
height calc(100% - 95px)
|
height calc(100% - 95px)
|
||||||
.filter_input_wraper_1
|
|
||||||
width calc(100% - 45px)
|
|
||||||
.search-label_1
|
|
||||||
width 45px
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ export default {
|
|||||||
},
|
},
|
||||||
searchMater () {
|
searchMater () {
|
||||||
this.$store.dispatch('setMaterObj', '')
|
this.$store.dispatch('setMaterObj', '')
|
||||||
this.$router.push('/matersearch')
|
this.$router.push('/semifinishedinmatersearch')
|
||||||
},
|
},
|
||||||
toJumpSearch () {
|
toJumpSearch () {
|
||||||
this.$router.push('/semifinishedinstoresearch')
|
this.$router.push('/semifinishedinstoresearch')
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
},
|
},
|
||||||
searchMater () {
|
searchMater () {
|
||||||
this.$store.dispatch('setMaterObj', '')
|
this.$store.dispatch('setMaterObj', '')
|
||||||
this.$router.push('/outmatersearch')
|
this.$router.push('/semifinishedoutmatersearch')
|
||||||
},
|
},
|
||||||
toJumpSearch () {
|
toJumpSearch () {
|
||||||
this.$router.push('/semifinishedoutstoresearch')
|
this.$router.push('/semifinishedoutstoresearch')
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ const semiFinishedOutstoreSearch = r => require.ensure([], () => r(require('@pag
|
|||||||
const semiFinishedCheck = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-check')), 'semifinished')
|
const semiFinishedCheck = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-check')), 'semifinished')
|
||||||
const semiFinishedCheckSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-check-search')), 'semifinished')
|
const semiFinishedCheckSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-check-search')), 'semifinished')
|
||||||
const semiFinishedComposeSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-compose-search')), 'semifinished')
|
const semiFinishedComposeSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-compose-search')), 'semifinished')
|
||||||
const materSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/mater-search')), 'semifinished')
|
const semiFinishedInmaterSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-in-mater-search')), 'semifinished')
|
||||||
const outMaterSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/out-mater-search')), 'semifinished')
|
const semiFinishedOutMaterSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-out-mater-search')), 'semifinished')
|
||||||
|
|
||||||
const Homeset = r => require.ensure([], () => r(require('@page/homeset/index')), 'Homeset')
|
const Homeset = r => require.ensure([], () => r(require('@page/homeset/index')), 'Homeset')
|
||||||
const Home = r => require.ensure([], () => r(require('@page/homeset/HomePage')), 'HomePage')
|
const Home = r => require.ensure([], () => r(require('@page/homeset/HomePage')), 'HomePage')
|
||||||
@@ -109,12 +109,12 @@ export default new Router({
|
|||||||
component: semiFinishedComposeSearch,
|
component: semiFinishedComposeSearch,
|
||||||
meta: {guidePath: '7'}
|
meta: {guidePath: '7'}
|
||||||
}, {
|
}, {
|
||||||
path: '/matersearch',
|
path: '/semifinishedinmatersearch',
|
||||||
component: materSearch,
|
component: semiFinishedInmaterSearch,
|
||||||
meta: {guidePath: '8'}
|
meta: {guidePath: '8'}
|
||||||
}, {
|
}, {
|
||||||
path: '/outmatersearch',
|
path: '/semifinishedoutmatersearch',
|
||||||
component: outMaterSearch,
|
component: semiFinishedOutMaterSearch,
|
||||||
meta: {guidePath: '9'}
|
meta: {guidePath: '9'}
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user