|
@@ -184,7 +184,7 @@ export default {
|
|
|
},
|
|
|
async updateAduitStatus (id, state) {
|
|
|
let m = state === 'A' ? 'I' : 'A'
|
|
|
- let data = (await this.$http.get('/manager/goods/version/update/' + id + '/' + m))
|
|
|
+ (await this.$http.get('/manager/goods/version/update/' + id + '/' + m))
|
|
|
this._searchOrderData(this.currentPage)
|
|
|
},
|
|
|
async updateMaker () {
|
|
@@ -288,15 +288,15 @@ export default {
|
|
|
|
|
|
async _searchOrderData (page) {
|
|
|
this.hasClickSearch = true
|
|
|
- let date1, date2, userName, expressNum, orderNum
|
|
|
+ let date1, date2, orderNum
|
|
|
this.date1 = this.searchDate ? this.searchDate[0] : null
|
|
|
this.date2 = this.searchDate ? this.searchDate[1] : null
|
|
|
date1 = this.date1 ? (this.date1 + ' 00:00:00') : null
|
|
|
date2 = this.date2 ? (this.date2 + ' 23:59:59') : null
|
|
|
|
|
|
- this.userName = userName = this.searchPhone || null
|
|
|
- this.expressNum = expressNum = this.searchExpressNum || null
|
|
|
- this.orderNum = orderNum = this.searchOrderNumber || null
|
|
|
+ this.userName = this.searchPhone || null
|
|
|
+ this.expressNum = this.searchExpressNum || null
|
|
|
+ this.orderNum = this.searchOrderNumber || null
|
|
|
|
|
|
// console.log(searchDate,searchPhone,searchExpressNum,searchOrderNumber)
|
|
|
this.fullscreenLoading = true
|
|
@@ -357,7 +357,6 @@ export default {
|
|
|
this.userName = userName = this.searchPhone || null
|
|
|
this.expressNum = expressNum = this.searchExpressNum || null
|
|
|
this.orderNum = orderNum = this.searchOrderNumber || null
|
|
|
- let status = this.status
|
|
|
|
|
|
let data = {
|
|
|
'type': this.status,
|