|
@@ -171,6 +171,14 @@
|
|
|
<text v-if="modifyPrice > 0 && modifyPrice < finalPrice" style="font-size:25upx;margin-left:20upx;color:green;">优惠 ¥{{parseFloat((finalPrice-modifyPrice).toFixed(2))}}</text>
|
|
<text v-if="modifyPrice > 0 && modifyPrice < finalPrice" style="font-size:25upx;margin-left:20upx;color:green;">优惠 ¥{{parseFloat((finalPrice-modifyPrice).toFixed(2))}}</text>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
|
|
|
+ <view class="tui-title">{{ book == 1 ? '发货日期' : '配送日期'}}</view>
|
|
|
|
|
+ <picker mode="date" :value="form.sendTimeWant" @change="bindDateChange" style="width:400upx;">
|
|
|
|
|
+ <view class="uni-input" v-if="form.sendTimeWant==''" style="color:#CCCCCC;">请选择,默认当天</view>
|
|
|
|
|
+ <view class="uni-input">{{form.sendTimeWant}}</view>
|
|
|
|
|
+ </picker>
|
|
|
|
|
+ </tui-list-cell>
|
|
|
|
|
+
|
|
|
<tui-list-cell class="line-cell" :arrow="true">
|
|
<tui-list-cell class="line-cell" :arrow="true">
|
|
|
<div class="tui-title">开单人</div>
|
|
<div class="tui-title">开单人</div>
|
|
|
<picker mode="selector" :value="form.getStaffId" :range="staffList" range-key="name" @change="kdChange" class="tui-input" >
|
|
<picker mode="selector" :value="form.getStaffId" :range="staffList" range-key="name" @change="kdChange" class="tui-input" >
|
|
@@ -307,11 +315,14 @@ export default {
|
|
|
isScanEnv:false,
|
|
isScanEnv:false,
|
|
|
calc:'add',
|
|
calc:'add',
|
|
|
diffPriceList:[],
|
|
diffPriceList:[],
|
|
|
- currentShop:{default:0}
|
|
|
|
|
|
|
+ currentShop:{default:0},
|
|
|
|
|
+ book:0
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onLoad (option) {
|
|
onLoad (option) {
|
|
|
|
|
|
|
|
|
|
+ this.book = this.option.book ? this.option.book : 0
|
|
|
|
|
+
|
|
|
this.kdType = option.kdType
|
|
this.kdType = option.kdType
|
|
|
|
|
|
|
|
let that = this
|
|
let that = this
|
|
@@ -433,6 +444,10 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
...mapActions(["initMerchantInfo"]),
|
|
...mapActions(["initMerchantInfo"]),
|
|
|
|
|
+ bindDateChange(e){
|
|
|
|
|
+ let date = e.detail.value
|
|
|
|
|
+ this.form.sendTimeWant = date
|
|
|
|
|
+ },
|
|
|
beginScan(){
|
|
beginScan(){
|
|
|
console.log('beginScan')
|
|
console.log('beginScan')
|
|
|
let that = this
|
|
let that = this
|