add:pc海柔半成品出库

This commit is contained in:
2023-08-03 10:30:49 +08:00
parent 5f9f4ba30c
commit 99813b0410
7 changed files with 34 additions and 35 deletions

View File

@@ -95,7 +95,7 @@
:disabled="crud.status.view > 0"
>
<el-option
v-for="item in dict.ST_INV_BCP_OUT_TYPE"
v-for="item in dict.ST_INV_HR_BCP_OUT_TYPE"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -211,7 +211,7 @@ import crudPoint from '@/views/wms/scheduler_manage/point/point'
const defaultForm = {
bill_code: '',
product_code: 'A1',
product_code: 'A3',
bill_status: '10',
total_qty: '0',
detail_count: '0',
@@ -226,7 +226,7 @@ export default {
name: 'AddDialog',
components: { MaterDtl },
mixins: [crud(), form(defaultForm)],
dicts: ['IO_BILL_STATUS', 'ST_QUALITY_SCODE', 'ST_INV_BCP_OUT_TYPE', 'product_area'],
dicts: ['IO_BILL_STATUS', 'ST_QUALITY_SCODE', 'ST_INV_HR_BCP_OUT_TYPE', 'product_area'],
cruds() {
return CRUD({ title: '入库新增', crudMethod: { ...crudsemiproductOut }})
},
@@ -277,11 +277,11 @@ export default {
},
methods: {
open() {
crudStorattr.getStor({ 'stor_type': '2' }).then(res => {
crudStorattr.getStor({ 'stor_type': '5' }).then(res => {
this.storlist = res.content
})
//A1_BCPCK01
const area_type = 'A1_BCPRK01'
// A3_BCPCK01
const area_type = 'A3_BCPCK01'
crudPoint.getPoint({ 'area_type': area_type }).then(res => {
this.pointList = res
})

View File

@@ -91,8 +91,8 @@ export default {
components: { crudOperation, rrOperation, pagination, DateRangePicker },
cruds() {
return CRUD({
title: '半成品可用库存',
url: '/api/bcp/getBcpIvt',
title: '海柔半成品可用库存',
url: '/api/bcp/hr/getBcpIvt',
crudMethod: {},
optShow: {
reset: true

View File

@@ -40,7 +40,7 @@
@change="crud.toQuery"
>
<el-option
v-for="item in dict.ST_INV_BCP_OUT_TYPE"
v-for="item in dict.ST_INV_HR_BCP_OUT_TYPE"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -218,7 +218,7 @@ export default {
},
mixins: [presenter(), header(), crud()],
// 数据字典
dicts: ['IO_BILL_STATUS', 'bill_type', 'product_area', 'ST_INV_BCP_OUT_TYPE', 'ST_INV_CREATE'],
dicts: ['IO_BILL_STATUS', 'bill_type', 'product_area', 'ST_INV_HR_BCP_OUT_TYPE', 'ST_INV_CREATE'],
data() {
return {
height: document.documentElement.clientHeight - 180 + 'px;',
@@ -249,7 +249,7 @@ export default {
}
},
created() {
crudStorattr.getStor({ 'stor_type': '2' }).then(res => {
crudStorattr.getStor({ 'stor_type': '5' }).then(res => {
this.storlist = res.content
})
},
@@ -298,7 +298,7 @@ export default {
}
},
bill_typeFormat(row, column) {
return this.dict.label.ST_INV_BCP_OUT_TYPE[row.bill_type]
return this.dict.label.ST_INV_HR_BCP_OUT_TYPE[row.bill_type]
},
toView(row) {
this.mstrow = row