创建项目页面中新建联系人邮箱字段,完成时间取消必填

This commit is contained in:
itgaojian163 2025-05-15 16:57:35 +08:00
parent 7ed320b912
commit 199de33139
3 changed files with 5 additions and 2 deletions

View File

@ -565,7 +565,7 @@ Page({
csaNo: _self.data.csaNo,
name: _self.data.contactName,
phone: _self.data.contactPhone,
email: _self.data.email
email: _self.data.contactEmail
}
wx.showLoading({
title: '创建中...',

View File

@ -53,7 +53,7 @@
</view>
</view>
<view class="item">
<view class="label star">开发完成时间</view>
<view class="label">开发完成时间</view>
<view class="select-content" style="align-items: center;padding: 15rpx;">
<picker mode="date" style="flex:1;" value="{{date}}" start="2010-01-01" end="2050-01-01" bindchange="bindDateChange">
<view class="select-time {{completeDate ==''? 'value-hint':''}}">{{completeDate != ''? completeDate:'请选择开发完成时间'}}</view>

View File

@ -349,6 +349,9 @@ var repairKind = function (kind) {
return str
}
var phoneNum = function (str, startLength, endLength, replaceStr) {
if (str == null || str == '') {
return ''
}
if (str.length <= startLength + endLength) {
return str;
}