|
@@ -79,6 +79,7 @@ export default {
|
|
|
|
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
|
|
+ type: 1, // 1八目,2双目,不传默认八目 3:转台相机 4:激光
|
|
active: null,
|
|
active: null,
|
|
colors: [
|
|
colors: [
|
|
'#08e2c0', '#39bafe', '#fce439', '#fda000', '#f96d6c'
|
|
'#08e2c0', '#39bafe', '#fce439', '#fda000', '#f96d6c'
|
|
@@ -184,7 +185,7 @@ export default {
|
|
},
|
|
},
|
|
async updateAduitStatus (id, status) {
|
|
async updateAduitStatus (id, status) {
|
|
let m = status === 'A' ? 'I' : 'A'
|
|
let m = status === 'A' ? 'I' : 'A'
|
|
- let data = (await this.$http.get('/manager/goods/version/update/' + id + '/' + m))
|
|
|
|
|
|
+ let data = (await this.$http.get('/manager/goods/version/update/' + id + '/' + m + '/' + this.type))
|
|
this._searchOrderData(this.currentPage)
|
|
this._searchOrderData(this.currentPage)
|
|
},
|
|
},
|
|
async updateMaker () {
|
|
async updateMaker () {
|
|
@@ -304,7 +305,8 @@ export default {
|
|
|
|
|
|
let para = {
|
|
let para = {
|
|
pageNum: page - 1,
|
|
pageNum: page - 1,
|
|
- type: status,
|
|
|
|
|
|
+ // type: status,
|
|
|
|
+ type: this.type,
|
|
startDate: date1,
|
|
startDate: date1,
|
|
endDate: date2,
|
|
endDate: date2,
|
|
itemName: orderNum || '',
|
|
itemName: orderNum || '',
|