表单样式调整

szh-new
lijingjia 4 months ago
parent e97c582754
commit c7a048e4a2

@ -79,7 +79,7 @@
label=""
>
<a-textarea
v-model:value="formData.Body"
v-model:value="formData.body"
:autoSize="{
minRows: 10,
maxRows: 15
@ -120,7 +120,9 @@
sendTo: [],
ccTo: [],
title: '',
body: ''
body: '',
// id
bookingId: ''
})
//
const rules = {
@ -239,12 +241,15 @@
ccTo,
title: formData.title,
body: formData.body,
fileList: String(fileList.value)
bookingId: id.value,
fileList: fileList.value
}
form.value.validate().then(() => {
sloading.value = true
SendShippingOrderEmail(postData).then(res => {
sloading.value = false
visible.value = false
createMessage.success('发送成功!')
})
})
.catch(error => {

@ -81,7 +81,7 @@ service.interceptors.response.use(
const status = error.response.status
// 鉴权失败
if (/401|403|10216/.test(status)) {
useUserStore().toLoginPage()
// useUserStore().getUserInfoAction()
} else {
$message.error(error.response.statusText)
}

@ -3,21 +3,18 @@ import { ref, onMounted } from 'vue'
import { BasicColumn, FormSchema } from '/@/components/Table'
import { GetTaskPlatEnumDict } from './api'
export const searchFormSchema: FormSchema[] = [
{
field: 'mBlNo',
label: '提单号',
component: 'Input',
colProps: { span: 6 },
colProps: { span: 4 },
},
{
field: 'goodsCode',
label: '接收人',
component: 'Input',
colProps: { span: 6 },
colProps: { span: 4 },
},
{
field: 'etd',
@ -25,7 +22,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'RangePicker',
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
colProps: { span: 4 },
componentProps: {
allowClear: true,
},
@ -36,7 +33,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'RangePicker',
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
colProps: { span: 4 },
componentProps: {
allowClear: true,
},
@ -47,7 +44,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: () => {
@ -80,7 +77,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: () => {
@ -113,7 +110,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: () => {
@ -146,7 +143,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: () => {

Loading…
Cancel
Save