<template>
	<view class="supplyChain">
		<commons-header title="进销存"></commons-header>
		<!-- <view class="shengchang">
			<image src="../../static/1.png" mode="widthFix"></image>
		</view> -->
		<view class="" style="margin-top:140rpx">
			<view class="commons-title">
				合同管理
			</view>
			<ul>
				<li @click="toRouter('/sale/sale')">
					<image src="../../static/images/supplyChain/icon_xsht@2x.png"></image>
					<p>销售合同</p>
				</li>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_diaoc@2x.png"></image>
					<p>销售退货</p>
				</li> -->
			</ul>
		</view>
		<view class="">
			<view class="commons-title">
				采购管理
			</view>
			<ul>
				<li @click="toRouter('/purchase/purchase')">
					<image src="../../static/images/supplyChain/icon_sggl@2x.png"></image>
					<p>申购管理</p>
				</li>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_dcg@2x.png"></image>
					<p>待采购</p>
				</li> -->
				<li @click="toRouter('/inOrOut/purchaseIn')">
					<image src="../../static/images/supplyChain/icon_ycg@2x.png"></image>
					<p>已采购</p>
				</li>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_cgth@2x.png"></image>
					<p>采购退货</p>
				</li> -->
			</ul>
		</view>
		<view class="">
			<view class="commons-title">
				出入库
			</view>
			<ul>
				<li @click="toRouter('/inOrOut/manualIn')">
					<image src="../../static/images/supplyChain/icon_ruk@2x.png"></image>
					<p>入库</p>
				</li>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_chuk@2x.png"></image>
					<p>出库</p>
				</li>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_diaoc@2x.png"></image>
					<p>调仓</p>
				</li> -->
			</ul>
		</view>
		<view class="">
			<view class="commons-title">
				库存管理
			</view>
			<ul>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_kuccx@2x.png"></image>
					<p>库存查询</p>
				</li> -->
				<li @click="toRouter('/InventoryCount/list')">
					<image src="../../static/images/supplyChain/icon_kucpd@2x.png"></image>
					<p>库存盘点</p>
				</li>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_crkls@2x.png"></image>
					<p>出入库流水</p>
				</li> -->
			</ul>
		</view>
		<!-- <view class="">
			<view class="commons-title">
				采购结算
			</view>
			<ul>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_fapgl@2x.png"></image>
					<p>发票管理</p>
				</li>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_fukgl@2x.png"></image>
					<p>付款管理</p>
				</li>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_lisfk@2x.png"></image>
					<p>历史付款</p>
				</li>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_tkgl@2x.png"></image>
					<p>退款管理</p>
				</li>
			</ul>
		</view> -->
		<view class="">
			<view class="commons-title">
				基础维护
			</view>
			<ul>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_cangkwh@2x.png"></image>
					<p>仓库维护</p>
				</li>
				<!-- <li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_gyswh@2x.png"></image>
					<p>供应商维护</p>
				</li>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_gysjgwh@2x.png"></image>
					<p>供应商价格维护</p>
				</li>
				<li @click="toRouter('/warehouse/list')">
					<image src="../../static/images/supplyChain/icon_chanpfl@2x.png"></image>
					<p>产品分类</p>
				</li> -->
				<li @click="toRouter('/product/list')">
					<image src="../../static/images/supplyChain/icon_chanpwh@2x.png"></image>
					<p>产品维护</p>
				</li>
				<li @click="toRouter('/classify/classify')">
					<image src="../../static/images/supplyChain/icon_wulfl@2x.png"></image>
					<p>物料分类</p>
				</li>
				<li @click="toRouter('/material/list')">
					<image src="../../static/images/supplyChain/icon_wulwh@2x.png"></image>
					<p>物料维护</p> 
				</li>
			</ul>
		</view>
	</view>
	
</template>

<script>
	import commonsHeader from '../../components/commons-header/index.vue'
	export default {
		components:{
			commonsHeader
		},
		methods:{
			toRouter(_url){
				uni.navigateTo({
					url: '/pages/supplyChain' + _url
				})
			},
		},
	}
</script>

<style lang="less">
	.supplyChain{
		ul{
			margin:0;
			padding: 0 40rpx;
			overflow: hidden;
			li{
				list-style: none;
				width: 25%;
				float: left;
				text-align: center;
				font-size: 24rpx;
				margin-bottom: 20rpx;
				image{
					width:80rpx;
					height: 80rpx;
				}
			}
		}
	}
	.shengchang{
		padding: 40rpx 30rpx;
		margin-top: 100rpx;
		image{
			width: 100%;
		}
	}
</style>