|
@@ -61,11 +61,15 @@
|
|
|
<view v-if="this.isEmpty(this.materialValue.name)" style="margin-top: 10;"
|
|
|
@click="pickerShow('cz')">
|
|
|
<span style="color: darkgray;">请选择材料</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ <image src="../../static/images/icon_right.png" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
- <view v-else style="margin-top: 10;" @click="pickerShow('cz')">
|
|
|
- <span style="color: black;">{{materialValue.name}}</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ <view v-else style="display: flex;align-items: center; justify-content: flex-end;">
|
|
|
+ <view style="margin-top: 10; " @click="pickerShow('cz')">
|
|
|
+ <span style="color: black;">{{materialValue.name}}</span>
|
|
|
+ <!-- <image src="../../static/images/icon_right.png" class="to-right-icon"></image> -->
|
|
|
+ </view>
|
|
|
+ <uni-icons type="clear" size="24" color="#999"
|
|
|
+ style="margin-left:20rpx ;margin-right: -20rpx;" @click="clearThatTwoInfo"></uni-icons>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -77,11 +81,16 @@
|
|
|
<view v-if="this.isEmpty(this.specificationValue.name)" style="margin-top: 10;"
|
|
|
@click="pickerShow('gg')">
|
|
|
<span style="color: darkgray;">请选择规格</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ <image src="../../static/images/icon_right.png" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
- <view v-else style="margin-top: 10;" @click="pickerShow('gg')">
|
|
|
- <span style="color: black;">{{specificationValue.name}}</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ <view v-else style="display: flex;align-items: center; justify-content: flex-end;">
|
|
|
+ <view style="margin-top: 10;" @click="pickerShow('gg')">
|
|
|
+ <span style="color: black;">{{specificationValue.name}}</span>
|
|
|
+ <!-- <image src="../../static/images/icon_right.png" class="to-right-icon"></image> -->
|
|
|
+ </view>
|
|
|
+ <uni-icons type="clear" size="24" color="#999"
|
|
|
+ style="margin-left:20rpx ;margin-right: -20rpx;"
|
|
|
+ @click="this.specificationValue.name=''"></uni-icons>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -546,6 +555,13 @@
|
|
|
} else if (status == '竣工') {
|
|
|
return "#80d9ae";
|
|
|
}
|
|
|
+ },
|
|
|
+ //材料清空val
|
|
|
+ clearThatTwoInfo() {
|
|
|
+ this.materialValue.name = ''
|
|
|
+ if (this.specificationValue.name) {
|
|
|
+ this.specificationValue.name = ''
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|