|
|
|
@ -6,13 +6,28 @@ z<template>
|
|
|
|
|
<el-form :inline="true" :size="option.size" :model="query"> |
|
|
|
|
<template> |
|
|
|
|
<el-form-item label="请选择事业线"> |
|
|
|
|
<el-input v-model="query.businessLine" placeholder="请输入事业线;1-川渝事业线,2-广东事业线,3-湖北事业线,4-云贵事业线"></el-input> |
|
|
|
|
<el-select v-model="query.businessLine" clearable placeholder="请选择事业线" > |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in businessLineData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="请选择使用单位">--> |
|
|
|
|
<!-- <el-input v-model="query.useUnit" placeholder="请输入使用单位"></el-input>--> |
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
<el-form-item label="供应商"> |
|
|
|
|
<el-input v-model="query.supplier" placeholder="请输入供应商;1-汉智叉车,2-荆门荆拓,3-天津德丰,4-力至优叉车,5-深圳鑫涛"></el-input> |
|
|
|
|
<!-- <el-input v-model="query.supplier" placeholder="请输入供应商;1-汉智叉车,2-荆门荆拓,3-天津德丰,4-力至优叉车,5-深圳鑫涛"></el-input>--> |
|
|
|
|
<el-select v-model="query.supplier" clearable placeholder="请选择供应商" > |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in supplierData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="合同编号"> |
|
|
|
|
<el-input v-model="query.contractNumber" placeholder="请输入合同编号"></el-input> |
|
|
|
@ -53,7 +68,7 @@ z<template>
|
|
|
|
|
:border="option.border"> |
|
|
|
|
<el-table-column type="selection" v-if="option.selection" width="55" align="center"></el-table-column> |
|
|
|
|
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> |
|
|
|
|
<el-table-column v-if="option.index" label="#" type="index" width="50" align="center"> |
|
|
|
|
<el-table-column v-if="option.index" label="序号" type="index" width="50" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<template v-for="(item,index) in option.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
@ -91,119 +106,241 @@ z<template>
|
|
|
|
|
<el-dialog :title="title" :visible.sync="box" width="50%" :before-close="beforeClose" append-to-body> |
|
|
|
|
<el-form :disabled="view" :size="option.size" ref="form" :model="form" label-width="80px"> |
|
|
|
|
<!-- 表单字段 --> |
|
|
|
|
<el-form-item label="事业线;1-川渝事业线,2-广东事业线,3-湖北事业线,4-云贵事业线" prop="businessLine"> |
|
|
|
|
<el-select v-model="form.businessLine" clearable placeholder="请选择事业线;1-川渝事业线,2-广东事业线,3-湖北事业线,4-云贵事业线"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="事业线" prop="businessLine"> |
|
|
|
|
<el-select v-model="form.businessLine" clearable placeholder="请选择事业线"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in businessLineData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="使用单位" prop="useUnit"> |
|
|
|
|
<el-input v-model="form.useUnit" placeholder="请输入使用单位"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="受票主体" prop="ticketRecipient"> |
|
|
|
|
<el-input v-model="form.ticketRecipient" placeholder="请输入受票主体"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="供应商" prop="supplier"> |
|
|
|
|
<el-select v-model="form.supplier" clearable placeholder="1-汉智叉车,2-荆门荆拓,3-天津德丰,4-力至优叉车,5-深圳鑫涛"> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="使用单位" prop="useUnit"> |
|
|
|
|
<el-input v-model="form.useUnit" placeholder="请输入使用单位"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="受票主体" prop="ticketRecipient"> |
|
|
|
|
<el-input v-model="form.ticketRecipient" placeholder="请输入受票主体"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="供应商" prop="supplier"> |
|
|
|
|
<el-select v-model="form.supplier" clearable placeholder="供应商"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in supplierData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="资产类型" prop="assetType"> |
|
|
|
|
<el-select v-model="form.assetType" clearable placeholder="1-自有,2-租凭"> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="资产类型" prop="assetType"> |
|
|
|
|
<el-select v-model="form.assetType" clearable placeholder="资产类型"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in assetTypeData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="类型;1-高叉,2-托盘车,3-坐叉" prop="forkliftType"> |
|
|
|
|
<el-select v-model="form.forkliftType" clearable placeholder="请选择类型;1-高叉,2-托盘车,3-坐叉"> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="类型" prop="forkliftType"> |
|
|
|
|
<el-select v-model="form.forkliftType" clearable placeholder="请选择类型;1-高叉,2-托盘车,3-坐叉"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in forkliftTypeData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="摘要" prop="abstracts"> |
|
|
|
|
<el-input v-model="form.abstract" placeholder="请输入摘要"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="载重;单位(T)" prop="load"> |
|
|
|
|
<el-input v-model="form.load" placeholder="请输入载重;单位(T)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="载高;单位(M)" prop="loadHeight"> |
|
|
|
|
<el-input v-model="form.loadHeight" placeholder="请输入载高;单位(M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="整车尺寸;长*宽*高" prop="vehicleSize"> |
|
|
|
|
<el-input v-model="form.vehicleSize" placeholder="请输入整车尺寸;长*宽*高"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="货叉宽度;(MAX外宽,单位M)" prop="forkArmsWidth"> |
|
|
|
|
<el-input v-model="form.forkArmsWidth" placeholder="请输入货叉宽度;(MAX外宽,单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="货叉长度;(单位M)" prop="forkArmsHeight"> |
|
|
|
|
<el-input v-model="form.forkArmsHeight" placeholder="请输入货叉长度;(单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="最小转弯半径;(单位M)" prop="minimumTurningRadius"> |
|
|
|
|
<el-input v-model="form.minimumTurningRadius" placeholder="请输入最小转弯半径;(单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="通道宽度;((min),单位M)" prop="channelWidth"> |
|
|
|
|
<el-input v-model="form.channelWidth" placeholder="请输入通道宽度;((min),单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="月租;(元/月)" prop="monthlyRent"> |
|
|
|
|
<el-input v-model="form.monthlyRent" placeholder="请输入月租;(元/月)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="数量;(台)" prop="number"> |
|
|
|
|
<el-input v-model="form.number" placeholder="请输入数量;(台)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="合同编号" prop="contractNumber"> |
|
|
|
|
<el-input v-model="form.contractNumber" placeholder="请输入合同编号"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="起租期限;中文大写" prop="leaseStartPeriod"> |
|
|
|
|
<el-input v-model="form.leaseStartPeriod" placeholder="请输入起租期限;中文大写"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="租赁开始时间" prop="leaseStartTime"> |
|
|
|
|
<el-date-picker v-model="form.leaseStartTime" type="datetime" value-format="yyyy-MM-dd " placeholder="请选择租赁开始时间"></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="租赁结束时间" prop="leaseEndTime"> |
|
|
|
|
<el-date-picker v-model="form.leaseEndTime" type="datetime" value-format="yyyy-MM-dd" placeholder="请选择租赁结束时间"></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="付款周期;(月)" prop="paymentCycle"> |
|
|
|
|
<el-input v-model="form.paymentCycle" placeholder="请输入付款周期;(月)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="押金;(元)" prop="deposit"> |
|
|
|
|
<el-input v-model="form.deposit" placeholder="请输入押金;(元)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="付款方式;1-先付后租,2-先租后付" prop="paymentMethod"> |
|
|
|
|
<el-select v-model="form.paymentMethod" clearable placeholder="请选择付款方式;1-先付后租,2-先租后付"> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="摘要" prop="abstracts"> |
|
|
|
|
<el-input v-model="form.abstract" placeholder="请输入摘要"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="载重" prop="loads"> |
|
|
|
|
<el-input v-model="form.loads" placeholder="请输入载重;单位(T)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="载高" prop="loadHeight"> |
|
|
|
|
<el-input v-model="form.loadHeight" placeholder="请输入载高;单位(M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="整车尺寸" prop="vehicleSize"> |
|
|
|
|
<el-input v-model="form.vehicleSize" placeholder="请输入整车尺寸;长*宽*高"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="货叉宽度" prop="forkArmsWidth"> |
|
|
|
|
<el-input v-model="form.forkArmsWidth" placeholder="请输入货叉宽度;(MAX外宽,单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="货叉长度" prop="forkArmsHeight"> |
|
|
|
|
<el-input v-model="form.forkArmsHeight" placeholder="请输入货叉长度;(单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="最小转弯半径" prop="minimumTurningRadius"> |
|
|
|
|
<el-input v-model="form.minimumTurningRadius" placeholder="请输入最小转弯半径;(单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="通道宽度" prop="channelWidth"> |
|
|
|
|
<el-input v-model="form.channelWidth" placeholder="请输入通道宽度;((min),单位M)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="月租" prop="monthlyRent"> |
|
|
|
|
<el-input v-model="form.monthlyRent" placeholder="请输入月租;(元/月)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="数量" prop="number"> |
|
|
|
|
<el-input v-model="form.number" placeholder="请输入数量;(台)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="合同编号" prop="contractNumber"> |
|
|
|
|
<el-input v-model="form.contractNumber" placeholder="请输入合同编号"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="起租期限" prop="leaseStartPeriod"> |
|
|
|
|
<el-input v-model="form.leaseStartPeriod" placeholder="请输入起租期限;中文大写"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="租赁开始时间" prop="leaseStartTime"> |
|
|
|
|
<el-date-picker v-model="form.leaseStartTime" type="date" value-format="yyyy-MM-dd " placeholder="请选择租赁开始时间"></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="租赁结束时间" prop="leaseEndTime"> |
|
|
|
|
<el-date-picker v-model="form.leaseEndTime" type="date" value-format="yyyy-MM-dd" placeholder="请选择租赁结束时间"></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="付款周期" prop="paymentCycle"> |
|
|
|
|
<el-input v-model="form.paymentCycle" placeholder="请输入付款周期;(月)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="付款方式" prop="paymentMethod"> |
|
|
|
|
<el-select v-model="form.paymentMethod" clearable placeholder="请选择付款方式;1-先付后租,2-先租后付"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in paymentMethodData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="备注" prop="notes"> |
|
|
|
|
<el-input v-model="form.notes" placeholder="请输入备注"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="整车图片" prop="forkliftPhoto"> |
|
|
|
|
<el-input v-model="form.forkliftPhoto" placeholder="请输入整车图片"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="所属仓库" prop="owningWarehouse"> |
|
|
|
|
<el-input v-model="form.owningWarehouse" placeholder="请输入所属仓库"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="押金" prop="deposit"> |
|
|
|
|
<el-input v-model="form.deposit" placeholder="请输入押金;(元)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="备注" prop="notes"> |
|
|
|
|
<el-input v-model="form.notes" placeholder="请输入备注"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="11"> |
|
|
|
|
<el-form-item label="所属仓库" prop="owningWarehouse"> |
|
|
|
|
<el-select v-model="form.owningWarehouse" clearable placeholder="请选择付款方式仓库"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in owningWarehouseData" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="整车图片" prop="forkliftPhoto">--> |
|
|
|
|
<!-- <el-input v-model="form.forkliftPhoto" placeholder="请输入整车图片"/>--> |
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
<!-- 表单按钮 --> |
|
|
|
|
<span v-if="!view" slot="footer" class="dialog-footer"> |
|
|
|
@ -242,6 +379,12 @@ export default {
|
|
|
|
|
pageSize: 10, |
|
|
|
|
total: 40 |
|
|
|
|
}, |
|
|
|
|
businessLineData:[], |
|
|
|
|
supplierData:[], |
|
|
|
|
owningWarehouseData:[], |
|
|
|
|
paymentMethodData:[], |
|
|
|
|
forkliftTypeData:[], |
|
|
|
|
assetTypeData:[], |
|
|
|
|
// 表单数据 |
|
|
|
|
form: {}, |
|
|
|
|
// 选择行 |
|
|
|
|