Commit 65cfd588 by cen

fix: 处理重置

1 parent c9283bce
...@@ -175,6 +175,14 @@ export default { ...@@ -175,6 +175,14 @@ export default {
if (popupType == 13 ) { if (popupType == 13 ) {
chooseContent = this.componentRef().getResult() chooseContent = this.componentRef().getResult()
} }
if(popupType == 15 ) {
this.$emit('onConfirm', {
chooseContent,
popupType
})
this.$refs.popup.close()
return
}
if (chooseContent) { if (chooseContent) {
if (Array.isArray(chooseContent) && !chooseContent.length && componentObject[popupType].nullTips) throw componentObject[popupType].nullTips if (Array.isArray(chooseContent) && !chooseContent.length && componentObject[popupType].nullTips) throw componentObject[popupType].nullTips
this.$emit('onConfirm', { this.$emit('onConfirm', {
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<view class="label">实收金额</view> <view class="label">实收金额</view>
<view class="price"> <view class="price">
<view class="flag">¥</view> <view class="flag">¥</view>
{{ accDiv(item.equityPrice) }} {{ item.equityPrice }}
</view> </view>
</view> </view>
</view> </view>
...@@ -324,7 +324,7 @@ export default { ...@@ -324,7 +324,7 @@ export default {
// 修改 onConfirm 方法 // 修改 onConfirm 方法
onConfirm(chooseList) { onConfirm(chooseList) {
console.log(chooseList) console.log(chooseList)
this.chooseContent = chooseList.chooseContent this.chooseContent = chooseList.chooseContent || []
this.historyOrderGoodsTypes = [] this.historyOrderGoodsTypes = []
// 检查chooseList和chooseContent是否存在 // 检查chooseList和chooseContent是否存在
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!