Commit 51f670e4 authored by 季圣华's avatar 季圣华
Browse files

界面列表宽度优化

parent a152f3ae
......@@ -124,6 +124,7 @@
{
title: '操作',
dataIndex: 'action',
width:200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -123,6 +123,7 @@
{
title: '操作',
dataIndex: 'action',
width:200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -124,6 +124,7 @@
{
title: '操作',
dataIndex: 'action',
width:200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -124,6 +124,7 @@
{
title: '操作',
dataIndex: 'action',
width:200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -124,6 +124,7 @@
{
title: '操作',
dataIndex: 'action',
width:200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -124,6 +124,7 @@
{
title: '操作',
dataIndex: 'action',
width:200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -17,7 +17,7 @@
<a-row class="form-row" :gutter="24">
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="付款会员">
<a-select placeholder="选择付款会员" v-decorator="[ 'organId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择付款会员" v-decorator="[ 'organId', validatorRules.organId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in retailList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
......@@ -26,7 +26,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="经手人">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId', validatorRules.handsPersonId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in personList" :key="index" :value="item.id">
{{ item.name }}
</a-select-option>
......@@ -101,7 +101,7 @@
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 6 },
sm: { span: 8 },
},
wrapperCol: {
xs: { span: 24 },
......@@ -120,9 +120,14 @@
},
confirmLoading: false,
validatorRules:{
billTime:{
organId:{
rules: [
{ required: true, message: '请输入单据日期!' }
{ required: true, message: '请选择付款会员!' }
]
},
handsPersonId:{
rules: [
{ required: true, message: '请选择经手人!' }
]
}
},
......
......@@ -17,7 +17,7 @@
<a-row class="form-row" :gutter="24">
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="经手人">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId', validatorRules.handsPersonId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in personList" :key="index" :value="item.id">
{{ item.name }}
</a-select-option>
......@@ -101,7 +101,7 @@
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 6 },
sm: { span: 8 },
},
wrapperCol: {
xs: { span: 24 },
......@@ -120,9 +120,9 @@
},
confirmLoading: false,
validatorRules:{
billTime:{
handsPersonId:{
rules: [
{ required: true, message: '输入单据日期!' }
{ required: true, message: '选择经手人!' }
]
}
},
......
......@@ -17,7 +17,7 @@
<a-row class="form-row" :gutter="24">
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="往来单位">
<a-select placeholder="选择往来单位" v-decorator="[ 'organId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择往来单位" v-decorator="[ 'organId', validatorRules.organId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in cusList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
......@@ -26,7 +26,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="经手人">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId', validatorRules.handsPersonId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in personList" :key="index" :value="item.id">
{{ item.name }}
</a-select-option>
......@@ -108,7 +108,7 @@
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 6 },
sm: { span: 8 },
},
wrapperCol: {
xs: { span: 24 },
......@@ -127,9 +127,14 @@
},
confirmLoading: false,
validatorRules:{
billTime:{
organId:{
rules: [
{ required: true, message: '请输入单据日期!' }
{ required: true, message: '请选择往来单位!' }
]
},
handsPersonId:{
rules: [
{ required: true, message: '请选择经手人!' }
]
}
},
......
......@@ -17,7 +17,7 @@
<a-row class="form-row" :gutter="24">
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="往来单位">
<a-select placeholder="选择往来单位" v-decorator="[ 'organId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择往来单位" v-decorator="[ 'organId', validatorRules.organId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
......@@ -26,7 +26,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="经手人">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId', validatorRules.handsPersonId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in personList" :key="index" :value="item.id">
{{ item.name }}
</a-select-option>
......@@ -108,7 +108,7 @@
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 6 },
sm: { span: 8 },
},
wrapperCol: {
xs: { span: 24 },
......@@ -127,9 +127,14 @@
},
confirmLoading: false,
validatorRules:{
billTime:{
organId:{
rules: [
{ required: true, message: '请输入单据日期!' }
{ required: true, message: '请选择往来单位!' }
]
},
handsPersonId:{
rules: [
{ required: true, message: '请选择经手人!' }
]
}
},
......
......@@ -17,7 +17,7 @@
<a-row class="form-row" :gutter="24">
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="付款单位">
<a-select placeholder="选择付款单位" v-decorator="[ 'organId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择付款单位" v-decorator="[ 'organId', validatorRules.organId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in cusList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
......@@ -26,7 +26,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="经手人">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId', validatorRules.handsPersonId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in personList" :key="index" :value="item.id">
{{ item.name }}
</a-select-option>
......@@ -101,7 +101,7 @@
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 6 },
sm: { span: 8 },
},
wrapperCol: {
xs: { span: 24 },
......@@ -120,9 +120,14 @@
},
confirmLoading: false,
validatorRules:{
billTime:{
organId:{
rules: [
{ required: true, message: '请输入单据日期!' }
{ required: true, message: '请选择付款单位!' }
]
},
handsPersonId:{
rules: [
{ required: true, message: '请选择经手人!' }
]
}
},
......
......@@ -17,7 +17,7 @@
<a-row class="form-row" :gutter="24">
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款单位">
<a-select placeholder="选择收款单位" v-decorator="[ 'organId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择收款单位" v-decorator="[ 'organId', validatorRules.organId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
......@@ -26,7 +26,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="经手人">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId' ]" :dropdownMatchSelectWidth="false">
<a-select placeholder="选择经手人" v-decorator="[ 'handsPersonId', validatorRules.handsPersonId ]" :dropdownMatchSelectWidth="false">
<a-select-option v-for="(item,index) in personList" :key="index" :value="item.id">
{{ item.name }}
</a-select-option>
......@@ -101,7 +101,7 @@
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 6 },
sm: { span: 8 },
},
wrapperCol: {
xs: { span: 24 },
......@@ -120,9 +120,14 @@
},
confirmLoading: false,
validatorRules:{
billTime:{
organId:{
rules: [
{ required: true, message: '请输入单据日期!' }
{ required: true, message: '请选择收款单位!' }
]
},
handsPersonId:{
rules: [
{ required: true, message: '请选择经手人!' }
]
}
},
......
......@@ -83,6 +83,7 @@
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -99,7 +99,7 @@
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
width:40,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
......@@ -116,6 +116,7 @@
{
title: '操作',
dataIndex: 'action',
width: 150,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -132,6 +132,7 @@
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -94,7 +94,7 @@
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
width:40,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
......@@ -114,6 +114,7 @@
title: '操作',
dataIndex: 'action',
align:"center",
width: 200,
scopedSlots: { customRender: 'action' },
}
],
......
......@@ -103,6 +103,7 @@
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -98,7 +98,7 @@
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
width:40,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
......@@ -110,6 +110,7 @@
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -132,6 +132,7 @@
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
}
......
......@@ -89,7 +89,7 @@
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
width:40,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
......@@ -98,17 +98,20 @@
{
title: '姓名',
align:"center",
dataIndex: 'name'
dataIndex: 'name',
width: 100,
},
{
title: '类型',
align:"center",
dataIndex: 'type'
dataIndex: 'type',
width: 100,
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 150,
scopedSlots: { customRender: 'action' },
}
],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment