Commit b927dda5 authored by chenwei's avatar chenwei

变更领取方式默认值

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