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

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

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

Loading…
Cancel
Save