半成品物料查询
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', {
|
||||
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="filter_input_wraper">
|
||||
<el-select v-model="value1" filterable clearable placeholder="请选择">
|
||||
<el-option
|
||||
<el-option
|
||||
v-for="item in options1"
|
||||
:key="item.device_code"
|
||||
:label="item.device_name"
|
||||
:value="item.device_code">
|
||||
:key="item.stor_id"
|
||||
:label="item.stor_name"
|
||||
:value="item.stor_id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
@@ -89,6 +89,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {checkGetBcpStor} from '@config/getData2.js'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
@@ -99,6 +100,13 @@ export default {
|
||||
options3: [],
|
||||
value3: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 仓库下拉框
|
||||
async _checkGetBcpStor () {
|
||||
let res = await checkGetBcpStor()
|
||||
this.options1 = [...res.data]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -106,8 +114,4 @@ export default {
|
||||
<style lang="stylus" scoped>
|
||||
.grid_wraper
|
||||
height calc(100% - 95px)
|
||||
.filter_input_wraper_1
|
||||
width calc(100% - 45px)
|
||||
.search-label_1
|
||||
width 45px
|
||||
</style>
|
||||
|
||||
@@ -223,7 +223,7 @@ export default {
|
||||
},
|
||||
searchMater () {
|
||||
this.$store.dispatch('setMaterObj', '')
|
||||
this.$router.push('/matersearch')
|
||||
this.$router.push('/semifinishedinmatersearch')
|
||||
},
|
||||
toJumpSearch () {
|
||||
this.$router.push('/semifinishedinstoresearch')
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
},
|
||||
searchMater () {
|
||||
this.$store.dispatch('setMaterObj', '')
|
||||
this.$router.push('/outmatersearch')
|
||||
this.$router.push('/semifinishedoutmatersearch')
|
||||
},
|
||||
toJumpSearch () {
|
||||
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 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 materSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/mater-search')), 'semifinished')
|
||||
const outMaterSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/out-mater-search')), 'semifinished')
|
||||
const semiFinishedInmaterSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-in-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 Home = r => require.ensure([], () => r(require('@page/homeset/HomePage')), 'HomePage')
|
||||
@@ -109,12 +109,12 @@ export default new Router({
|
||||
component: semiFinishedComposeSearch,
|
||||
meta: {guidePath: '7'}
|
||||
}, {
|
||||
path: '/matersearch',
|
||||
component: materSearch,
|
||||
path: '/semifinishedinmatersearch',
|
||||
component: semiFinishedInmaterSearch,
|
||||
meta: {guidePath: '8'}
|
||||
}, {
|
||||
path: '/outmatersearch',
|
||||
component: outMaterSearch,
|
||||
path: '/semifinishedoutmatersearch',
|
||||
component: semiFinishedOutMaterSearch,
|
||||
meta: {guidePath: '9'}
|
||||
}]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user