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

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

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

Loading…
Cancel
Save