|
@@ -40,10 +40,15 @@ Page({
|
|
|
const that = this;
|
|
|
that.setData({ 'form.end_time': e.detail.value });
|
|
|
},
|
|
|
+
|
|
|
+ dateChange: function (e) {
|
|
|
+ const that = this;
|
|
|
+ that.setData({ 'form.sign_date': e.detail.value });
|
|
|
+ },
|
|
|
|
|
|
- signendChange: function (e) {
|
|
|
+ timeChange: function (e) {
|
|
|
const that = this;
|
|
|
- that.setData({ 'form.sign_end_time': e.detail.value });
|
|
|
+ that.setData({ 'form.sign_time': e.detail.value });
|
|
|
},
|
|
|
|
|
|
imgUpl: function (e) {
|
|
@@ -62,6 +67,7 @@ Page({
|
|
|
onSubmit: async function (e) {
|
|
|
const that = this;
|
|
|
const params = e.detail.value;
|
|
|
+ params.sign_end_time = params.sign_date + '-' + params.sign_time;
|
|
|
const logo = that.data.logo;
|
|
|
if (!this.WxValidate.checkForm(params)) {
|
|
|
const error = this.WxValidate.errorList[0];
|