Browse Source

制品拆解申请 修改提交报错关闭窗体

master
陈薪名 11 months ago
parent
commit
16aa4793d9
  1. 17
      src/views/wms/basicDataManage/orderManage/team/team.data.ts
  2. 2
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

17
src/views/wms/basicDataManage/orderManage/team/team.data.ts

@ -13,7 +13,6 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code', field: 'code',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150,
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
@ -22,18 +21,12 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
label: '名称', label: '名称',
field: 'name', field: 'name',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
isSearch: true, isSearch: true,
}, },
{ {
label: '成员', label: '成员',
field: 'members', field: 'members',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
isSearch: true, isSearch: true,
}, },
{ {
@ -44,9 +37,6 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
isSearch: true, isSearch: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -104,9 +94,6 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '创建时间', label: '创建时间',
@ -135,9 +122,6 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
isForm: false, isForm: false,
isTable: false, isTable: false,
}, },
@ -147,7 +131,6 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
isDetail: false, isDetail: false,
isForm: false , isForm: false ,
table: { table: {
width: 150,
fixed: 'right' fixed: 'right'
} }
} }

2
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -453,7 +453,7 @@ const submitForm = async (formType, data) => {
}) })
if (!childListRs) { if (!childListRs) {
message.warning('请填写Bom信息!') message.warning('请填写Bom信息!')
formRef.value.dialogVisible = false formRef.value.formLoading = false
return return
} }
try { try {

Loading…
Cancel
Save