|
|
@@ -4,13 +4,13 @@
|
|
|
<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: 50px">立账额度:</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: 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: 5px">%</span>
|
|
|
+ <el-checkbox style="margin-left: 20px" v-model="item.iswarranty" true-label="1" false-label="0" >质保金</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="isErrorInvoiceapply" style="color: red;font-size: 12px">立账额度范围(0-100)</p>
|
|
|
- <el-checkbox v-model="item.iswarranty" true-label="1" false-label="0" >质保金</el-checkbox>
|
|
|
+ <p v-if="item.isErrorInvoiceapply" style="color: red;font-size: 12px">立账额度范围(0-100)</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -28,16 +28,19 @@ export default {
|
|
|
{
|
|
|
days:'',
|
|
|
amountrate:'',
|
|
|
+ isErrorInvoiceapply:false
|
|
|
},
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
- checkAmountrate(){},
|
|
|
+ checkAmountrate(val,index){
|
|
|
+ },
|
|
|
addList(){
|
|
|
this.list.push({
|
|
|
days:'',
|
|
|
amountrate:'',
|
|
|
+ isErrorInvoiceapply:false
|
|
|
})
|
|
|
},
|
|
|
delList(index){
|