|
@@ -81,7 +81,7 @@
|
|
|
</el-col>
|
|
|
</el-form-item>
|
|
|
<!-- 发票张数 -->
|
|
|
- <el-form-item :label="$t('invoicenumber')">
|
|
|
+ <el-form-item :label="$t('invoicenumber')" v-if="this.user.timeType.easyExpense==0">
|
|
|
<el-input v-model="addForm.ticketNum" style="width: 150px"></el-input>
|
|
|
</el-form-item>
|
|
|
<!-- 费用主类型 -->
|
|
@@ -139,7 +139,7 @@
|
|
|
</el-date-picker>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="$t('invoices')" width="175px">
|
|
|
+ <el-table-column :label="$t('invoices')" width="175px" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select size="small" v-model="scope.row.invoiceType" :placeholder="$t('pleaseselectthetypeoffee')" style="width: 150px;">
|
|
|
<el-option :label="$t('vATspecialinvoice')" value="0"></el-option>
|
|
@@ -154,22 +154,22 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="$t('amountoffees')" width="135px">
|
|
|
+ <el-table-column :label="this.user.timeType.easyExpense==0?$t('amountoffees'):'费用金额'" width="135px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :id="'upam'+scope.$index" v-model="scope.row.amount" @input="zhi(scope.$index)" @change="shiqu(scope.row.amount)" @keyup.native="restrictNumber('upam'+scope.$index)"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="invoiceNo" :label="$t('invoiceno')" width="135px">
|
|
|
+ <el-table-column prop="invoiceNo" :label="$t('invoiceno')" width="135px" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" v-model.number="scope.row.invoiceNo"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="$t('shui-shuai')" width="135px">
|
|
|
+ <el-table-column :label="$t('shui-shuai')" width="135px" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" type= "number" v-model="scope.row.taxPercent" @input="zhi(scope.$index)"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="$t('taxs')" width="135px">
|
|
|
+ <el-table-column :label="$t('taxs')" width="135px" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" v-model="scope.row.taxValue" @input="zhis(scope.$index)"></el-input>
|
|
|
</template>
|
|
@@ -280,8 +280,8 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createDate" :label="$t('fillinthedate')" ></el-table-column>
|
|
|
- <el-table-column prop="ticketNum" :label="$t('invoicenumber')" ></el-table-column>
|
|
|
- <el-table-column prop="type" :label="$t('ppertype')" >
|
|
|
+ <el-table-column prop="ticketNum" :label="$t('invoicenumber')" v-if="this.user.timeType.easyExpense==0"></el-table-column>
|
|
|
+ <el-table-column prop="type" :label="$t('ppertype')" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
{{scope.row.expenseMainTypeName}}
|
|
|
</template>
|
|
@@ -410,7 +410,7 @@
|
|
|
<span v-else>{{scope.row.happenDate}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="invoiceType" :label="$t('invoices')" width="172">
|
|
|
+ <el-table-column prop="invoiceType" :label="$t('invoices')" width="172" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select size="small" v-if="!flg" v-model="scope.row.invoiceType" :placeholder="$t('pleaseselectthetypeoffee')" style="width: 150px;">
|
|
|
<el-option :label="$t('vATspecialinvoice')" :value="0"></el-option>
|
|
@@ -427,25 +427,25 @@
|
|
|
<span v-else>{{scope.row.expenseType}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="amount" :label="$t('amountoffees')" width="172">
|
|
|
+ <el-table-column prop="amount" :label="this.user.timeType.easyExpense==0?$t('amountoffees'):'费用金额'" width="172">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" v-if="!flg" :id="'am'+scope.$index" v-model="scope.row.amount" @input="zhiNum(scope.$index, scope)" @change="kan" @keyup.native="restrictNumber('am'+scope.$index)"></el-input>
|
|
|
<span v-else>¥{{scope.row.amount}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="invoiceNo" :label="$t('invoiceno')" width="172">
|
|
|
+ <el-table-column prop="invoiceNo" :label="$t('invoiceno')" width="172" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" v-if="!flg" v-model.number="scope.row.invoiceNo"></el-input>
|
|
|
<span v-else>{{scope.row.invoiceNo}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="taxPercent" :label="$t('shui-shuai')" width="172">
|
|
|
+ <el-table-column prop="taxPercent" :label="$t('shui-shuai')" width="172" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" v-if="!flg" v-model="scope.row.taxPercent" @input="zhiNum(scope.$index, scope)"></el-input>
|
|
|
<span v-else>{{scope.row.taxPercent}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="taxValue" :label="$t('taxs')+'('+$t('yuan')+')'" width="172">
|
|
|
+ <el-table-column prop="taxValue" :label="$t('taxs')+'('+$t('yuan')+')'" width="172" v-if="this.user.timeType.easyExpense==0">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" v-if="!flg" v-model="scope.row.taxValue"></el-input>
|
|
|
<span v-else>¥{{scope.row.taxValue}}</span>
|