|
@@ -17,7 +17,7 @@
|
|
|
<a-form-item label="起始时间">
|
|
|
<a-range-picker
|
|
|
style="width: 100%"
|
|
|
- v-model="queryParam.timeRange"
|
|
|
+ v-model="timeRange"
|
|
|
format="YYYY-MM-DD"
|
|
|
:placeholder="['开始时间', '结束时间']"
|
|
|
@change="onDateChange"
|
|
@@ -28,11 +28,11 @@
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="预发货日期">
|
|
|
- <a-date-picker
|
|
|
- placeholder="请选择预发货日期"
|
|
|
+ <a-range-picker
|
|
|
+ :placeholder="['开始时间', '结束时间']"
|
|
|
format="YYYY-MM-DD"
|
|
|
style="width: 100%"
|
|
|
- v-model="queryParam.preDeliveryDate"
|
|
|
+ v-model="preDeliveryDate"
|
|
|
@change="deliveryDateChange"
|
|
|
/>
|
|
|
</a-form-item>
|
|
@@ -509,15 +509,18 @@ export default {
|
|
|
documentNo: '', // 单据号
|
|
|
startTime: '',
|
|
|
endTime: '',
|
|
|
+ preDeliveryDateB:'',//预发货日期开始时间
|
|
|
+ preDeliveryDateE:'',//预发货日期结束时间
|
|
|
// timeRange: [], // 查询条件 时间范围
|
|
|
- preDeliveryDate: '',
|
|
|
+ // preDeliveryDate: '',
|
|
|
salesman: '',
|
|
|
itemNumber: '', // 款号
|
|
|
refer: '',
|
|
|
flourOrGarment: '', //类型
|
|
|
pageNo: '' // 点击的页数
|
|
|
},
|
|
|
-
|
|
|
+ timeRange:[],//起始时间
|
|
|
+ preDeliveryDate:[],//预发货日期
|
|
|
pagination: {
|
|
|
// total: '',
|
|
|
// current: 0,
|
|
@@ -627,6 +630,7 @@ export default {
|
|
|
this.$refs.editShipDetDrawer.editShipDet = res.result
|
|
|
res.result.syShippingDetailsItemList.map(item =>{
|
|
|
item.manualYarnFlag = res.result.syShippingDetailsItemList[0].manualYarnFlag
|
|
|
+ item.customsDeclarationUnitPrice = item.salesUnitPrice - item.ymoney
|
|
|
if(item.manualYarnFlag === 0){
|
|
|
this.$refs.editShipDetDrawer.manualYarnDisabled = true
|
|
|
}else{
|
|
@@ -735,7 +739,8 @@ export default {
|
|
|
|
|
|
deliveryDateChange(value, dateString) {
|
|
|
console.log('预发货日期', dateString)
|
|
|
- this.queryParam.preDeliveryDate = dateString
|
|
|
+ this.queryParam.preDeliveryDateB = dateString[0]
|
|
|
+ this.queryParam.preDeliveryDateE = dateString[1]
|
|
|
},
|
|
|
|
|
|
searchQuery() {
|
|
@@ -749,10 +754,12 @@ export default {
|
|
|
|
|
|
searchReset() {
|
|
|
this.queryParam.documentNo = ''
|
|
|
- this.queryParam.timeRange = []
|
|
|
+ this.timeRange = []
|
|
|
+ this.preDeliveryDate = []
|
|
|
this.queryParam.startTime = ''
|
|
|
this.queryParam.endTime = ''
|
|
|
- this.queryParam.preDeliveryDate = ''
|
|
|
+ this.queryParam.preDeliveryDateB = ''
|
|
|
+ this.queryParam.preDeliveryDateE = ''
|
|
|
this.queryParam.salesman = ''
|
|
|
this.queryParam.itemNumber = ''
|
|
|
this.queryParam.refer = ''
|
|
@@ -770,10 +777,12 @@ export default {
|
|
|
//关闭新增弹窗
|
|
|
closeAdd(){
|
|
|
this.queryParam.documentNo = ''
|
|
|
- this.queryParam.timeRange = []
|
|
|
+ this.timeRange = []
|
|
|
this.queryParam.startTime = ''
|
|
|
this.queryParam.endTime = ''
|
|
|
- this.queryParam.preDeliveryDate = ''
|
|
|
+ this.preDeliveryDate = []
|
|
|
+ this.queryParam.preDeliveryDateB = ''
|
|
|
+ this.queryParam.preDeliveryDateE = ''
|
|
|
this.queryParam.salesman = ''
|
|
|
this.queryParam.itemNumber = ''
|
|
|
this.queryParam.refer = ''
|