Commit 9449832e authored by huyf's avatar huyf

提货时间增加默认当前时间

parent d603250d
...@@ -87,7 +87,8 @@ export default { ...@@ -87,7 +87,8 @@ export default {
getOrder(this.$route.query.orderId).then(res => { getOrder(this.$route.query.orderId).then(res => {
this.order = res.data this.order = res.data
this.$set(this.form, 'pickType', this.order.consigneeVO.harvestMethod) this.$set(this.form, 'pickType', this.order.consigneeVO.harvestMethod)
}) });
this.form.pickTime = new Date();
}, },
submit(){ submit(){
create(Object.assign({orderId: this.order.orderNo}, this.form)).then(res => { create(Object.assign({orderId: this.order.orderNo}, this.form)).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment