|
|
@@ -60,7 +60,9 @@
|
|
|
</view>
|
|
|
<view class="">
|
|
|
<view class="information">
|
|
|
- 拒绝原因:{{ data.refuseReason && reasonList.find(item => item.value == data.refuseReason).label }}
|
|
|
+ 拒绝原因:
|
|
|
+ {{ data.refuseReason ==0?'商品已使用':'商品已核销' }}
|
|
|
+ <!-- {{ data.refuseReason && reasonList.find(item => item.value == data.refuseReason).label }} -->
|
|
|
</view>
|
|
|
<view class="information">
|
|
|
补充说明:{{ data.refuseReasonExplain }}
|
|
|
@@ -121,16 +123,7 @@ export default {
|
|
|
return {
|
|
|
data: {},
|
|
|
query: {},
|
|
|
- reasonList: [
|
|
|
- {
|
|
|
- name: '商品已使用',
|
|
|
- check: false,
|
|
|
- },
|
|
|
- {
|
|
|
- name: '服务已核销',
|
|
|
- check: false,
|
|
|
- }
|
|
|
- ],
|
|
|
+ reasonList: [],
|
|
|
isRefuse: false,
|
|
|
rejectData: {
|
|
|
refuseReason: '',
|
|
|
@@ -166,6 +159,7 @@ export default {
|
|
|
},
|
|
|
// 选择拒绝原因
|
|
|
onSelect(item, index) {
|
|
|
+ console.log(item.value)
|
|
|
this.reasonList.forEach(reason => {
|
|
|
reason.check = false;
|
|
|
});
|