MrShi
6 天以前 47d56a8b0f22fb15a46b69dfd46fac23560ad2cd
admin/src/components/business/OperaGoodsOrderDetail.vue
@@ -30,10 +30,11 @@
         </div>
      </div>
      <div class="info-item">
        <div class="info-item-a" style="flex: 3">归属经销商:<span >{{ info.shopName }}</span></div>
        <div class="info-item-a" style="flex: 1">归属经销商:<span >{{ info.shopName }}</span></div>
        <div class="info-item-a" style="flex: 2">客户备注:<span v-if="info.memberInfo" class="red">{{info.memberInfo}}</span></div>
      </div>
      <div class="info-item">
        <div class="info-item-a" style="flex: 3">备注:<span v-if="info.sysInfo" class="red">{{info.sysInfo}}</span>
        <div class="info-item-a" style="flex: 3">平台备注:<span v-if="info.sysInfo" class="red">{{info.sysInfo}}</span>
        <span style="margin-left: 20px;" >
           <el-button  type="text" @click="$refs.operaOrderMarkWindow.open(info.sysInfo && info.sysInfo.length?'编辑备注':'添加备注', info)">
              {{ info.sysInfo && info.sysInfo.length?'修改备注':'添加备注' }}</el-button>
@@ -85,6 +86,22 @@
        </div>
        <div class="info-item"  >
          <div class="info-item-a" >退款备注:<span>{{info.refundInfo ||''}}</span></div>
          <div class="info-item-a" v-if="info.refundConfigInfo">退还:
            <span>
              {{(info.refundConfigInfo.returnUseCouponStatus == 1 && info.refundConfigInfo.returnUseIntegralStatus == 1) ? '退还客户优惠券,退还客户积分' :
              (info.refundConfigInfo.returnUseCouponStatus == 1 && info.refundConfigInfo.returnUseIntegralStatus != 1) ? '退还客户优惠券' :
              (info.refundConfigInfo.returnUseCouponStatus != 1 && info.refundConfigInfo.returnUseIntegralStatus == 1) ? '退还客户积分' : ''}}
            </span>
          </div>
          <div class="info-item-a" v-if="info.refundConfigInfo">
            扣除:<span>
            {{info.refundConfigInfo.returnShopSettlementStatus == 1 ? '扣除经销商已结算金额' : ''}}
            {{(info.refundConfigInfo.returnIntegralStatus == 1 || info.refundConfigInfo.returnShopIntegralStatus == 1) ? ',' : ''}}
            {{info.refundConfigInfo.returnIntegralStatus == 1 ? '扣除已返还客户积分' : ''}}
            {{(info.refundConfigInfo.returnShopSettlementStatus == 1 || info.refundConfigInfo.returnIntegralStatus == 1) ? ',' : ''}}
            {{info.refundConfigInfo.returnShopIntegralStatus == 1 ? '扣除已返还经销商积分' : ''}}
            </span>
          </div>
        </div>
        <div class="info-item"></div>
      </template>
@@ -228,6 +245,9 @@
    loadInfo () {
      this.api.detail(this.info.id).then(res => {
        this.info = res || this.info
        if (this.info.refundConfigInfo) {
          this.info.refundConfigInfo = JSON.parse(this.info.refundConfigInfo)
        }
      })
    },
    showChangeRecord () {