|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<view class="content flex flex_column">
|
|
|
- <u-navbar back-text="编辑货位" :border-bottom="false" :background="{backgroundColor: $config('primaryColor')}" back-icon-color="#fff" :back-text-style="{ color: '#fff' }">
|
|
|
- <view slot='right' style="padding: 0 30upx;color: #ffffff;" @click="enableShelfProduct" v-if="type=='edit'&&nowData&&nowData.shelfProductApiEntity&&!nowData.shelfProductApiEntity.qty">
|
|
|
- <text style="margin-left: 6rpx;">{{nowData&&nowData.shelfProductApiEntity.enableFlag==1?'禁用':'启用'}}</text>
|
|
|
+ <u-navbar back-text="编辑货位" :border-bottom="false">
|
|
|
+ <view slot='right' style="padding: 0 30upx;" @click="enableShelfProduct" v-if="type=='edit'&&nowData&&nowData.shelfProductApiEntity&&!nowData.shelfProductApiEntity.qty">
|
|
|
+ <text :style="{color:nowData&&nowData.shelfProductApiEntity.enableFlag==1?$config('errorColor'):$config('primaryColor')}">{{nowData&&nowData.shelfProductApiEntity.enableFlag==1?'禁用':'启用'}}</text>
|
|
|
</view>
|
|
|
</u-navbar>
|
|
|
<view class="form-body">
|
|
@@ -27,8 +27,7 @@
|
|
|
更换产品
|
|
|
</text>
|
|
|
<text v-else class="pcode" style="color: #999;">
|
|
|
- <u-icon name='reload'></u-icon>
|
|
|
- 更换产品
|
|
|
+ (已禁用)
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="pname">
|