|
@@ -236,18 +236,11 @@
|
|
|
</search-query>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="费用名称" prop="feeCnName">
|
|
|
- <dic-select v-model="form.feeCnName" placeholder="费用名称" key="id"
|
|
|
- label="cnName" url="/blade-los/bfees/listAll" :filterable="true"
|
|
|
- :multiple="true" :collapseTags="true" :disabled="editSave"></dic-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="税控发票号" prop="taxInvoiceNo">
|
|
|
- <el-input style="width: 100%;" v-model="form.taxInvoiceNo" size="small"
|
|
|
- autocomplete="off" :disabled="editSave" clearable
|
|
|
- placeholder="请输入税控发票号">
|
|
|
+ <el-col :span="16">
|
|
|
+ <el-form-item label="全电发票" prop="elecRemarks">
|
|
|
+ <el-input style="width: 100%;" v-model="form.elecRemarks" size="small"
|
|
|
+ :autosize="{ minRows: 1, maxRows: 2 }" autocomplete="off" type="textarea"
|
|
|
+ clearable placeholder="请输入全电发票备注">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -364,13 +357,22 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="全电发票:" prop="elecRemarks">
|
|
|
- <el-input style="width: 100%;" v-model="form.elecRemarks" size="small"
|
|
|
- autocomplete="off" type="textarea" clearable placeholder="请输入全电发票备注">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="费用名称" prop="feeCnName">
|
|
|
+ <dic-select v-model="form.feeCnName" placeholder="费用名称" key="id"
|
|
|
+ label="cnName" url="/blade-los/bfees/listAll" :filterable="true"
|
|
|
+ :multiple="true" :collapseTags="true" :disabled="editSave"></dic-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="16">
|
|
|
+ <el-form-item label="税控发票号" prop="taxInvoiceNo">
|
|
|
+ <el-input style="width: 100%;" v-model="form.taxInvoiceNo" size="small"
|
|
|
+ autocomplete="off" :disabled="editSave" clearable
|
|
|
+ placeholder="请输入税控发票号">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -1342,10 +1344,10 @@ export default {
|
|
|
this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.split(',') : []
|
|
|
this.tableData = this.form.finInvoicesItemsList.map(item => {
|
|
|
if (item.currentCurCode == 'CNY') {
|
|
|
- this.$set(item, 'currentAmountCNY', Number(item.currentAmount?item.currentAmount:0))
|
|
|
- this.$set(item, 'currentAmountUSD', Number(0))
|
|
|
+ this.$set(item, 'currentAmountCNY', Number(item.currentAmount ? item.currentAmount : 0))
|
|
|
+ this.$set(item, 'currentAmountUSD', Number(0))
|
|
|
} else {
|
|
|
- this.$set(item, 'currentAmountUSD', Number(item.currentAmount?item.currentAmount:0))
|
|
|
+ this.$set(item, 'currentAmountUSD', Number(item.currentAmount ? item.currentAmount : 0))
|
|
|
this.$set(item, 'currentAmountCNY', Number(0))
|
|
|
}
|
|
|
return item
|
|
@@ -1372,10 +1374,10 @@ export default {
|
|
|
if (Array.isArray(this.form.finInvoicesItemsList)) {
|
|
|
this.tableData = this.form.finInvoicesItemsList.map(item => {
|
|
|
if (item.currentCurCode == 'CNY') {
|
|
|
- item.currentAmountCNY = Number(item.currentAmount?item.currentAmount:0)
|
|
|
+ item.currentAmountCNY = Number(item.currentAmount ? item.currentAmount : 0)
|
|
|
item.currentAmountUSD = Number(0)
|
|
|
} else {
|
|
|
- item.currentAmountUSD = Number(item.currentAmount?item.currentAmount:0)
|
|
|
+ item.currentAmountUSD = Number(item.currentAmount ? item.currentAmount : 0)
|
|
|
item.currentAmountCNY = Number(0)
|
|
|
}
|
|
|
|