创建项目页面中新建联系人邮箱字段,完成时间取消必填
This commit is contained in:
parent
7ed320b912
commit
199de33139
@ -565,7 +565,7 @@ Page({
|
|||||||
csaNo: _self.data.csaNo,
|
csaNo: _self.data.csaNo,
|
||||||
name: _self.data.contactName,
|
name: _self.data.contactName,
|
||||||
phone: _self.data.contactPhone,
|
phone: _self.data.contactPhone,
|
||||||
email: _self.data.email
|
email: _self.data.contactEmail
|
||||||
}
|
}
|
||||||
wx.showLoading({
|
wx.showLoading({
|
||||||
title: '创建中...',
|
title: '创建中...',
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="label star">开发完成时间</view>
|
<view class="label">开发完成时间</view>
|
||||||
<view class="select-content" style="align-items: center;padding: 15rpx;">
|
<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">
|
<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 class="select-time {{completeDate ==''? 'value-hint':''}}">{{completeDate != ''? completeDate:'请选择开发完成时间'}}</view>
|
||||||
|
@ -349,6 +349,9 @@ var repairKind = function (kind) {
|
|||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
var phoneNum = function (str, startLength, endLength, replaceStr) {
|
var phoneNum = function (str, startLength, endLength, replaceStr) {
|
||||||
|
if (str == null || str == '') {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
if (str.length <= startLength + endLength) {
|
if (str.length <= startLength + endLength) {
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user