|
|
@@ -229,7 +229,7 @@
|
|
|
<button @click="form.sendType=1" class="admin-button-com mini-btn" :class="form.sendType==1?'blue':'default'">配送</button>
|
|
|
<button @tap="form.sendType=2" class="admin-button-com mini-btn" :class="form.sendType==2?'blue':'default'">自取</button>
|
|
|
</tui-list-cell>
|
|
|
- <appSendTime @alterTime="purchaseFreight(ghsMsg)" :sendDate.sync="form.sendDate" :sendTime.sync="sendTime" ></appSendTime>
|
|
|
+ <appSendTime :placeholder="'留空下单后30分钟内配送'" @alterTime="purchaseFreight(ghsMsg)" :sendDate.sync="form.sendDate" :sendTime.sync="sendTime" ></appSendTime>
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-show="form.sendType == 1">
|
|
|
<view class="tui-title ">运费</view>
|
|
|
<input type="number" placeholder="留空表示免运费" @input="countAllPrices" v-model="form.sendCost" placeholder-class="tui-placeholder">
|
|
|
@@ -411,16 +411,16 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
affirmFormSubmit(){
|
|
|
- if(this.sendTime==''){uni.showToast({title:'请先选择时间',icon:'none'});return}
|
|
|
+ // if(this.sendTime==''){uni.showToast({title:'请先选择时间',icon:'none'});return}
|
|
|
const product = this.selectList.map(ele => {
|
|
|
- return { productId: ele.id, bigNum: ele.bigCount, smallNum: ele.smallCount };
|
|
|
+ return { productId: ele.id, bigNum: ele.bigCount, smallNum: ele.smallCount,classId:ele.classId };
|
|
|
});
|
|
|
let parameter = {
|
|
|
getType:this.form.sendType,
|
|
|
sendTime:this.sendTime,
|
|
|
sendCost:this.form.sendCost,
|
|
|
remark:this.remark,
|
|
|
- product:product,
|
|
|
+ product:JSON.stringify(product),
|
|
|
supplierId:this.ghsMsg.id,
|
|
|
}
|
|
|
let self = this;
|