|
|
@@ -344,15 +344,7 @@
|
|
|
</picker>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
|
- <view class="tui-title">账单日期</view>
|
|
|
- <view class="uni-input" v-if="form.historyDate==''" @click="bindHistoryDateChange">
|
|
|
- <view style="width:410upx;font-size:32upx;color:#CCCCCC;">默认当天</view>
|
|
|
- </view>
|
|
|
- <view class="uni-input" @click="bindHistoryDateChange">
|
|
|
- <view style="width:410upx;font-size:32upx;">{{form.historyDate}}</view>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
+ <!-- 账单日期入口已下线:固定走当天,historyDate 仍传空字符串给后端;后端逻辑暂不动 -->
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title">备注</view>
|
|
|
@@ -504,10 +496,7 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
- <!-- 账单日期选择器蒙板 -->
|
|
|
- <view v-if="showPicker" class="date-picker-mask" @click="showPicker = false"></view>
|
|
|
-
|
|
|
- <mx-date-picker :show="showPicker" format="yyyy-mm-dd" type="date" :value="defaultPickerDate" :show-tips="true" @confirm="confirmPicker" @cancel="showPicker = false" />
|
|
|
+ <!-- 账单日期选择器已随入口下线移除,仅保留配送日期选择 -->
|
|
|
|
|
|
<!-- 配送日期选择器蒙板 -->
|
|
|
<view v-if="reachDatePickerShow" class="date-picker-mask" @click="reachDatePickerShow = false"></view>
|
|
|
@@ -552,8 +541,6 @@ export default {
|
|
|
mixins: [productMins],
|
|
|
data () {
|
|
|
return {
|
|
|
- defaultPickerDate:'',
|
|
|
- showPicker: false,
|
|
|
reachDatePickerShow: false,
|
|
|
reachDatePickerValue: '',
|
|
|
discountList:[{name:'1折',value:0.1},{name:'2折',value:0.2},{name:'3折',value:0.3},{name:'4折',value:0.4},{name:'5折',value:0.5},{name:'6折',value:0.6},{name:'7折',value:0.7},{name:'8折',value:0.8},{name:'9折',value:0.9},{name:'不打折',value:1}],
|
|
|
@@ -1047,13 +1034,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- bindHistoryDateChange(){
|
|
|
- this.showPicker = true
|
|
|
- },
|
|
|
- confirmPicker(e) {
|
|
|
- this.form.historyDate = e.value
|
|
|
- this.showPicker = false
|
|
|
- },
|
|
|
+ // 账单日期入口已下线:不再打开日期选择器,提交仍带空 historyDate(后端按当天处理)
|
|
|
bindReachDateChange(){
|
|
|
this.reachDatePickerShow = true
|
|
|
this.reachDatePickerValue = this.form.reachDate
|