|
@@ -1,16 +1,16 @@
|
|
|
<template>
|
|
|
<div v-if="isUsed == 1">
|
|
|
<div v-for="(item,index) in list" :key="index" style="margin-bottom: 5px">
|
|
|
- <span style="margin-left: 10px">后置天数:</span>
|
|
|
- <el-input type="number" style="width: 100px" v-model="item.days" placeholder="请输入"></el-input>
|
|
|
- <span style="margin-left: 5px">天</span>
|
|
|
- <span style="margin-left: 20px">立账额度:</span>
|
|
|
- <el-input type="number" style="width: 100px" v-model="item.amountrate" placeholder="请输入" :class="{ 'is-error': isErrorInvoiceapply }" @change="checkAmountrate"></el-input>
|
|
|
+ <span style="margin-left: 10px">{{$t(`后置天数`)}}:</span>
|
|
|
+ <el-input type="number" style="width: 100px" v-model="item.days" :placeholder="$t(`请输入`)"></el-input>
|
|
|
+ <span style="margin-left: 5px">{{$t(`天`)}}</span>
|
|
|
+ <span style="margin-left: 20px">{{$t(`立账额度`)}}:</span>
|
|
|
+ <el-input type="number" style="width: 100px" v-model="item.amountrate" :placeholder="$t(`请输入`)" :class="{ 'is-error': isErrorInvoiceapply }" @change="checkAmountrate"></el-input>
|
|
|
<span style="margin-left: 5px">%</span>
|
|
|
- <el-checkbox style="margin-left: 20px" v-model="item.iswarranty" true-label="1" false-label="0" >质保金</el-checkbox>
|
|
|
+ <el-checkbox style="margin-left: 20px" v-model="item.iswarranty" true-label="1" false-label="0" >{{$t(`质保金`)}}</el-checkbox>
|
|
|
<el-button v-if="index === list.length -1" type="text" icon="el-icon-plus" style="margin-left: 10px" @click="addList"></el-button>
|
|
|
<el-button v-if="list.length !== 1" type="text" icon="el-icon-delete" style="margin-left: 10px;color: red;" @click="delList(index)"></el-button>
|
|
|
- <p v-if="item.isErrorInvoiceapply" style="color: red;font-size: 12px">立账额度范围(0-100)</p>
|
|
|
+ <p v-if="item.isErrorInvoiceapply" style="color: red;font-size: 12px">{{$t(`立账额度范围(0-100)`)}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|