修改耗材问题
This commit is contained in:
@@ -57,27 +57,29 @@
|
||||
<input type="text" placeholder="请输入总价值(元)" name="" id="">
|
||||
</view>
|
||||
</li> -->
|
||||
<view style="justify-content: space-between;">
|
||||
<view style="justify-content: space-between;align-items: center;">
|
||||
<view>
|
||||
供应商
|
||||
</view>
|
||||
<view style="width: 54%;" @tap="showStatusToggle">
|
||||
{{datas.status[nowStatusIndex]}}
|
||||
</view>
|
||||
<picker @change="changeNowStatusIndex" :value="nowStatusIndex" :range="datas.status">
|
||||
<view class="color-333" style="height: 84rpx;line-height: 84rpx;">{{datas.status[nowStatusIndex]}}</view>
|
||||
</picker>
|
||||
<uni-icons type="bottom" size="16"></uni-icons>
|
||||
<view style="color: #318AFE;width: 80rpx;text-align: center;" @tap="toggle">
|
||||
新增
|
||||
</view>
|
||||
<!-- <up-button type="text" style="color: #318AFE;" @tap="toggle" :plain="true"
|
||||
text="新增"></up-button> -->
|
||||
</view>
|
||||
</view>
|
||||
<view :style="{height:showStatus?statusHeight:0}" class="tranistion status overflow-hide">
|
||||
<!-- <view :style="{height:showStatus?statusHeight:0}" class="tranistion status overflow-hide">
|
||||
<view @tap="changeNowStatusIndex(index)" class="u-flex u-p-l-30 lh30 u-p-r-30 u-row-between"
|
||||
v-for="(item,index) in datas.status" :key="index">
|
||||
<view :class="{'color-main':nowStatusIndex===index}">{{item}}</view>
|
||||
<uni-icons v-if="nowStatusIndex===index" type="checkmarkempty" :color="color.ColorMain"></uni-icons>
|
||||
</view>
|
||||
<view :style="{height: '14px'}"></view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="bottombutton">
|
||||
<up-button type="primary" style="background-color: #318AFE;color: #fff;" @tap="sumbit" :plain="true"
|
||||
@@ -156,7 +158,7 @@
|
||||
let nowStatusIndex = ref(0)
|
||||
|
||||
function changeNowStatusIndex(i) {
|
||||
nowStatusIndex.value = i
|
||||
nowStatusIndex.value = i.detail.value
|
||||
showStatus.value = false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user