jt
2022-08-10 39bd6755805e19b584a24db6f5a4b26c90fb88c4
pages/modal/classAttr.vue
@@ -694,7 +694,7 @@
                     uni.showModal({title:"提示",content:ar.DispName+'不能为空!',showCancel:false,confirmText:"取消"});
                     return;
                  }
                  if(ar.Value=='请选择') ar.Value='';
                  if(ar.Value=='请选择' || ar.Value=='——请选择——') ar.Value='';
                  if(ar.Type=='引用对象(多个)')
                     if(ar.Value=='请') ar.Value='';
                    if(ar.Type=='引用人员' || ar.Type=='引用项目')
@@ -777,7 +777,7 @@
                                    //    dictitemlist.push(dictitem[d].CN_S_NAME);
                                    // }
                                    // ca.dictitemlist = dictitemlist;
                                    ca.Value = ca.dictitem[0].CN_S_NAME;
                                    ca.Value = '请选择';//ca.dictitem[0].CN_S_NAME;
                                 }
                                 if(ca.Type=='日期' || ca.Type=='时间'){
                                    var nowDate = new Date();
@@ -930,7 +930,7 @@
                                             ca.dictitem = dictItemList;
                                             // attr[j].dictitem = val[i].choice_list;
                                          }else{
                                             ca.value = val[i].value;
                                             // ca.value = val[i].value;
                                          }
                                       }
                                    }
@@ -1118,7 +1118,7 @@
               var attr = attrlist[i].Attr;
               for (var j = 0; j < attr.length; j++) {
                  var ar = attr[j];
                  if(ar.Value=='请选择') ar.Value='';
                  if(ar.Value=='请选择' || ar.Value=='——请选择——') ar.Value='';
                  if(ar.Type=='引用对象(多个)')
                     if(ar.Value=='请') ar.Value='';
                    if(ar.Type=='引用人员' || ar.Type=='引用项目')
@@ -1206,7 +1206,6 @@
               var attr = attrlist[i].Attr;
               for (var j = 0; j < attr.length; j++) {
                  var ar = attr[j];
                  if(ar.Value=='请选择') ar.Value='';
                  if(ar.Type=='引用对象(多个)')
                     if(ar.Value=='请') ar.Value='';
                    if(ar.Type=='引用人员' || ar.Type=='引用项目')