|
|
@ -16,10 +16,14 @@ |
|
|
|
<div class="titwu">发票信息</div> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02"> |
|
|
|
<el-row style="border-top: 1px solid #E0E3EB"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="16"> |
|
|
|
<div class="span-sty">开票单位</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.invoiceTitle }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">申请人</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.name }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
@ -37,43 +41,45 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票类型</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.invoiceType }}</span></el-form-item> |
|
|
|
<div class="span-sty">业务状态</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.businessState }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票金额</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.invoiceAmount }}</span></el-form-item> |
|
|
|
<div class="span-sty">是否领票</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票状态</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.billingState }}</span></el-form-item> |
|
|
|
<div class="span-sty">发票状态</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.isTakeTicket }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">开票名称</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.invoicingName }}</span></el-form-item> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票类型</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.invoiceType }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty">开票人</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.name }}</span></el-form-item> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票金额</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.invoiceAmount }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>开票日期</div> |
|
|
|
<el-form-item><el-date-picker v-model="formobj.createTime" class="addinputw" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/></el-form-item> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票人</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.drawer }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>发票号</div> |
|
|
|
<el-form-item><el-input v-model="formobj.invoiceNo" clearable class="addinputw" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>发票代码</div> |
|
|
|
<el-form-item><el-input v-model="formobj.invoiceCode" clearable class="addinputw" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>开票日期</div> |
|
|
|
<el-form-item><el-date-picker v-model="formobj.createTime" class="addinputw" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
@ -169,6 +175,9 @@ export default { |
|
|
|
createTime: '', |
|
|
|
invoiceNo: '', |
|
|
|
invoiceCode: '', |
|
|
|
businessState: '', |
|
|
|
isTakeTicket: '', |
|
|
|
drawer: '', |
|
|
|
filePaths: [], |
|
|
|
billingFilePaths: [], |
|
|
|
certificatePaths: [], |
|
|
@ -187,6 +196,16 @@ export default { |
|
|
|
fetchDetailsBySid(sid).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj = res.data |
|
|
|
this.formobj.drawer = window.sessionStorage.getItem('name') |
|
|
|
if (this.formobj.createTime === '') { |
|
|
|
var nowDate = new Date() |
|
|
|
var date = { |
|
|
|
year: nowDate.getFullYear(), |
|
|
|
month: nowDate.getMonth() + 1, |
|
|
|
day: nowDate.getDate() |
|
|
|
} |
|
|
|
this.formobj.createTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) |
|
|
|
} |
|
|
|
if (this.formobj.filePaths.length > 0) { |
|
|
|
for (var i = 0; i < this.formobj.filePaths.length; i++) { |
|
|
|
this.diploma_list.push({ |
|
|
|