Ver código fonte

fix:兼容八目相机

jinx 4 anos atrás
pai
commit
04cbf8ca26
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      src/page/edition/index.vue

+ 4 - 2
src/page/edition/index.vue

@@ -79,6 +79,7 @@ export default {
 
   data () {
     return {
+      type: 1, // 1八目,2双目,不传默认八目 3:转台相机 4:激光
       active: null,
       colors: [
         '#08e2c0', '#39bafe', '#fce439', '#fda000', '#f96d6c'
@@ -184,7 +185,7 @@ export default {
     },
     async updateAduitStatus (id, status) {
       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)
     },
     async updateMaker () {
@@ -304,7 +305,8 @@ export default {
 
       let para = {
         pageNum: page - 1,
-        type: status,
+        // type: status,
+        type: this.type,
         startDate: date1,
         endDate: date2,
         itemName: orderNum || '',