|
@@ -3,18 +3,26 @@
|
|
|
<view v-if="!$util.isEmpty(list.data)" style="padding-bottom:120upx;">
|
|
<view v-if="!$util.isEmpty(list.data)" style="padding-bottom:120upx;">
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
<t-tr header>
|
|
<t-tr header>
|
|
|
- <t-th>名称</t-th>
|
|
|
|
|
- <t-th>批发价比成本贵</t-th>
|
|
|
|
|
- <t-th>零售价比花店贵</t-th>
|
|
|
|
|
|
|
+ <t-th><view style="color:black;">名称</view></t-th>
|
|
|
|
|
+ <t-th><view style="color:black;">批发价比成本贵</view></t-th>
|
|
|
|
|
+ <t-th><view style="color:black;">零售价比花店贵</view></t-th>
|
|
|
</t-tr>
|
|
</t-tr>
|
|
|
<view v-for="(item, index) in list.data" :key="index">
|
|
<view v-for="(item, index) in list.data" :key="index">
|
|
|
<t-tr>
|
|
<t-tr>
|
|
|
- <t-td align="center" color="info"><view>{{item.name}}</view></t-td>
|
|
|
|
|
|
|
+ <t-td align="center" color="info">
|
|
|
|
|
+ <view style="color:black;font-weight:bold;">{{item.name}}</view>
|
|
|
|
|
+ </t-td>
|
|
|
<t-td align="center" color="info">
|
|
<t-td align="center" color="info">
|
|
|
- <view><input v-model="item.addPrice" @focus="item.addPrice=''" name="price" type="digit" style="border:1upx solid #cccccc;" /></view>
|
|
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <input v-model="item.addPrice" @focus="item.addPrice=''" name="price"
|
|
|
|
|
+ type="digit" style="border:1upx solid #cccccc;color:#333333;" />
|
|
|
|
|
+ </view>
|
|
|
</t-td>
|
|
</t-td>
|
|
|
<t-td align="center" color="info">
|
|
<t-td align="center" color="info">
|
|
|
- <view><input v-model="item.skMore" @focus="item.skMore=''" name="skMore" type="digit" style="border:1upx solid #cccccc;" /></view>
|
|
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <input v-model="item.skMore" @focus="item.skMore=''" name="skMore"
|
|
|
|
|
+ type="digit" style="border:1upx solid #cccccc;color:#333333;" />
|
|
|
|
|
+ </view>
|
|
|
</t-td>
|
|
</t-td>
|
|
|
</t-tr>
|
|
</t-tr>
|
|
|
</view>
|
|
</view>
|
|
@@ -24,16 +32,18 @@
|
|
|
<AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(list.data)" />
|
|
<AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(list.data)" />
|
|
|
</view>
|
|
</view>
|
|
|
<view class="app-footer">
|
|
<view class="app-footer">
|
|
|
- <view class="admin-button-com middle blue" @click="showBatchUpdate('add')">整列累加</view>
|
|
|
|
|
- <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="showBatchUpdate('update')">整列改为</view>
|
|
|
|
|
|
|
+ <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="showBatchUpdate('update')">选择要修改的列</view>
|
|
|
<view style="margin-left:20upx;" class="admin-button-com middle blue" @click="savePrice">保存修改</view>
|
|
<view style="margin-left:20upx;" class="admin-button-com middle blue" @click="savePrice">保存修改</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <modal-module :show="batchModel" @click="affirmBatch" title="批量操作" color="#333" :size="32" padding="30upx 30upx" >
|
|
|
|
|
|
|
+ <modal-module :show="batchModel" @click="affirmBatch" title="批量操作" color="#333" :size="32" padding="30rpx 30rpx" >
|
|
|
<template slot="customContent">
|
|
<template slot="customContent">
|
|
|
<view class="select-cmd_bx">
|
|
<view class="select-cmd_bx">
|
|
|
<view class="num_bx" style="margin:60upx 0 60upx 0;font-size:35upx;">
|
|
<view class="num_bx" style="margin:60upx 0 60upx 0;font-size:35upx;">
|
|
|
- <view class="flex">金额:<input v-model="batchPrice" type="digit" style="border:1upx solid #CCCCCC;height:60upx;" /></view>
|
|
|
|
|
|
|
+ <view class="flex">金额:
|
|
|
|
|
+ <input v-model="batchPrice" placeholder="填写要批量修改的金额"
|
|
|
|
|
+ type="digit" style="border:1upx solid #CCCCCC;height:60upx;" />
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
@@ -71,7 +81,7 @@ export default {
|
|
|
|
|
|
|
|
this.batchStyle = styleInfo
|
|
this.batchStyle = styleInfo
|
|
|
let self = this
|
|
let self = this
|
|
|
- let levelList = ['请选择列:','零售价比花店贵', '批发价比成本贵']
|
|
|
|
|
|
|
+ let levelList = ['请选择:','零售价比花店贵', '批发价比成本贵']
|
|
|
uni.showActionSheet({
|
|
uni.showActionSheet({
|
|
|
itemList: levelList,
|
|
itemList: levelList,
|
|
|
success: function (respond) {
|
|
success: function (respond) {
|