|
|
|
@ -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> |
|
|
|
|