Browse Source

消耗QAD回传接口管理功能

hella_online_20240911
yufei_wang 2 months ago
parent
commit
84609509ed
  1. 53
      src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts
  2. 7
      src/views/wms/agvManage/backflushDetailbQad/index.vue

53
src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts

@ -39,7 +39,6 @@ export const BackflushDetailbQad = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
search: {
component: 'DatePicker',
componentProps: {
@ -50,20 +49,52 @@ export const BackflushDetailbQad = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
// {
// label: '创建者Id',
// field: 'creator',
// sort: 'custom',
// isForm: false,
// },
{
label: '创建者Id',
field: 'creator',
sort: 'custom',
isForm: false,
},
{
label: '执行状态0未执行1成功2失败',
label: '执行状态',
field: 'status',
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
},
search: {
component: 'Select',
componentProps: {
options: [{
value: 0,
label: '未执行'
},
{
value: 1,
label: '成功'
},
{
value: 2,
label: '失败'
}]
},
},
form: {
component: 'Select',
componentProps: {
options: [{
value: 0,
label: '未执行'
},
{
value: 1,
label: '成功'
},
{
value: 2,
label: '失败'
}]
},
},
},
{
label: '操作',

7
src/views/wms/agvManage/backflushDetailbQad/index.vue

@ -27,6 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #status="{row}">
<span>{{ row.status==0?'未执行':row.status==1?'成功':'失败'}}</span>
</template>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
@ -133,8 +136,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:backflushDetailbQad:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:backflushDetailbQad:delete'}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:backflush-detailb-qad:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:backflush-detailb-qad:delete'}), //
]
// -

Loading…
Cancel
Save