更新
This commit is contained in:
@@ -20,7 +20,7 @@ const service = axios.create({
|
|||||||
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
|
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
|
||||||
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||||
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||||
baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
|
||||||
// baseURL: `http://localhost:8077/submit/MESCommonBase.ashx`,
|
// baseURL: `http://localhost:8077/submit/MESCommonBase.ashx`,
|
||||||
// baseURL: `http://192.168.0.112:8411/submit/MESCommonBase.ashx`,
|
// baseURL: `http://192.168.0.112:8411/submit/MESCommonBase.ashx`,
|
||||||
timeout: 1500000 // 请求超时时间
|
timeout: 1500000 // 请求超时时间
|
||||||
|
|||||||
@@ -122,7 +122,6 @@
|
|||||||
:data="tableData10"
|
:data="tableData10"
|
||||||
:cell-class-name="cell"
|
:cell-class-name="cell"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
height="440"
|
|
||||||
size="mini"
|
size="mini"
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
border>
|
border>
|
||||||
|
|||||||
@@ -131,6 +131,7 @@
|
|||||||
border>
|
border>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="序号"
|
label="序号"
|
||||||
|
align="center"
|
||||||
type="index"
|
type="index"
|
||||||
width="50"/>
|
width="50"/>
|
||||||
<el-table-column align="center" label="物料名称">
|
<el-table-column align="center" label="物料名称">
|
||||||
|
|||||||
@@ -331,17 +331,22 @@ export default {
|
|||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
},
|
},
|
||||||
requestFund(row) { // 请款
|
requestFund(row) { // 请款
|
||||||
const day1 = new Date()
|
console.log(row.本次应请款)
|
||||||
const day2 = day1.getFullYear() + '-' + (day1.getMonth() + 1) + '-' + day1.getDate()
|
if (row.本次应请款 !== '') {
|
||||||
requestFund(row.采购合同流水号, row.本次应请款, day2, this.id).then(response => {
|
const day1 = new Date()
|
||||||
if (response.data[0].result === '1') {
|
const day2 = day1.getFullYear() + '-' + (day1.getMonth() + 1) + '-' + day1.getDate()
|
||||||
this.$message.success('请款成功')
|
requestFund(row.采购合同流水号, row.本次应请款, day2, this.id).then(response => {
|
||||||
this.searchTable1()
|
if (response.data[0].result === '1') {
|
||||||
this.startRequestDate = ''
|
this.$message.success('请款成功')
|
||||||
this.endRequestDate = ''
|
this.searchTable1()
|
||||||
this.tableData2 = []
|
this.startRequestDate = ''
|
||||||
} else { this.$message.error('请款失败') }
|
this.endRequestDate = ''
|
||||||
})
|
this.tableData2 = []
|
||||||
|
} else { this.$message.error('请款失败') }
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入金额')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
cancelRequestFund(row) { // 取消请款
|
cancelRequestFund(row) { // 取消请款
|
||||||
console.log(row)
|
console.log(row)
|
||||||
|
|||||||
Reference in New Issue
Block a user