Commit 022c4006 authored by 季圣华's avatar 季圣华
Browse files

优化单据的表格宽度

parent 72960a09
...@@ -2758,6 +2758,7 @@ ...@@ -2758,6 +2758,7 @@
.input-table { .input-table {
max-width: 100%; max-width: 100%;
min-width: 1550px;
overflow-x: hidden; overflow-x: hidden;
overflow-y: hidden; overflow-y: hidden;
position: relative; position: relative;
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -54,6 +55,7 @@ ...@@ -54,6 +55,7 @@
:columns="allocationOutColumns" :columns="allocationOutColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -80,6 +82,7 @@ ...@@ -80,6 +82,7 @@
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -89,6 +92,7 @@ ...@@ -89,6 +92,7 @@
:columns="assembleColumns" :columns="assembleColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -115,6 +119,7 @@ ...@@ -115,6 +119,7 @@
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -124,6 +129,7 @@ ...@@ -124,6 +129,7 @@
:columns="disassembleColumns" :columns="disassembleColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -159,6 +165,7 @@ ...@@ -159,6 +165,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -168,6 +175,7 @@ ...@@ -168,6 +175,7 @@
:columns="otherInColumns" :columns="otherInColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -203,6 +211,7 @@ ...@@ -203,6 +211,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -212,6 +221,7 @@ ...@@ -212,6 +221,7 @@
:columns="otherOutColumns" :columns="otherOutColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -247,6 +257,7 @@ ...@@ -247,6 +257,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -256,6 +267,7 @@ ...@@ -256,6 +267,7 @@
:columns="purchaseBackColumns" :columns="purchaseBackColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -332,6 +344,7 @@ ...@@ -332,6 +344,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -341,6 +354,7 @@ ...@@ -341,6 +354,7 @@
:columns="purchaseInColumns" :columns="purchaseInColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -413,6 +427,7 @@ ...@@ -413,6 +427,7 @@
</a-col> </a-col>
<a-col :span="6"></a-col> <a-col :span="6"></a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -422,6 +437,7 @@ ...@@ -422,6 +437,7 @@
:columns="purchaseOrderColumns" :columns="purchaseOrderColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -459,6 +475,7 @@ ...@@ -459,6 +475,7 @@
</a-row> </a-row>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24"> <a-col :lg="18" :md="12" :sm="24">
<div :style="tableWidthRetail">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -468,6 +485,7 @@ ...@@ -468,6 +485,7 @@
:columns="retailBackColumns" :columns="retailBackColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
</a-col> </a-col>
<a-col :span="6"> <a-col :span="6">
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
...@@ -531,6 +549,7 @@ ...@@ -531,6 +549,7 @@
</a-row> </a-row>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24"> <a-col :lg="18" :md="12" :sm="24">
<div :style="tableWidthRetail">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -540,6 +559,7 @@ ...@@ -540,6 +559,7 @@
:columns="retailOutColumns" :columns="retailOutColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
</a-col> </a-col>
<a-col :span="6"> <a-col :span="6">
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
...@@ -601,6 +621,7 @@ ...@@ -601,6 +621,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -610,6 +631,7 @@ ...@@ -610,6 +631,7 @@
:columns="saleBackColumns" :columns="saleBackColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -689,6 +711,7 @@ ...@@ -689,6 +711,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -698,6 +721,7 @@ ...@@ -698,6 +721,7 @@
:columns="saleOrderColumns" :columns="saleOrderColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -733,6 +757,7 @@ ...@@ -733,6 +757,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<div :style="tableWidth">
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
...@@ -742,6 +767,7 @@ ...@@ -742,6 +767,7 @@
:columns="saleOutColumns" :columns="saleOutColumns"
:dataSource="dataSource"> :dataSource="dataSource">
</a-table> </a-table>
</div>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="24" :sm="24"> <a-col :lg="24" :md="24" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;"> <a-form-item :labelCol="labelCol" :wrapperCol="{xs: { span: 24 },sm: { span: 24 }}" label="" style="padding:20px 10px;">
...@@ -830,6 +856,12 @@ ...@@ -830,6 +856,12 @@
model: {}, model: {},
billType: '', billType: '',
fileList: [], fileList: [],
tableWidth: {
'width': '1550px'
},
tableWidthRetail: {
'width': '1150px'
},
labelCol: { labelCol: {
xs: { span: 24 }, xs: { span: 24 },
sm: { span: 5 }, sm: { span: 5 },
......
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