@@ -145,21 +145,21 @@
< td colspan = "1" align = "center" > 单价 < / td >
< td colspan = "1" align = "center" > 总价 < / td >
< / tr >
< / tbody >
< / table >
< hr >
< table id = "2" cellspacing = "0px" align = "center" border width = "100%" style = "" >
< tbody id = "4" >
< tr id = "tableHead" style = "height: 40px" >
< td colspan = "1" align = "center" > 物料名称 < / td >
< td colspan = "1" align = "center" > 物料规格 < / td >
< td colspan = "1" align = "center" > 物料型号 < / td >
< td colspan = "1" align = "center" > 交货期 < / td >
< td colspan = "1" align = "center" > 备注 < / td >
< td colspan = "1" align = "center" > 数量 < / td >
< td colspan = "1" align = "center" > 单价 < / td >
< td colspan = "1" align = "center" > 总价 < / td >
< / tr >
<!-- < / tbody > -- >
<!-- < / table > -- >
<!-- < hr > -- >
<!-- < table id = "2" cellspacing = "0px" align = "center" border width = "100%" style = "" > -- >
<!-- & lt ; ! & ndash ; < tbody id = "4" > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < tr id = "tableHead" style = "height: 40px" > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 物料名称 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 物料规格 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 物料型号 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 交货期 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 备注 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 数量 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 单价 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < td colspan = "1" align = "center" > 总价 < / td > & ndash ; & gt ; -- >
<!-- & lt ; ! & ndash ; < / tr > & ndash ; & gt ; -- >
< / tbody >
< tfoot >
< tr style = "height: 40px" >
@@ -172,7 +172,7 @@
< / tr >
< / tfoot >
< / table >
< div style = "line-height: 30px" > 以上价格为含税增值税价格 , 供方开具真实有效的16 % 增值税发票 < / div >
< div style = "line-height: 30px" > 以上价格为含税增值税价格 , 供方开具真实有效的{ { taxRate } } 增值税发票 < / div >
< div id = "23" style = "line-height: 30px" / >
< table id = "66" cellspacing = "0px" align = "center" border width = "100%" style = "margin-top: 30px" >
< tbody id = "67" >
@@ -204,36 +204,36 @@
< th style = "width: 15%" > 电话 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< / tr >
< tr style = "height: 35px" >
< th style = "width: 15%" > 传真 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< th style = "width: 15%" > 传真 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< / tr >
< tr style = "height: 35px" >
< th style = "width: 15%" > 开户银行 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< th style = "width: 15%" > 开户银行 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< / tr >
< tr style = "height: 35px" >
< th style = "width: 15%" > 账号 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< th style = "width: 15%" > 账号 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< / tr >
< tr style = "height: 35px" >
< th style = "width: 15%" > 税号 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< th style = "width: 15%" > 税号 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< / tr >
< tr style = "height: 35px" >
< th style = "width: 15%" > 邮政编码 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< th style = "width: 15%" > 邮政编码 < / th >
< td style = "width: 35%" colspan = "3" align = "center" / >
< / tr >
<!-- < tr style = "height: 35px" > -- >
<!-- < th style = "width: 15%" > 传真 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < th style = "width: 15%" > 传真 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < / tr > -- >
<!-- < tr style = "height: 35px" > -- >
<!-- < th style = "width: 15%" > 开户银行 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < th style = "width: 15%" > 开户银行 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < / tr > -- >
<!-- < tr style = "height: 35px" > -- >
<!-- < th style = "width: 15%" > 账号 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < th style = "width: 15%" > 账号 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < / tr > -- >
<!-- < tr style = "height: 35px" > -- >
<!-- < th style = "width: 15%" > 税号 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < th style = "width: 15%" > 税号 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < / tr > -- >
<!-- < tr style = "height: 35px" > -- >
<!-- < th style = "width: 15%" > 邮政编码 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < th style = "width: 15%" > 邮政编码 < / th > -- >
<!-- < td style = "width: 35%" colspan = "3" align = "center" / > -- >
<!-- < / tr > -- >
< / tbody >
< / table >
< div style = "line-height: 25px;margin-top: 10px" > 签订时间 : _ _ _ _年 _ _月 _ _日 < / div >
@@ -449,8 +449,13 @@ export default {
this . contract = row . 采购合同编号
this . taxRate = row . 税率
this . RMB = row . 总金额 _文本
this . TotalAmount = row . 总金额
this . TotalAmount1 = parseInt ( ( row . 含税总金额 ) * 100 ) / 100
if ( row . 总金额 === '0' ) {
this . TotalAmount = ''
this . TotalAmount1 = ''
} else {
this . TotalAmount = row . 总金额
this . TotalAmount1 = parseInt ( ( row . 含税总金额 ) * 100 ) / 100
}
this . RMB1 = row . 含税总金额 _文本
document . getElementById ( '23' ) . innerText = this . textarea
this . contractValue = parseInt ( row . 采购合同流水号 )
@@ -481,7 +486,7 @@ export default {
tr [ i ] . setAttribute ( 'class' , 'tableData' )
tr [ i ] . innerHTML = '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' +
'<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>'
document . getElementById ( 'tableHead' ) . after ( tr [ i ] )
$ ( '# tableHead' ) . after ( tr [ i ] )
}
for ( let j = 0 ; j < this . returns . length ; j ++ ) {
document . getElementsByClassName ( 'tableData' ) [ j ] . children [ 0 ] . innerHTML = response . data [ j ] . 物料名称
@@ -509,9 +514,18 @@ export default {
tr [ i ] . setAttribute ( 'class' , 'tableData1' )
tr [ i ] . innerHTML = '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' +
'<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>'
document . getElementById ( 'tableHead1' ) . after ( tr [ i ] )
$ ( '# tableHead1' ) . after ( tr [ i ] )
}
for ( let j = 0 ; j < this . returns1 . length ; j ++ ) {
if ( response . data [ j ] . 备注 === null ) {
response . data [ j ] . 备注 = ''
}
if ( response . data [ j ] . 单价 === 0 ) {
response . data [ j ] . 单价 = ''
}
if ( response . data [ j ] . 金额 === 0 ) {
response . data [ j ] . 金额 = ''
}
document . getElementsByClassName ( 'tableData1' ) [ j ] . children [ 0 ] . innerHTML = response . data [ j ] . 物料名称
document . getElementsByClassName ( 'tableData1' ) [ j ] . children [ 1 ] . innerHTML = response . data [ j ] . 零件图号
document . getElementsByClassName ( 'tableData1' ) [ j ] . children [ 2 ] . innerHTML = response . data [ j ] . 材料