Commit 15384201 by LJM

订单追踪/已采购订单:新增发货单的“发货时间”设置不可选择小于当前日期

parent b559b4d1
Showing with 6 additions and 1 deletions
......@@ -30,7 +30,7 @@
<el-input v-model="formParam.shipment_number" placeholder="请输入物流单号"></el-input>
</el-form-item>
<el-form-item label="发货时间:" prop="delivery_time">
<el-date-picker v-model="formParam.delivery_time" type="date" placeholder="请选择发货时间" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker v-model="formParam.delivery_time" type="date" placeholder="请选择发货时间" value-format="yyyy-MM-dd" :picker-options="pickerOption"></el-date-picker>
</el-form-item>
<el-form-item label="订货公司:">
<span v-if="purOrderDetail.purchase_info">{{ purOrderDetail.purchase_info.company_name }}</span>
......@@ -78,6 +78,11 @@ export default {
purOrderDetail: {},//基本信息,发货信息
purchase_uid: '',
multipleSelection: [],//选中的数据
pickerOption:{
disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7;
}
},
rules: {
shipping_id: [{
required: true,
......
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 sign in to comment