Browse Source

修改bug

chenrui 2 years ago
parent
commit
c37beccaf7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/productManagement/productInfo/offlineImportModal.vue

+ 4 - 0
src/views/productManagement/productInfo/offlineImportModal.vue

@@ -148,6 +148,10 @@ export default {
   methods: {
     productCodeChange (val, row) {
       row.commonSn = val.key
+      if (val && val.row) {
+        console.log('11111111111111:', val.row)
+        row.commonCode = val.row.code
+      }
     },
     getData () {
       const _this = this