修复福袋购买记录的地区问题
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
<div class="col-sm-2">
|
||||
<input type="text" name="erbanNo" id="qErbanNo" class="input-sm form-control" placeholder="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<label for="giftName" class="col-sm-1 control-label">开出礼物名称:</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" name="giftName" id="qGiftName" class="input-sm form-control" placeholder="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<label for="startDate" class="col-sm-1 control-label">日期:</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" name="startDate" id="qStartDate" class="input-sm datetime form-control" placeholder="">
|
||||
@@ -74,6 +74,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.$nextTick(function () {
|
||||
this.initPartition();
|
||||
this.initData();
|
||||
});
|
||||
},
|
||||
@@ -167,7 +168,38 @@ export default {
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
},
|
||||
initPartition() {
|
||||
getPartitionInfoList().then(res => {
|
||||
let data = res.data;
|
||||
buildSelectOption(
|
||||
"#sendPartitionId",
|
||||
null,
|
||||
[{
|
||||
value: '',
|
||||
text: '全部'
|
||||
}].concat(data.map((v) => {
|
||||
return {
|
||||
value: v.id,
|
||||
text: v.desc,
|
||||
};
|
||||
}))
|
||||
);
|
||||
buildSelectOption(
|
||||
"#receivePartitionId",
|
||||
null,
|
||||
[{
|
||||
value: '',
|
||||
text: '全部'
|
||||
}].concat(data.map((v) => {
|
||||
return {
|
||||
value: v.id,
|
||||
text: v.desc,
|
||||
};
|
||||
}))
|
||||
);
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user