|
@@ -3,7 +3,7 @@
|
|
<div class="">
|
|
<div class="">
|
|
<div style="height: 100%" class="content">
|
|
<div style="height: 100%" class="content">
|
|
<el-row class="content1">
|
|
<el-row class="content1">
|
|
- <el-col style="padding-left: 15px" :span="16">
|
|
|
|
|
|
+ <el-col style="padding-left: 15px; width:40%" :span="16">
|
|
<ws-button type="primary" v-hasPermission="`report.goodsSaleOutReport.carry`" @click="adopt()">备注
|
|
<ws-button type="primary" v-hasPermission="`report.goodsSaleOutReport.carry`" @click="adopt()">备注
|
|
</ws-button>
|
|
</ws-button>
|
|
<ws-button type="primary" v-hasPermission="`report.goodsSaleOutReport.draw`" @click="depositbutton()">定金
|
|
<ws-button type="primary" v-hasPermission="`report.goodsSaleOutReport.draw`" @click="depositbutton()">定金
|
|
@@ -13,6 +13,11 @@
|
|
<ws-button type="primary" @click="handleinvoice()">开发票
|
|
<ws-button type="primary" @click="handleinvoice()">开发票
|
|
</ws-button>
|
|
</ws-button>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col style="text-align: right; line-height: 60px; width:400px" :span="8">
|
|
|
|
+ <el-date-picker style="margin: 0 10px 0 0" value-format='yyyy-MM-dd' v-model="value2" @change='datechange'
|
|
|
|
+ type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="起始时间"
|
|
|
|
+ end-placeholder="截止时间">
|
|
|
|
+ </el-date-picker></el-col>
|
|
<el-col style="text-align: right; line-height: 60px; padding-right: 10px" :span="8">
|
|
<el-col style="text-align: right; line-height: 60px; padding-right: 10px" :span="8">
|
|
<el-select v-model="contractNo" placeholder="请选择合同" clearable filterable @change="contractchange"
|
|
<el-select v-model="contractNo" placeholder="请选择合同" clearable filterable @change="contractchange"
|
|
maxlength="500" type="input" class="findValue">
|
|
maxlength="500" type="input" class="findValue">
|
|
@@ -451,6 +456,9 @@
|
|
id: '',
|
|
id: '',
|
|
invoiceType: '',
|
|
invoiceType: '',
|
|
},
|
|
},
|
|
|
|
+ value2: [],
|
|
|
|
+ startDate: '',
|
|
|
|
+ endDate: '',
|
|
orderList: {},
|
|
orderList: {},
|
|
options: [],
|
|
options: [],
|
|
contractNoList: [],
|
|
contractNoList: [],
|
|
@@ -534,6 +542,18 @@
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ datechange() {
|
|
|
|
+ if(this.value2){
|
|
|
|
+ this.startDate = this.value2[0]
|
|
|
|
+ this.endDate = this.value2[1]
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ this.startDate = ''
|
|
|
|
+ this.endDate = ''
|
|
|
|
+ }
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
|
|
+
|
|
handleinvoice(){
|
|
handleinvoice(){
|
|
if(this.modification.length==0){
|
|
if(this.modification.length==0){
|
|
this.$message({
|
|
this.$message({
|
|
@@ -607,7 +627,6 @@
|
|
},
|
|
},
|
|
handleRowClick() {},
|
|
handleRowClick() {},
|
|
handleClick(tab, event) {
|
|
handleClick(tab, event) {
|
|
- console.log(tab);
|
|
|
|
this.activeName = tab.name
|
|
this.activeName = tab.name
|
|
if (this.activeName == '退库') {
|
|
if (this.activeName == '退库') {
|
|
this.tranType = '退库'
|
|
this.tranType = '退库'
|
|
@@ -642,9 +661,8 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log(this.orderList.tranTaskInfoList)
|
|
|
|
- this.activeName = this.tranProcessInfo[0].name
|
|
|
|
- this.tranType = this.tranProcessInfo[0].tranType
|
|
|
|
|
|
+ this.activeName = this.tranProcessInfo.name
|
|
|
|
+ this.tranType = this.tranProcessInfo.tranType
|
|
if (this.contractNoList[i].depositUrl) {
|
|
if (this.contractNoList[i].depositUrl) {
|
|
this.addressUrlArray = this.contractNoList[i].depositUrl.split(',')
|
|
this.addressUrlArray = this.contractNoList[i].depositUrl.split(',')
|
|
} else {
|
|
} else {
|
|
@@ -1094,6 +1112,8 @@
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
searchType: this.searchType,
|
|
searchType: this.searchType,
|
|
|
|
+ startDate: this.startDate,
|
|
|
|
+ endDate: this.endDate,
|
|
contractNo: this.contractNo,
|
|
contractNo: this.contractNo,
|
|
}
|
|
}
|
|
if (type == 1) {
|
|
if (type == 1) {
|