Commit 68e7c937 by chenyu

update: update

parent 9e4e09fa
......@@ -172,7 +172,7 @@ import getInputVal from '../utils/common.js';
export default {
props: {
selectListMore: {
type: Object,
type: Array,
default () {
return [];
},
......
......@@ -248,7 +248,7 @@ export default {
},
// 右侧搜索
getRightList () {
var newData = this.selectLeftList.filter(item => {
const newData = this.selectLeftList.filter(item => {
if (item.storeGroupName.indexOf(this.searchValue) > -1) {
return item;
}
......@@ -280,6 +280,7 @@ export default {
delete v.value;
delete v.key;
delete v.disabled;
return v;
});
this.$emit('getSelectList', this.selectLeftList);
this.popoverShow = false;
......
......@@ -185,7 +185,7 @@ export default {
this.totalPage = res.data.result.totalPage;
if (this.selectLeftList.length) {
for (const item of this.selectLeftList) {
let obj;
let obj = null;
obj = this.tableData.find(i => {
return i.integralMallPickUpPointId === item.integralMallPickUpPointId;
});
......@@ -244,7 +244,7 @@ export default {
},
// 右侧搜索
getRightList () {
var newData = this.selectLeftList.filter(item => {
const newData = this.selectLeftList.filter(item => {
if (item.pickUpPointName.indexOf(this.searchValue) > -1) {
return item;
}
......@@ -266,6 +266,7 @@ export default {
delete v.pickUpPointPhone;
delete v.canChooseTime;
delete v.pickUpPointType;
return v;
});
this.$emit('getSelectList', this.selectLeftList);
this.popoverShow = false;
......
......@@ -105,7 +105,7 @@
<el-radio :label="1">
动态日期
</el-radio>
<el-radio :label="2">
<el-radio :label="2" disabled>
固定日期
</el-radio>
</el-radio-group>
......@@ -181,12 +181,12 @@
:key="index"
style="margin:0px 0 22px 0"
:prop="'dataRangeList.' + index + '.dataRange'"
:rules="[{ validator: validateData, trigger: 'change' }]"
>
<el-date-picker
v-model="item.dataRange"
:picker-options="pickerOptionsEnd"
is-range
disabled
format="yy-MM-dd"
type="daterange"
range-separator="至"
......@@ -691,6 +691,11 @@ export default {
return false;
}
}
if (this.form.dateType === 2) {
return this.$alert('您已开启【商品兑换库存同步接口】,如果该自提点支持调货,请选择【动态日期】,否则客户无法选择该自提点', '', {
confirmButtonText: '确定',
});
}
let params = {};
let url = '';
if (this.integralMallPickUpPointId === '-1') {
......
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