88236e1f by zhangmeng

票务

1 parent 83967c20
......@@ -25,9 +25,9 @@
@change="getList"
>
<el-option label="全部" value="0" />
<el-option label="未申请发票" value="1" />
<el-option label="已申请发票" value="2" />
<el-option label="已开票" value="3" />
<el-option label="未申请" value="1" />
<el-option label="申请中" value="2" />
<el-option label="已开票" value="3" />
</el-select>
</el-form-item>
</el-form>
......@@ -90,18 +90,18 @@
</el-col>
<el-col :lg="3" :md="6" :sm="6" :xs="6" class="text-center">
<span class="text-warning"> {{ b.payType!='2'?'¥':'€' }}
<span class="bigMoney">{{b.totalPayAmount}}</span>
<span class="bigMoney">{{b.totalPayAmount||b.totalAmount}}</span>
</span>
</el-col>
<el-col :lg="6" :md="16" :sm="16" :xs="16">
<div class="text-right">
<el-button type="primary" plain round v-if="b.isInvoice == '0'&&!b.invoiceId&&b.languageSource=='100'" @click.stop="gokp(b)">
<el-button type="primary" plain round v-if="b.isInvoice == '0'&&!b.invoiceId" @click.stop="gokp(b)">
{{ language == 0 ? '申请开票' : 'Invoice' }}
</el-button>
<el-button type="primary" plain round v-if="b.isInvoice == '0'&&b.invoiceId&&b.languageSource=='100'" @click.stop="editkp(b)">
<el-button type="primary" plain round v-if="b.isInvoice == '0'&&b.invoiceId" @click.stop="editkp(b)">
{{ language == 0 ? '重新申请' : 'Rebilling' }}
</el-button>
<el-button type="primary" plain round v-if="b.invoiceId&&b.languageSource=='100'"
<el-button type="primary" plain round v-if="b.invoiceId"
@click.stop="showDetail(b)">{{ language == 0 ? '发票信息' : 'Detail' }}
</el-button>
<!-- <el-button type="primary" v-if="b.isInvoice == '0'&&!b.invoiceId&&b.languageSource!='100'" plain round @click.stop="goSj(b)">-->
......@@ -294,7 +294,7 @@ const gokp = (item) => {
path: '/booking/addInvoice',
query: {
orders: encodeURIComponent(JSON.stringify(item)),
totalMoney:item.totalStr||item.totalPayAmount||item.payAmount,
totalMoney:item.totalStr||item.totalPayAmount||item.payAmount||item.totalAmount,
paymentType:query.value.orderType==6||query.value.orderType==5?item.payType:item.paymentType,
orderType:query.value.orderType
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!