Explorar el Código

处理物料基本信息详情中辅助属性、辅计量管理、以及利润中心、成本信息等子页签中表格涉及的多选框数据展示效果

002390 hace 2 años
padre
commit
24578077bb
Se han modificado 1 ficheros con 4 adiciones y 5 borrados
  1. 4 5
      src/views/material/basicFile/details.vue

+ 4 - 5
src/views/material/basicFile/details.vue

@@ -241,7 +241,7 @@
                     <template slot-scope="scope">
                       {{ m.attribute == 'select' ? scope.row[`${m.prop}Name`] :
                         (m.attribute == 'checkbox' ?
-                          (scope.row[m.prop] == '0' ? '是' : '否')
+                          (scope.row[m.prop] == '0' ? '√' : '')
                           : scope.row[m.prop])
                       }}
                     </template>
@@ -333,7 +333,7 @@
                         <template slot-scope="scope">
                           {{ v.attribute == 'select' ? scope.row[`${v.prop}Name`] :
                             (v.attribute == 'checkbox' ?
-                              (scope.row[v.prop] == '0' ? '是' : '否')
+                              (scope.row[v.prop] == '0' ? '√' : '')
                               : scope.row[v.prop])
                           }}
                         </template>
@@ -349,7 +349,7 @@
                         <template slot-scope="scope">
                           {{ v.attribute == 'select' ? scope.row[`${v.prop}Name`] :
                             (v.attribute == 'checkbox' ?
-                              (scope.row[v.prop] == '0' ? '是' : '否')
+                              (scope.row[v.prop] == '0' ? '√' : '')
                               : scope.row[v.prop])
                           }}
                         </template>
@@ -1777,10 +1777,9 @@ export default {
       } else if (this.MoreDataDialog.target.name == 'materialType') {
 
         // 物料类别
-
         console.log('确认时选择的数据', this.MoreDataDialog.value);
 
-        this.materialType.value = this.materialType.value.map(m => {
+        this.materialType.value = this.materialType.value.map(m => { 
           if ((m.id && m.id != '' && m.id == _this.MoreDataDialog.target.prop['id']) ||
             (m.insertId && m.insertId == _this.MoreDataDialog.target.prop['insertId'])
           ) {