Browse Source

dialog组件的修改,在代卖下单。

featrue/v4.5
xpz2018 4 years ago
parent
commit
093003f337
2 changed files with 3 additions and 2 deletions
  1. 4
      pages/agent/edit/index.js
  2. 1
      pages/agent/edit/index.wxml

4
pages/agent/edit/index.js

@ -298,9 +298,9 @@ Page({
return
}
if(!this.data.hasShipmentsInfo){
this.wuxDialog = this.wuxDialog || this.selectComponent('#wux-dialog')
this.wuxDialog2 = this.wuxDialog2 || this.selectComponent('#wux-dialog2')
var that = this
this.wuxDialog.open({
this.wuxDialog2.open({
resetOnClose: true,
title: '温馨提示',
content: '您还没填写发货信息,请填写发货信息。',

1
pages/agent/edit/index.wxml

@ -110,5 +110,6 @@
<picker-time id="picker-time" day="{{5}}" bindcustomevent="onDateChange"></picker-time>
<picker-view id="picker-view" bindcustomevent="onPickerChange"></picker-view>
<wux-dialog id="wux-dialog" />
<wux-dialog id="wux-dialog2" />
<vehicle-keyboard id="wux-keyboard" safeBottom="{{safeBottom}}" bind:change="onPlatenumber"></vehicle-keyboard>
Loading…
Cancel
Save