diff --git a/src/views/productionPlanning/customerInquiry/add.vue b/src/views/productionPlanning/customerInquiry/add.vue
index ea9e899..95f5dde 100644
--- a/src/views/productionPlanning/customerInquiry/add.vue
+++ b/src/views/productionPlanning/customerInquiry/add.vue
@@ -89,14 +89,7 @@ export default {
message: '此项不能为空',
trigger: 'blur'
},
- ],
- 'CustomerOrderReviewInfo-ExpectedDate': [
- {
- required: true,
- message: '此项不能为空',
- trigger: 'blur'
- },
- ],
+ ]
},
loading: false,
// 菜单树选项
diff --git a/src/views/productionPlanning/customerInquiry/index.vue b/src/views/productionPlanning/customerInquiry/index.vue
index f2b4b78..4b3dc8e 100644
--- a/src/views/productionPlanning/customerInquiry/index.vue
+++ b/src/views/productionPlanning/customerInquiry/index.vue
@@ -49,25 +49,25 @@
type="selection"
width="55">
-
-
- {{
- mappingText(customerList, scope.row["CustomerOrderReviewInfo-CustomerId"], 'Customer-CustomerId', 'Customer-Name1')
- }}
-
- {{ scope.row[item] }}
- {{ scope.row[item] }}
-
+
+
+ {{
+ mappingText(customerList, scope.row["CustomerOrderReviewInfo-CustomerId"], 'Customer-CustomerId', 'Customer-Name1')
+ }}
+
+ {{ scope.row[item] }}
+ {{ scope.row[item] }}
+
- {{ scope.row[item] }}
-
-
+ {{ scope.row[item] }}
+
+
= replyDateTime.getTime()) {
+ if (expectedDateTime.getTime() > replyDateTime.getTime()) {
return false
} else {
return true
@@ -211,7 +213,7 @@ export default {
"CustomerOrderReviewInfo-CustomerId": row['CustomerOrderReviewInfo-CustomerId'],
"CustomerOrderReviewInfo-ArtId": row['CustomerOrderReviewInfo-ArtId'],
"CustomerOrderReviewInfo-Qty": parseFloat(row['CustomerOrderReviewInfo-Qty']),
- "CustomerOrderReviewInfo-ExpectedDate": row['CustomerOrderReviewInfo-ExpectedDate']
+ "CustomerOrderReviewInfo-ExpectedDate": row['CustomerOrderReviewInfo-ExpectedDate']==""?null:row['CustomerOrderReviewInfo-ExpectedDate']
})
})
this.deliveryTrialDisable = true
@@ -220,10 +222,12 @@ export default {
this.detailHeaders = []
this.detailTableData = []
res.data.forEach( (item,index) => {
- this.tableData[index]["CustomerOrderReviewInfo-ReplyDate"] = item['CustomerOrderReviewInfo-ReplyDate']
+ this.multipleSelection[index]["CustomerOrderReviewInfo-ReplyDate"] = item['CustomerOrderReviewInfo-ReplyDate']
})
this.deliveryTrialDisable = false
}
+ }).catch(() => {
+ this.deliveryTrialDisable = false
})
}
},
@@ -233,7 +237,7 @@ export default {
"CustomerOrderReviewInfo-CustomerId": row['CustomerOrderReviewInfo-CustomerId'],
"CustomerOrderReviewInfo-ArtId": row['CustomerOrderReviewInfo-ArtId'],
"CustomerOrderReviewInfo-Qty": parseFloat(row['CustomerOrderReviewInfo-Qty']),
- "CustomerOrderReviewInfo-ExpectedDate": row['CustomerOrderReviewInfo-ExpectedDate']
+ "CustomerOrderReviewInfo-ExpectedDate": row['CustomerOrderReviewInfo-ExpectedDate']==""?null:row['CustomerOrderReviewInfo-ExpectedDate']
}]
// searchParam = [{
// "CustomerOrderReviewInfo-CustomerId": "3",