- 时间段:
-
+
+
+
+
+
+
+
+
+
+
合同号:
-
-
- {{ scope.row.采购合同编号 }}
-
-
-
-
- {{ scope.row.采购合同名称 }}
-
-
-
-
- {{ scope.row.规定到货时间 }}
-
-
-
-
- {{ scope.row.供应商名称 }}
-
-
-
-
- {{ scope.row.姓名 }}
-
-
-
-
- {{ scope.row.总金额 }}
-
-
-
-
- {{ scope.row.付款方式内容 }}
-
-
未审批
@@ -106,6 +70,56 @@
不通过审批
+
+
+ {{ scope.row.采购合同编号 }}
+
+
+
+
+ {{ scope.row.采购合同名称 }}
+
+
+
+
+ {{ scope.row.供应商名称 }}
+
+
+
+
+ {{ scope.row.姓名 }}
+
+
+
+
+ {{ scope.row.合同总额 }}
+
+
+
+
+ {{ scope.row.交货日期 }}
+
+
+
+
+ {{ scope.row.支付日期 }}
+
+
+
+
+ {{ scope.row.支付方式 }}
+
+
+
+
+ {{ scope.row.开票信息 }}
+
+
+
+
+ {{ scope.row.其他说明 }}
+
+
{{ scope.row.未通过原因 }}
@@ -124,61 +138,11 @@
@current-change="handleCurrentChange1"/>
-
二维码:
-
-
-
-
-
- | GAOJING |
- 产品销售合同 |
- |
-
-
- | 需方 |
- 江苏高精机电装备有限公司 |
- 合同编号 |
- {{ contract }} |
-
-
- | 供方 |
- {{ supplier }} |
- 签订地点 |
- 江苏盐城 |
-
-
-
一、 产品名称、型号、数量、单价、品牌:
-
-
-
- | 物料名称 |
- 物料规格 |
- 物料型号 |
- 数量 |
- 单价 |
- 总价 |
-
-
-
-
- | 运费: |
- {{ freight }} |
-
-
- | 总价: (人民币){{ RMB }}(含0.17增值税) |
- {{ TotalAmount }} |
-
-
-
-
-
-
-
-
+
附件图:
@@ -233,7 +197,7 @@ export default {
pageSize1: 10,
tableData1: [],
loading1: false,
- returns: [],
+ returns: '',
tableData01: [],
tableData02: [],
submitDisable: true,
@@ -318,25 +282,10 @@ export default {
}
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.personValue, this.check4, this.supplierName, this.check5, this.approvalValue).then(response => {
this.loading1 = false
- for (let j = 0; j < response.data.rows.length; j++) {
- if (response.data.rows[j].操作日期 !== null) {
- response.data.rows[j].操作日期 = response.data.rows[j].操作日期.substring(0, response.data.rows[j].操作日期.indexOf(' '))
- }
- if (response.data.rows[j].规定到货时间 !== null) {
- response.data.rows[j].规定到货时间 = response.data.rows[j].规定到货时间.substring(0, response.data.rows[j].规定到货时间.indexOf(' '))
- }
- }
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
- tableRowClassName({ row, rowIndex }) {
- // if (row.审批情况流水号 === '1') {
- // return 'adopt'
- // } else if (row.审批情况流水号 === '2') {
- // return 'NotThrough'
- // }
- },
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
@@ -348,40 +297,10 @@ export default {
},
searchTable2(row) {
this.useqrcode(row.采购合同流水号)
- this.textarea = row.合同文本
- this.supplier = row.供应商名称
- this.contract = row.采购合同编号
this.searchPic() // 显示图片
- this.freight = parseInt(row.总金额) - parseInt(row.总金额_小计)
- this.RMB = row.总金额_文本
- this.TotalAmount = row.总金额
- document.getElementById('23').innerText = this.textarea
this.contractValue = parseInt(row.采购合同流水号)
searchTable2(this.contractValue).then(response => {
- this.returns = response.data
- const children = document.getElementsByClassName('tableData')
- const parent = document.getElementById('4')
- if (children.length !== 0) {
- for (let i = children.length - 1; i >= 0; i--) {
- parent.removeChild(children[i])
- }
- }
- const tr = []
- for (let i = 0; i < this.returns.length; i++) {
- tr[i] = document.createElement('tr')
- tr[i].setAttribute('class', 'tableData')
- tr[i].innerHTML = ' | ' + ' | ' + ' | ' +
- ' | ' + ' | ' + ' | '
- document.getElementById('tableHead').after(tr[i])
- }
- for (let j = 0; j < this.returns.length; j++) {
- document.getElementsByClassName('tableData')[j].children[0].innerHTML = response.data[j].物料名称
- document.getElementsByClassName('tableData')[j].children[1].innerHTML = response.data[j].物料规格
- document.getElementsByClassName('tableData')[j].children[2].innerHTML = response.data[j].物料型号
- document.getElementsByClassName('tableData')[j].children[3].innerHTML = response.data[j].数量
- document.getElementsByClassName('tableData')[j].children[4].innerHTML = response.data[j].单价
- document.getElementsByClassName('tableData')[j].children[5].innerHTML = response.data[j].金额
- }
+ this.returns = response.data[0].合同内容
})
}
}