Commit 9750d47c authored by 季圣华's avatar 季圣华
Browse files

修改单据展示的排版

parent 8bf51633
......@@ -28,10 +28,16 @@
<a-button key="back" @click="handleCancel">取消</a-button>
</template>
<a-form :form="form">
<!--调拨出库-->
<template v-if="billType === '调拨出库'">
<section ref="print" id="allocationOutPrint">
<!--零售出库-->
<template v-if="billType === '零售出库'">
<section ref="print" id="retailOutPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="会员卡号">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
......@@ -42,10 +48,15 @@
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6"></a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款类型">
{{model.payType}}
</a-form-item>
</a-col>
</a-row>
<div :style="tableWidth">
<a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24">
<div :style="tableWidthRetail">
<a-table
ref="table"
size="middle"
......@@ -56,80 +67,32 @@
:dataSource="dataSource">
</a-table>
</div>
<a-row class="form-row" :gutter="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;">
{{model.remark}}
</a-form-item>
</a-col>
</a-row>
</section>
</template>
<!--组装单-->
<template v-else-if="billType === '组装单'">
<section ref="print" id="assemblePrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
<a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="实收金额">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据编号">
{{model.number}}
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款金额">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6"></a-col>
</a-row>
<div :style="tableWidth">
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:pagination="false"
:columns="columns"
:dataSource="dataSource">
</a-table>
</div>
<a-row class="form-row" :gutter="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;">
{{model.remark}}
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="找零">
0
</a-form-item>
</a-col>
</a-row>
</section>
</template>
<!--拆卸单-->
<template v-else-if="billType === '拆卸单'">
<section ref="print" id="disassemblePrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款账户">
{{model.accountName}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据编号">
{{model.number}}
</a-form-item>
</a-row>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6"></a-col>
</a-row>
<div :style="tableWidth">
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:pagination="false"
:columns="columns"
:dataSource="dataSource">
</a-table>
</div>
<a-row class="form-row" :gutter="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;">
......@@ -139,12 +102,12 @@
</a-row>
</section>
</template>
<!--其它入库-->
<template v-else-if="billType === '其它入库'">
<section ref="print" id="otherInPrint">
<!--零售退货-->
<template v-else-if="billType === '零售退货入库'">
<section ref="print" id="retailBackPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="供应商">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="会员卡号">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
</a-form-item>
......@@ -160,12 +123,14 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
{{model.linkNumber}} {{model.billType}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a @click="myHandleDetail(model.linkNumber)">{{model.linkNumber}}</a>
</a-form-item>
</a-col>
</a-row>
<div :style="tableWidth">
<a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24">
<div :style="tableWidthRetail">
<a-table
ref="table"
size="middle"
......@@ -176,6 +141,32 @@
:dataSource="dataSource">
</a-table>
</div>
</a-col>
<a-col :span="6">
<a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="实付金额">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="付款金额">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="找零">
0
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="付款账户">
{{model.accountName}}
</a-form-item>
</a-col>
</a-row>
</a-col>
</a-row>
<a-row class="form-row" :gutter="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;">
......@@ -185,12 +176,12 @@
</a-row>
</section>
</template>
<!--其它出库-->
<template v-else-if="billType === '其它出库'">
<section ref="print" id="otherOutPrint">
<!--采购订单-->
<template v-else-if="billType === '采购订单'">
<section ref="print" id="purchaseOrderPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="客户">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="供应商">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
</a-form-item>
......@@ -205,11 +196,7 @@
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单号">
{{model.linkNumber}} {{model.billType}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
</a-row>
<div :style="tableWidth">
<a-table
......@@ -231,9 +218,9 @@
</a-row>
</section>
</template>
<!--采购退货-->
<template v-else-if="billType === '采购退货出库'">
<section ref="print" id="purchaseBackPrint">
<!--采购入库-->
<template v-else-if="billType === '采购库'">
<section ref="print" id="purchaseInPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="供应商">
......@@ -252,7 +239,7 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a @click="myHandleDetail(model.linkNumber)">{{model.linkNumber}}</a>
</a-form-item>
</a-col>
......@@ -282,7 +269,7 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="退款优惠">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="款优惠">
{{model.discountMoney}}
</a-form-item>
</a-col>
......@@ -304,7 +291,7 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次退款">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次款">
{{model.changeAmount}}
</a-form-item>
</a-col>
......@@ -318,9 +305,9 @@
</a-row>
</section>
</template>
<!--采购入库-->
<template v-else-if="billType === '采购库'">
<section ref="print" id="purchaseInPrint">
<!--采购退货-->
<template v-else-if="billType === '采购退货出库'">
<section ref="print" id="purchaseBackPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="供应商">
......@@ -339,7 +326,7 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a @click="myHandleDetail(model.linkNumber)">{{model.linkNumber}}</a>
</a-form-item>
</a-col>
......@@ -369,7 +356,7 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="款优惠">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="退款优惠">
{{model.discountMoney}}
</a-form-item>
</a-col>
......@@ -391,7 +378,7 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次款">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次退款">
{{model.changeAmount}}
</a-form-item>
</a-col>
......@@ -405,12 +392,12 @@
</a-row>
</section>
</template>
<!--采购订单-->
<template v-else-if="billType === '采购订单'">
<section ref="print" id="purchaseOrderPrint">
<!--销售订单-->
<template v-else-if="billType === '销售订单'">
<section ref="print" id="saleOrderPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="供应商">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="客户">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
</a-form-item>
......@@ -425,7 +412,11 @@
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="销售人员">
{{model.salesManStr}}
</a-form-item>
</a-col>
</a-row>
<div :style="tableWidth">
<a-table
......@@ -447,12 +438,12 @@
</a-row>
</section>
</template>
<!--零售退货-->
<template v-else-if="billType === '零售退货入库'">
<section ref="print" id="retailBackPrint">
<!--销售出库-->
<template v-else-if="billType === '销售出库'">
<section ref="print" id="saleOutPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="会员卡号">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="客户">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
</a-form-item>
......@@ -468,14 +459,12 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a @click="myHandleDetail(model.linkNumber)">{{model.linkNumber}}</a>
</a-form-item>
</a-col>
</a-row>
<a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24">
<div :style="tableWidthRetail">
<div :style="tableWidth">
<a-table
ref="table"
size="middle"
......@@ -486,32 +475,6 @@
:dataSource="dataSource">
</a-table>
</div>
</a-col>
<a-col :span="6">
<a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="实付金额">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="付款金额">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="找零">
0
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="付款账户">
{{model.accountName}}
</a-form-item>
</a-col>
</a-row>
</a-col>
</a-row>
<a-row class="form-row" :gutter="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;">
......@@ -519,77 +482,47 @@
</a-form-item>
</a-col>
</a-row>
</section>
</template>
<!--零售出库-->
<template v-else-if="billType === '零售出库'">
<section ref="print" id="retailOutPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="会员卡号">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="优惠率">
{{model.discount}}%
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款优惠">
{{model.discountMoney}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据编号">
{{model.number}}
<a-form-item :labelCol="{xs: { span: 24 },sm: { span: 6 }}" :wrapperCol="wrapperCol" label="优惠后金额">
{{model.discountLastMoney}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款类型">
{{model.payType}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="其它费用">
{{model.otherMoney}}
</a-form-item>
</a-col>
</a-row>
<a-row class="form-row" :gutter="24">
<a-col :lg="18" :md="12" :sm="24">
<div :style="tableWidthRetail">
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:pagination="false"
:columns="columns"
:dataSource="dataSource">
</a-table>
</div>
</a-col>
<a-col :span="6">
<a-row class="form-row" :gutter="24">
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="实收金额">
{{model.changeAmount}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="结算账户">
{{model.accountName}}
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款金额">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次收款">
{{model.changeAmount}}
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="找零">
0
</a-form-item>
</a-col>
<a-col :lg="24" :md="6" :sm="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款账户">
{{model.accountName}}
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次欠款">
{{model.debt}}
</a-form-item>
</a-col>
</a-row>
</a-col>
</a-row>
<a-row class="form-row" :gutter="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;">
{{model.remark}}
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="销售人员">
{{model.salesManStr}}
</a-form-item>
</a-col>
</a-row>
......@@ -685,12 +618,12 @@
</a-row>
</section>
</template>
<!--销售订单-->
<template v-else-if="billType === '销售订单'">
<section ref="print" id="saleOrderPrint">
<!--其它入库-->
<template v-else-if="billType === '其它入库'">
<section ref="print" id="otherInPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="客户">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="供应商">
<a-input v-decorator="['id']" hidden/>
{{model.organName}}
</a-form-item>
......@@ -706,8 +639,8 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="销售人员">
{{model.salesManStr}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单号">
{{model.linkNumber}} {{model.billType}}
</a-form-item>
</a-col>
</a-row>
......@@ -731,9 +664,9 @@
</a-row>
</section>
</template>
<!--销售出库-->
<template v-else-if="billType === '销售出库'">
<section ref="print" id="saleOutPrint">
<!--其它出库-->
<template v-else-if="billType === '其它出库'">
<section ref="print" id="otherOutPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="客户">
......@@ -752,8 +685,8 @@
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
<a @click="myHandleDetail(model.linkNumber)">{{model.linkNumber}}</a>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="关联单">
{{model.linkNumber}} {{model.billType}}
</a-form-item>
</a-col>
</a-row>
......@@ -775,47 +708,114 @@
</a-form-item>
</a-col>
</a-row>
</section>
</template>
<!--调拨出库-->
<template v-else-if="billType === '调拨出库'">
<section ref="print" id="allocationOutPrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="优惠率">
{{model.discount}}%
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="收款优惠">
{{model.discountMoney}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据编号">
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6"></a-col>
</a-row>
<div :style="tableWidth">
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:pagination="false"
:columns="columns"
:dataSource="dataSource">
</a-table>
</div>
<a-row class="form-row" :gutter="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;">
{{model.remark}}
</a-form-item>
</a-col>
</a-row>
</section>
</template>
<!--组装单-->
<template v-else-if="billType === '组装单'">
<section ref="print" id="assemblePrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="{xs: { span: 24 },sm: { span: 6 }}" :wrapperCol="wrapperCol" label="优惠后金额">
{{model.discountLastMoney}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="其它费用">
{{model.otherMoney}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据编号">
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6"></a-col>
<a-col :span="6"></a-col>
</a-row>
<div :style="tableWidth">
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:pagination="false"
:columns="columns"
:dataSource="dataSource">
</a-table>
</div>
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="结算账户">
{{model.accountName}}
<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;">
{{model.remark}}
</a-form-item>
</a-col>
</a-row>
</section>
</template>
<!--拆卸单-->
<template v-else-if="billType === '拆卸单'">
<section ref="print" id="disassemblePrint">
<a-row class="form-row" :gutter="24">
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次收款">
{{model.changeAmount}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据日期">
{{model.operTimeStr}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次欠款">
{{model.debt}}
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="单据编号">
{{model.number}}
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="销售人员">
{{model.salesManStr}}
<a-col :span="6"></a-col>
<a-col :span="6"></a-col>
</a-row>
<div :style="tableWidth">
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:pagination="false"
:columns="columns"
:dataSource="dataSource">
</a-table>
</div>
<a-row class="form-row" :gutter="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;">
{{model.remark}}
</a-form-item>
</a-col>
</a-row>
......@@ -883,7 +883,7 @@
columns:[],
//列定义
defColumns: [],
allocationOutColumns: [
retailOutColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -891,7 +891,6 @@
{ title: '型号', dataIndex: 'model', width: '5%'},
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '调入仓库', dataIndex: 'anotherDepotName', width: '8%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
......@@ -899,8 +898,7 @@
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
assembleColumns: [
{ title: '商品类型', dataIndex: 'mType',width:'7%'},
retailBackColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -915,9 +913,7 @@
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
disassembleColumns: [
{ title: '商品类型', dataIndex: 'mType',width:'7%'},
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
purchaseOrderColumns: [
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
{ title: '规格', dataIndex: 'standard', width: '5%'},
......@@ -927,11 +923,12 @@
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '已入库', dataIndex: 'finishNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
otherInColumns: [
purchaseInColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -940,13 +937,20 @@
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '序列号', dataIndex: 'snList', width: '4%'},
{ title: '批号', dataIndex: 'batchNumber', width: '4%'},
{ title: '有效期', dataIndex: 'expirationDate',width: '6%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '含税单价', dataIndex: 'taxUnitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '税率(%)', dataIndex: 'taxRate', width: '5%'},
{ title: '税额', dataIndex: 'taxMoney', width: '4%'},
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
otherOutColumns: [
purchaseBackColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -955,14 +959,20 @@
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '序列号', dataIndex: 'snList', width: '4%'},
{ title: '批号', dataIndex: 'batchNumber', width: '4%'},
{ title: '有效期', dataIndex: 'expirationDate',width: '6%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '含税单价', dataIndex: 'taxUnitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '税率(%)', dataIndex: 'taxRate', width: '5%'},
{ title: '税额', dataIndex: 'taxMoney', width: '4%'},
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
purchaseBackColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
saleOrderColumns: [
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
{ title: '规格', dataIndex: 'standard', width: '5%'},
......@@ -970,20 +980,14 @@
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '序列号', dataIndex: 'snList', width: '4%'},
{ title: '批号', dataIndex: 'batchNumber', width: '4%'},
{ title: '有效期', dataIndex: 'expirationDate',width: '6%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '已入库', dataIndex: 'finishNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '含税单价', dataIndex: 'taxUnitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '税率(%)', dataIndex: 'taxRate', width: '5%'},
{ title: '税额', dataIndex: 'taxMoney', width: '4%'},
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
purchaseInColumns: [
saleOutColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -1005,7 +1009,8 @@
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
purchaseOrderColumns: [
saleBackColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
{ title: '规格', dataIndex: 'standard', width: '5%'},
......@@ -1013,14 +1018,20 @@
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '序列号', dataIndex: 'snList', width: '4%'},
{ title: '批号', dataIndex: 'batchNumber', width: '4%'},
{ title: '有效期', dataIndex: 'expirationDate',width: '6%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '已入库', dataIndex: 'finishNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '含税单价', dataIndex: 'taxUnitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '税率(%)', dataIndex: 'taxRate', width: '5%'},
{ title: '税额', dataIndex: 'taxMoney', width: '4%'},
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
retailBackColumns: [
otherInColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -1035,7 +1046,7 @@
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
retailOutColumns: [
otherOutColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -1050,7 +1061,7 @@
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
saleBackColumns: [
allocationOutColumns: [
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -1058,21 +1069,17 @@
{ title: '型号', dataIndex: 'model', width: '5%'},
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '调入仓库', dataIndex: 'anotherDepotName', width: '8%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '序列号', dataIndex: 'snList', width: '4%'},
{ title: '批号', dataIndex: 'batchNumber', width: '4%'},
{ title: '有效期', dataIndex: 'expirationDate',width: '6%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '含税单价', dataIndex: 'taxUnitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '税率(%)', dataIndex: 'taxRate', width: '5%'},
{ title: '税额', dataIndex: 'taxMoney', width: '4%'},
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
saleOrderColumns: [
assembleColumns: [
{ title: '商品类型', dataIndex: 'mType',width:'7%'},
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
{ title: '规格', dataIndex: 'standard', width: '5%'},
......@@ -1082,12 +1089,12 @@
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '已入库', dataIndex: 'finishNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '5%'}
],
saleOutColumns: [
disassembleColumns: [
{ title: '商品类型', dataIndex: 'mType',width:'7%'},
{ title: '仓库名称', dataIndex: 'depotName', width: '5%'},
{ title: '条码', dataIndex: 'barCode', width: '8%'},
{ title: '名称', dataIndex: 'name', width: '8%'},
......@@ -1096,17 +1103,10 @@
{ title: '扩展信息', dataIndex: 'materialOther', width: '5%'},
{ title: '库存', dataIndex: 'stock', width: '5%'},
{ title: '单位', dataIndex: 'unit', width: '4%'},
{ title: '序列号', dataIndex: 'snList', width: '4%'},
{ title: '批号', dataIndex: 'batchNumber', width: '4%'},
{ title: '有效期', dataIndex: 'expirationDate',width: '6%'},
{ title: '多属性', dataIndex: 'sku', width: '4%'},
{ title: '数量', dataIndex: 'operNumber', width: '5%'},
{ title: '单价', dataIndex: 'unitPrice', width: '5%'},
{ title: '含税单价', dataIndex: 'taxUnitPrice', width: '5%'},
{ title: '金额', dataIndex: 'allPrice', width: '5%'},
{ title: '税率(%)', dataIndex: 'taxRate', width: '5%'},
{ title: '税额', dataIndex: 'taxMoney', width: '4%'},
{ title: '价税合计', dataIndex: 'taxLastMoney', width: '5%'},
{ title: '备注', dataIndex: 'remark', width: '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