wangchenguang 2 years ago
parent 5d86d49479
commit c75afe4844
  1. 14
      order/orderDetail/orderDetail.vue
  2. 2
      order/orders/orders.vue
  3. 4
      pages/teams/teams.vue

@ -8,23 +8,23 @@
<view v-if="orderId" class="val">{{ form.customerName }}</view>
<view v-else :class="['ph', {val: form.customerName}]" @click="customerVisible = true">{{ form.customerName || '请选择客户' }}</view>
</view>
<view class="line">
<view class="line" v-if="form.customerName">
<view class="name">省份</view>
<view class="val">{{ form.provinceName }}</view>
</view>
<view class="line">
<view class="line" v-if="form.customerName">
<view class="name">城市</view>
<view class="val">{{ form.cityName }}</view>
</view>
<view class="line">
<view class="line" v-if="form.customerName">
<view class="name">联系人</view>
<view class="val">{{ form.orderContact }}</view>
</view>
<view class="line">
<view class="line" v-if="form.customerName">
<view class="name">电话</view>
<view class="val">{{ form.phone }}</view>
</view>
<view class="line">
<view class="line" v-if="form.customerName">
<view class="name">邮箱</view>
<view class="val">{{ form.email }}</view>
</view>
@ -74,8 +74,8 @@
<!-- 1查看时不可操作
2发货和启用不要同时出现生效前只会显示发货不发货按钮生效后只显示禁启用按钮
3处理中的订单显示发货不显示禁用 -->
<button v-if="item.status === 1 || isHandle || !orderId" class="course-btn" type="primary" @click.stop="handleDeliver(n, i)">{{ item.ship ? '取消' : ''}}发货</button>
<button v-else-if="!isDetail" class="course-btn" type="primary" @click.stop="handleEnable(n, i)">{{ item.isEnable ? '禁用' : '启用'}}</button>
<button v-if="item.status === 1 || isHandle || !orderId && auth('订单管理:发货')" class="course-btn" type="primary" @click.stop="handleDeliver(n, i)">{{ item.ship ? '取消' : ''}}发货</button>
<button v-else-if="!isDetail && auth('订单管理:启用')" class="course-btn" type="primary" @click.stop="handleEnable(n, i)">{{ item.isEnable ? '禁用' : '启用'}}</button>
<image v-if="!orderId || isRenew" class="del" src="@/static/image/trash.png" mode="widthFix" @click.stop="delCourse(c, i)"></image>
</view>
</view>

@ -13,6 +13,7 @@
v-for="item in list"
:threshold="0"
:right-options="ops"
:disabled="!auth('订单管理:删除')"
@click="e => handle(item)"
>
<view class="item" @click="toDetail(item)">
@ -207,6 +208,7 @@
},
//
toDetail(item) {
if(!this.auth('订单管理:查看')) return
this.$util.to(`../orderDetail/orderDetail?orderId=${item.orderId}&show=1`)
},
//

@ -43,14 +43,14 @@
<text class="val">{{ item.invitationAccount }}</text>
</view>
</view>
<view class="iconfont icon-edit" @click.stop="toEdit(item)"></view>
<view v-if="auth('合伙管理:账号管理:编辑分类')" class="iconfont icon-edit" @click.stop="toEdit(item)"></view>
</li>
</ul>
<uni-load-more :status="status" />
</template>
<empty v-else></empty>
<uni-icons class="plus" type="plus-filled" size="60" color="#007eff" @click="$util.to('../addStaff/addStaff')"></uni-icons>
<uni-icons v-if="auth('合伙管理:账号管理:添加城市合伙人')" class="plus" type="plus-filled" size="60" color="#007eff" @click="$util.to('../addStaff/addStaff')"></uni-icons>
</view>
</template>

Loading…
Cancel
Save