|
@@ -6,7 +6,7 @@
|
|
<div class="item" :class="screenForm.status === '' ? 'current':''" @click="changeType('')">
|
|
<div class="item" :class="screenForm.status === '' ? 'current':''" @click="changeType('')">
|
|
全部({{ (downCount + upCount) || 0 }})</div>
|
|
全部({{ (downCount + upCount) || 0 }})</div>
|
|
<div class="item" :class="screenForm.status ? 'current':''" @click="changeType(true)">
|
|
<div class="item" :class="screenForm.status ? 'current':''" @click="changeType(true)">
|
|
- 租凭中({{ upCount || 0 }})</div>
|
|
|
|
|
|
+ 租赁中({{ upCount || 0 }})</div>
|
|
<div class="item" :class="screenForm.status === false ? 'current':''" @click="changeType(false)">
|
|
<div class="item" :class="screenForm.status === false ? 'current':''" @click="changeType(false)">
|
|
已下架({{ downCount || 0 }})</div>
|
|
已下架({{ downCount || 0 }})</div>
|
|
</div>
|
|
</div>
|
|
@@ -36,7 +36,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="12" :sm="12" :lg="8">
|
|
<el-col :xs="12" :sm="12" :lg="8">
|
|
- <el-form-item label="租凭定金:" label-width="90px">
|
|
|
|
|
|
+ <el-form-item label="租赁定金:" label-width="90px">
|
|
<el-input v-model="screenForm.price1" size="small" @change="getListByScreen"
|
|
<el-input v-model="screenForm.price1" size="small" @change="getListByScreen"
|
|
clearable></el-input>
|
|
clearable></el-input>
|
|
<span>至</span>
|
|
<span>至</span>
|
|
@@ -45,7 +45,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="12" :sm="12" :lg="8">
|
|
<el-col :xs="12" :sm="12" :lg="8">
|
|
- <el-form-item label="租凭价格:" label-width="90px">
|
|
|
|
|
|
+ <el-form-item label="租赁价格:" label-width="90px">
|
|
<el-input v-model="screenForm.amount1" size="small" @change="getListByScreen"
|
|
<el-input v-model="screenForm.amount1" size="small" @change="getListByScreen"
|
|
clearable></el-input>
|
|
clearable></el-input>
|
|
<span>至</span>
|
|
<span>至</span>
|
|
@@ -69,14 +69,14 @@
|
|
<el-table-column align="center" type="selection" width="55" fixed></el-table-column>
|
|
<el-table-column align="center" type="selection" width="55" fixed></el-table-column>
|
|
<el-table-column align="center" label="一级分类图片" prop="imgUrl" width="85">
|
|
<el-table-column align="center" label="一级分类图片" prop="imgUrl" width="85">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-image style="width: 60px; height: 60px; display: block;" :src="scope.row.imgUrl"
|
|
|
|
- :preview-src-list="[scope.row.imgUrl]" fit="cover"></el-image>
|
|
|
|
|
|
+ <el-image style="width: 60px; height: 60px; display: block;" :src="scope.row.categoryUrl"
|
|
|
|
+ :preview-src-list="[scope.row.categoryUrl]" fit="cover"></el-image>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="商品ID" prop="id" min-width="200"></el-table-column>
|
|
<el-table-column align="center" label="商品ID" prop="id" min-width="200"></el-table-column>
|
|
<el-table-column align="center" label="商品名称" prop="name" min-width="200"></el-table-column>
|
|
<el-table-column align="center" label="商品名称" prop="name" min-width="200"></el-table-column>
|
|
- <el-table-column align="center" label="租凭价格" prop="leasePrice" min-width="200"></el-table-column>
|
|
|
|
- <el-table-column align="center" label="租凭定金" prop="depositPrice" min-width="200"></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="租赁价格" prop="leasePrice" min-width="200"></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="租赁定金" prop="depositPrice" min-width="200"></el-table-column>
|
|
<el-table-column align="center" label="排序" prop="sort" min-width="110" sortable>
|
|
<el-table-column align="center" label="排序" prop="sort" min-width="110" sortable>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<!-- {{ scope.row.sortNum }} -->
|
|
<!-- {{ scope.row.sortNum }} -->
|
|
@@ -101,7 +101,7 @@
|
|
:data-clipboard-text="scope.row.id">复制链接</el-button>
|
|
:data-clipboard-text="scope.row.id">复制链接</el-button>
|
|
<el-popconfirm v-if="$restrict('del')" style="margin-left: 10px;" title="确定删除吗?"
|
|
<el-popconfirm v-if="$restrict('del')" style="margin-left: 10px;" title="确定删除吗?"
|
|
@confirm="delItem(scope.row.id)">
|
|
@confirm="delItem(scope.row.id)">
|
|
- <el-button slot="reference" size="mini">删除</el-button>
|
|
|
|
|
|
+ <el-button v-if="!scope.row.status" slot="reference" size="mini">删除</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -119,7 +119,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
- <detail @back="backList" :title="'租凭产品' + formTypeItems[formType]" :id="id" :formType="formType"></detail>
|
|
|
|
|
|
+ <detail @back="backList" :title="'租赁产品' + formTypeItems[formType]" :id="id" :formType="formType"></detail>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|