Browse Source

no message

linwenxin 1 year ago
parent
commit
48b37f851f

+ 4 - 0
src/views/workOrder/workOrderPool/detailModule/workOrderInfo/mixins/productColumns.js

@@ -85,9 +85,12 @@ export default {
                   onChange={(val) => {
                     if (val) {
                       var data = this.classifyListLv2.find(item => item.categoryId == val)
+                      console.log(data)
                       row.smallName = data.name
+                      row.imgUrl = data.imgUrl
                     } else {
                       row.smallName = ""
+                      row.imgUrl = ""
                     }
                   }}
                   placeholder="请选择">
@@ -230,6 +233,7 @@ export default {
                         "remark": "",
                         "smallId": "",
                         "smallName": "",
+                        "imgUrl": ""
                       })
                     }
                   })