|
@@ -45,7 +45,7 @@
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="预发货日期">
|
|
|
- <a-date-picker placeholder="请输入预发货日期" style="width:100%;" v-model="queryParam.preDeliveryDate"/>
|
|
|
+ <a-date-picker placeholder="请输入预发货日期" style="width:100%;" v-model="queryParam.preDeliveryDate" @change="preDeliveryDateChange"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
@@ -460,6 +460,10 @@ export default {
|
|
|
this.selectedRowKeys = keys
|
|
|
this.selectedRows = rows
|
|
|
this.selectedNumber = rows.length
|
|
|
+ },
|
|
|
+ //预发货日期格式化
|
|
|
+ preDeliveryDateChange(){
|
|
|
+ this.queryParam.preDeliveryDate = (moment(this.queryParam.preDeliveryDate)).format('YYYY-MM-DD')
|
|
|
},
|
|
|
//选中行恢复默认
|
|
|
defulatSelect(){
|