|
@@ -3,8 +3,8 @@
|
3
|
3
|
<div class="system-table-search">
|
4
|
4
|
<div class="flex-h" style="align-items: flex-start;">
|
5
|
5
|
<div class="flex-item flex-h">
|
6
|
|
- <el-button plain @click="editBook()" size="medium">图书录入</el-button>
|
7
|
|
- <el-button plain @click="showBatchInput()" size="medium">批量导入</el-button>
|
|
6
|
+ <el-button type="success" @click="editBook()" size="medium">图书录入</el-button>
|
|
7
|
+ <el-button type="primary" @click="showBatchInput()" size="medium">批量导入</el-button>
|
8
|
8
|
</div>
|
9
|
9
|
<ul style="white-space: normal;">
|
10
|
10
|
<li style="margin-bottom: 15px;">
|
|
@@ -45,7 +45,7 @@
|
45
|
45
|
<el-table :data="list" border style="width: 100%">
|
46
|
46
|
<el-table-column label="图片" width="128">
|
47
|
47
|
<template slot-scope="scope">
|
48
|
|
- <img width="64" :src="scope.row.BookImg || defaultbookimg + '?x-oss-process=style/compress-rotate'" alt>
|
|
48
|
+ <img width="64" :src="(scope.row.BookImg || defaultbookimg) + '?x-oss-process=style/compress-rotate'" alt>
|
49
|
49
|
</template>
|
50
|
50
|
</el-table-column>
|
51
|
51
|
<el-table-column prop="BookBarcode" label="条形码"></el-table-column>
|
|
@@ -60,7 +60,7 @@
|
60
|
60
|
<span>{{ getTypeName(scope.row.BookTypeId) }}</span>
|
61
|
61
|
</template>
|
62
|
62
|
</el-table-column>
|
63
|
|
- <el-table-column label="价格">
|
|
63
|
+ <el-table-column label="价格" width="50">
|
64
|
64
|
<template slot-scope="scope">
|
65
|
65
|
<span>{{ formatPrice(scope.row.Price) }}</span>
|
66
|
66
|
</template>
|
|
@@ -78,7 +78,7 @@
|
78
|
78
|
<span>{{ toolClass.dateFormat(scope.row.CreateDate) }}</span>
|
79
|
79
|
</template>
|
80
|
80
|
</el-table-column>
|
81
|
|
- <el-table-column fixed="right" label="操作" width="350">
|
|
81
|
+ <el-table-column fixed="right" label="操作" width="400">
|
82
|
82
|
<template slot-scope="scope">
|
83
|
83
|
<el-button type="primary" @click="changeStock(scope.row)" size="small">库存盘点</el-button>
|
84
|
84
|
<el-button @click="setRecommend(scope.row)" type="warning" size="small">{{ scope.row.IsRecommend === 1 ? '取消推荐' : '设为推荐' }}</el-button>
|