|
@@ -252,16 +252,16 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="业务开始日期" prop="accountDateFrom">
|
|
|
- <el-date-picker v-model="form.accountDateFrom" clearable
|
|
|
+ <el-form-item label="业务开始日期" prop="businessDateStart">
|
|
|
+ <el-date-picker v-model="form.businessDateStart" clearable
|
|
|
style="width: 100%;" type="date" size="small" :disabled="editSave"
|
|
|
value-format="yyyy-MM-dd" placeholder="选择业务日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="业务结束日期" prop="accountDateTo">
|
|
|
- <el-date-picker v-model="form.accountDateTo" clearable style="width: 100%;"
|
|
|
+ <el-form-item label="业务结束日期" prop="businessDateEnd">
|
|
|
+ <el-date-picker v-model="form.businessDateEnd" clearable style="width: 100%;"
|
|
|
type="date" size="small" :disabled="editSave" value-format="yyyy-MM-dd"
|
|
|
placeholder="选择业务日期">
|
|
|
</el-date-picker>
|
|
@@ -731,11 +731,11 @@ export default {
|
|
|
obj.invoiceDate = this.form.invoiceDate.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
// 业务日期
|
|
|
- if (this.form.accountDateFrom) {
|
|
|
- obj.accountDateFrom = this.form.accountDateFrom.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateStart) {
|
|
|
+ obj.businessDateStart = this.form.businessDateStart.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
- if (this.form.accountDateTo) {
|
|
|
- obj.accountDateTo = this.form.accountDateTo.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateEnd) {
|
|
|
+ obj.businessDateEnd = this.form.businessDateEnd.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
for (let item of this.handleSelectionData) {
|
|
|
// 拿未开票的数据
|
|
@@ -774,11 +774,11 @@ export default {
|
|
|
obj.invoiceDate = this.form.invoiceDate.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
// 业务日期
|
|
|
- if (this.form.accountDateFrom) {
|
|
|
- obj.accountDateFrom = this.form.accountDateFrom.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateStart) {
|
|
|
+ obj.businessDateStart = this.form.businessDateStart.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
- if (this.form.accountDateTo) {
|
|
|
- obj.accountDateTo = this.form.accountDateTo.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateEnd) {
|
|
|
+ obj.businessDateEnd = this.form.businessDateEnd.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
for (let item of this.handleSelectionData) {
|
|
|
// 拿未开票的数据
|
|
@@ -1088,11 +1088,11 @@ export default {
|
|
|
this.form.invoiceDate = this.form.invoiceDate.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
// 业务日期
|
|
|
- if (this.form.accountDateFrom) {
|
|
|
- this.form.accountDateFrom = this.form.accountDateFrom.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateStart) {
|
|
|
+ this.form.businessDateStart = this.form.businessDateStart.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
- if (this.form.accountDateTo) {
|
|
|
- this.form.accountDateTo = this.form.accountDateTo.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateEnd) {
|
|
|
+ this.form.businessDateEnd = this.form.businessDateEnd.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
if (this.form.id) {
|
|
|
this.form.finInvoicesItemsList = this.form.finInvoicesItemsList.map(item => {
|
|
@@ -1164,11 +1164,11 @@ export default {
|
|
|
},
|
|
|
finstlbillslistAccBillByCorpfun() {
|
|
|
let obj = {}
|
|
|
- if (this.form.accountDateFrom) {
|
|
|
- obj.accountDateFrom = this.form.accountDateFrom.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateStart) {
|
|
|
+ obj.businessDateStart = this.form.businessDateStart.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
- if (this.form.accountDateTo) {
|
|
|
- obj.accountDateTo = this.form.accountDateTo.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateEnd) {
|
|
|
+ obj.businessDateEnd = this.form.businessDateEnd.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
obj.type = '3'
|
|
|
obj.billNo = this.form.businessNo // 业务编号
|
|
@@ -1203,11 +1203,11 @@ export default {
|
|
|
obj.invoiceDate = this.form.invoiceDate.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
// 业务日期
|
|
|
- if (this.form.accountDateFrom) {
|
|
|
- obj.accountDateFrom = this.form.accountDateFrom.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateStart) {
|
|
|
+ obj.businessDateStart = this.form.businessDateStart.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
- if (this.form.accountDateTo) {
|
|
|
- obj.accountDateTo = this.form.accountDateTo.slice(0, 10) + ' 00:00:00'
|
|
|
+ if (this.form.businessDateEnd) {
|
|
|
+ obj.businessDateEnd = this.form.businessDateEnd.slice(0, 10) + ' 00:00:00'
|
|
|
}
|
|
|
|
|
|
obj.type = '3'
|
|
@@ -1260,7 +1260,7 @@ export default {
|
|
|
if (arr.length == 0) {
|
|
|
this.$message.warning('当前检索暂无数据!')
|
|
|
}
|
|
|
- this.tableData· = arr
|
|
|
+ this.tableData = arr
|
|
|
}
|
|
|
})
|
|
|
} else {
|