Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
ef00fbb41d
  1. 8
      src/api/wms/productputawayRecordMain/index.ts
  2. 8
      src/api/wms/productreceiptRecordMain/index.ts
  3. 8
      src/api/wms/productrepairRecordMain/index.ts
  4. 8
      src/api/wms/productscrapRecordMain/index.ts
  5. 8
      src/api/wms/productscrapRequestMain/index.ts
  6. 14
      src/views/wms/basicDataManage/factoryModeling/workstation/index.vue
  7. 7
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  8. 166
      src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts
  9. 6
      src/views/wms/basicDataManage/itemManage/itemwarehouse/index.vue
  10. 6
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

8
src/api/wms/productputawayRecordMain/index.ts

@ -61,7 +61,13 @@ export const deleteProductputawayRecordMain = async (id: number) => {
// 导出制品上架记录主 Excel
export const exportProductputawayRecordMain = async (params) => {
return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productputaway-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params })
}
}
// 下载用户导入模板

8
src/api/wms/productreceiptRecordMain/index.ts

@ -60,7 +60,13 @@ export const deleteProductreceiptRecordMain = async (id: number) => {
// 导出制品收货记录主 Excel
export const exportProductreceiptRecordMain = async (params) => {
return await request.download({ url: `/wms/productreceipt-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productreceipt-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productreceipt-record-main/export-excel`, params })
}
}
// 下载用户导入模板

8
src/api/wms/productrepairRecordMain/index.ts

@ -58,7 +58,13 @@ export const deleteProductrepairRecordMain = async (id: number) => {
// 导出制品返修记录主 Excel
export const exportProductrepairRecordMain = async (params) => {
return await request.download({ url: `/wms/productrepair-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productrepair-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productrepair-record-main/export-excel`, params })
}
}
// 下载用户导入模板

8
src/api/wms/productscrapRecordMain/index.ts

@ -57,7 +57,13 @@ export const deleteProductscrapRecordMain = async (id: number) => {
// 导出制品报废记录主 Excel
export const exportProductscrapRecordMain = async (params) => {
return await request.download({ url: `/wms/productscrap-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productscrap-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productscrap-record-main/export-excel`, params })
}
}
// 下载用户导入模板

8
src/api/wms/productscrapRequestMain/index.ts

@ -54,7 +54,13 @@ export const deleteProductscrapRequestMain = async (id: number) => {
// 导出制品报废申请主 Excel
export const exportProductscrapRequestMain = async (params) => {
return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productscrap-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params })
}
}
// 下载用户导入模板

14
src/views/wms/basicDataManage/factoryModeling/workstation/index.vue

@ -210,10 +210,11 @@ const formsSuccess = async (formType,data) => {
Workstation.allSchemas.tableFormColumns.map(item => {
if(item.field == 'rawLocationCode') {
item.form.componentProps.searchCondition = [
// {
// key: 'areaType',
// value: 'RAW',
// },
{
key: 'areaType',
value: 'RAW',
},{
key: 'available',
value: 'TRUE',
}
@ -221,10 +222,11 @@ Workstation.allSchemas.tableFormColumns.map(item => {
}
if(item.field == 'fgLocationCode') {
item.form.componentProps.searchCondition = [
// {
// key: 'areaType',
// value: 'FG',
// },
{
key: 'areaType',
value: 'FG',
},{
key: 'available',
value: 'TRUE',
}

7
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -27,10 +27,11 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #itemCode="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.itemCode)">
<span>{{ row.itemCode }}</span>
</el-button>
</template>
<template #action="{ row }">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event,row)" />

166
src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

@ -318,6 +318,172 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '出库后剩余库存自动转换为出库包装规格',
field: 'surplusToOutpackunit',
sort: 'custom',
isSearch: true,
},
{
label: '超过高储是否允许叫料',
field: 'allowIssueRequest',
sort: 'custom',
isSearch: true,
},
{
label: '优先空库位',
field: 'emptyLocationFirst',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
form: {
component: 'Switch',
value: 'FALSE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '优先非空库位',
field: 'notEmptyLocationFirst',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
form: {
component: 'Switch',
value: 'FALSE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '可以混批次',
field: 'enableMixLot',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '可以混物品',
field: 'enableMixItem',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '可以混状态',
field: 'enableMixStatus',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '巷道排序方向',
field: 'aisleOrder',
sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string',
// colorType: 'danger',
isTable: true,
form: {
component: 'Select',
value: 'ASC',
componentProps: {
inactiveValue: 'DESC',
activeValue: 'ASC'
}
},
table: {
width: 150
},
},
{
label: '货架排序方向',
field: 'sheIfOrder',
sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string',
isTable: true,
form: {
component: 'Select',
value: 'ASC',
componentProps: {
inactiveValue: 'DESC',
activeValue: 'ASC'
}
},
table: {
width: 150
},
},
{
label: '行排序方向',
field: 'rowOrder',
sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string',
// colorType: 'danger',
isTable: true,
form: {
component: 'Select',
value: 'ASC',
componentProps: {
inactiveValue: 'DESC',
activeValue: 'ASC'
}
},
table: {
width: 150
},
},
{
label: '列排序方向',
field: 'columOrder',
sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string',
// colorType: 'danger',
isTable: true,
form: {
component: 'Select',
value: 'ASC',
componentProps: {
inactiveValue: 'DESC',
activeValue: 'ASC'
}
},
table: {
width: 150
},
},
{
label: '生效时间',
field: 'activeTime',

6
src/views/wms/basicDataManage/itemManage/itemwarehouse/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #itemCode="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.itemCode)">
<span>{{ row.itemCode }}</span>
</el-button>
</template>
<template #action="{ row }">

6
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

@ -379,7 +379,7 @@
<el-col :span="24">
<el-form-item label="数量排序方向" class="flex-top">
<div class="checkbox">
<el-radio-group v-model="formData.configuration.QtyOrder">
<el-radio-group v-model="formData.configuration.QtyOrderDirection">
<el-radio
:label="cur.value"
v-for="cur in options.sortOptions"
@ -606,7 +606,7 @@ const formData = ref({
//
LocationCode: '',
//
QtyOrder: 'ASC',
QtyOrderDirection: 'ASC',
//
AisleOrder: 'ASC',
//
@ -953,7 +953,7 @@ const resetForm = () => {
//
LocationCode: '',
//
QtyOrder: 'ASC',
QtyOrderDirection: 'ASC',
//
AisleOrder: 'ASC',
//

Loading…
Cancel
Save