Commit 0966aef1 authored by chenwei's avatar chenwei

变更领取方式默认值


(cherry picked from commit b927dda5)
parent a8ddb455
......@@ -176,6 +176,9 @@ export default {
this.queryParams = deepClone(newVal)
this.$set(this.queryParams, "dateRangeCreateTime", [parseTime(newVal.startTime), parseTime(newVal.endTime)])
this.queryParams.pickMethod = newVal.pickMethod.split(",")
this.$nextTick(() => {
this.$refs["queryForm"].clearValidate()
})
} else {
this.resetFormQuery()
this.$nextTick(() => {
......@@ -195,11 +198,10 @@ export default {
endTime: null,
imgEn: null,
imgZh: null,
nodeIds: [{ wareHouses: "", points: "", quantityRemain: null, id: 0 }],
nodeIds: [{ wareHouses: [], points: "", quantityRemain: null, id: 0 }],
nodeId: null,
pickMethod: null,
pickMethod: [],
pointsRequire: null,
remarkEn: null,
remarkFr: null,
remarkZh: null,
......@@ -329,7 +331,7 @@ export default {
},
handleOrderVRule(item, index) {
if (index == "0") {
this.queryParams.nodeIds.push({ wareHouses: null, nodeId: "", points: "", id: index + 1 })
this.queryParams.nodeIds.push({ wareHouses: [], quantityRemain: null, points: "", id: index + 1 })
} else {
this.queryParams.nodeIds.splice(index, 1)
}
......@@ -372,11 +374,11 @@ export default {
this.queryParams = {
allowCount: null,
endTime: null,
nodeIds: [{ wareHouses: "", points: "", quantityRemain: null, id: 0 }],
nodeIds: [{ wareHouses: [], points: "", quantityRemain: null, id: 0 }],
imgEn: null,
imgZh: null,
nodeId: null,
pickMethod: null,
pickMethod: [],
pointsRequire: null,
remarkEn: null,
remarkFr: null,
......
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