<template>
	<view class="mainBox">
		<u-cell-group>
			<u-cell title="订单编码" arrow-direction="down">
				<text slot="value">
					{{form.orderNo||''}}
				</text>
			</u-cell>
			<u-cell title="项目名称" arrow-direction="down">
				<text slot="value">
					{{form.projectName||''}}
				</text>
			</u-cell>
			<u-cell title="合同名称" arrow-direction="down">
				<text slot="value">
					{{form.contractName||''}}
				</text>
			</u-cell>
			<u-cell title="合同编号" arrow-direction="down">
				<text slot="value">
					{{form.contractNumber||''}}
				</text>
			</u-cell>
			<u-cell title="结算方式" arrow-direction="down">
				<text slot="value">
					{{form.settlementModeName||''}}
				</text>
			</u-cell>
			<u-cell title="客户收货地址" arrow-direction="down">
				<text slot="value">
					{{form.receiveAddress||''}}
				</text>
			</u-cell>
			<u-cell title="销售部门" arrow-direction="down">
				<text slot="value">
					{{form.salesDeptName||''}}
				</text>
			</u-cell>
			<u-cell title="销售类型" arrow-direction="down">
				<text slot="value">
					{{form.saleTypeName}}
				</text>
			</u-cell>
			
			<u-cell title="总金额" arrow-direction="down">
				<text slot="value">
					{{form.totalAmount||''}}元
				</text>
			</u-cell>
			<u-cell title="优惠后总金额" arrow-direction="down">
				<text slot="value">
					{{form.payAmount||''}}元
				</text>
			</u-cell>
			<u-cell title="计价方式" arrow-direction="down">
				<text slot="value">
					{{form.pricingWay==1?'按数量计费':'按重量计费'||''}}
				</text>
			</u-cell>
			<u-cell title="订单类型" arrow-direction="down">
				<text slot="value">
					{{(form.needProduce==1?'生产性订单':form.needProduce==2?'无客户生产性订单':'库存式订单')||''}}
				</text>
			</u-cell>
			<u-cell title="客户名称" arrow-direction="down">
				<text slot="value">
					{{form.partaName||''}}
				</text>
			</u-cell>
			<u-cell title="客户统一社会信用代码" arrow-direction="down">
				<text slot="value">
					{{form.partaUnifiedSocialCreditCode||''}}
				</text>
			</u-cell>
			<u-cell title="客户联系人" arrow-direction="down">
				<text slot="value">
					{{form.partaLinkName||''}}
				</text>
			</u-cell>
			<u-cell title="客户电话" arrow-direction="down">
				<text slot="value">
					{{form.partaTel||''}}
				</text>
			</u-cell>
			<u-cell title="客户传真" arrow-direction="down">
				<text slot="value">
					{{form.partaFax||''}}
				</text>
			</u-cell>
			<u-cell title="客户Email" arrow-direction="down">
				<text slot="value">
					{{form.partaEmail||''}}
				</text>
			</u-cell>
			<u-cell title="客户地址" arrow-direction="down">
				<text slot="value">
					{{form.partaAddress||''}}
				</text>
			</u-cell>
			<u-cell title="售出方名称" arrow-direction="down">
				<text slot="value">
					{{form.partbName||''}}
				</text>
			</u-cell>
			<u-cell title="售出方统一社会信用代码" arrow-direction="down">
				<text slot="value">
					{{form.partbUnifiedSocialCreditCode||''}}
				</text>
			</u-cell>
			<u-cell title="售出方联系人" arrow-direction="down">
				<text slot="value">
					{{form.partbLinkName||''}}
				</text>
			</u-cell>
			<u-cell title="售出方联系电话" arrow-direction="down">
				<text slot="value">
					{{form.partbTel||''}}
				</text>
			</u-cell>
			<u-cell title="售出方传真" arrow-direction="down">
				<text slot="value">
					{{form.partbFax||''}}
				</text>
			</u-cell>
			<u-cell title="售出方Email" arrow-direction="down">
				<text slot="value">
					{{form.partbEmail||''}}
				</text>
			</u-cell>
			<u-cell title="售出方地址" arrow-direction="down">
				<text slot="value">
					{{form.partbAddress||''}}
				</text>
			</u-cell>
			<u-cell title="创建人" arrow-direction="down">
				<text slot="value">
					{{form.createUsername||''}}
				</text>
			</u-cell>
			<u-cell title="创建时间" arrow-direction="down">
				<text slot="value">
					{{form.createTime||''}}
				</text>
			</u-cell>
		</u-cell-group>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {

				form: {},
			}
		},

		created() {

		},
		methods: {
			init(data) {
				if (data) {
					this.form = data
		
				}
			},

		}
	}
</script>

<style lang="scss" scoped>
	/deep/.u-swipe-action-item__right__button__wrapper {
		background-color: #f56c6c !important;
	}
	/deep/.u-cell__body,/deep/.u-cell__title-text{
		font-size: 26rpx;
	}
</style>