|
@@ -28,7 +28,7 @@
|
|
<div class="cont">
|
|
<div class="cont">
|
|
<div class="title">线上订单:</div>
|
|
<div class="title">线上订单:</div>
|
|
<div class="right-cont">
|
|
<div class="right-cont">
|
|
- <el-input v-model="sourceIds" type="textarea" rows="4" size="mini" placeholder="多个单号逗号隔开"></el-input>
|
|
|
|
|
|
+ <el-input v-model="sourceIds" type="textarea" rows="4" size="mini" placeholder="每行一个单号,换行输入"></el-input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -168,6 +168,8 @@ export default class LoadOrderModal extends Vue {
|
|
if(!this.shopId){
|
|
if(!this.shopId){
|
|
msg = '店铺名称'
|
|
msg = '店铺名称'
|
|
}
|
|
}
|
|
|
|
+ value.shopId = this.shopId;
|
|
|
|
+ value.showName = this.shopName;
|
|
value.type = this.type;
|
|
value.type = this.type;
|
|
if(this.type == 1){
|
|
if(this.type == 1){
|
|
if(!this.sourceIds){
|
|
if(!this.sourceIds){
|
|
@@ -178,9 +180,8 @@ export default class LoadOrderModal extends Vue {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- value.shopId = this.shopId;
|
|
|
|
- value.showName = this.shopName;
|
|
|
|
- value.sourceIds = this.sourceIds.split(',');
|
|
|
|
|
|
+
|
|
|
|
+ value.sourceIds = this.sourceIds.split('\n');
|
|
}else if(this.type == 2){
|
|
}else if(this.type == 2){
|
|
if(this.dateType < 0 || this.dateType > 2){
|
|
if(this.dateType < 0 || this.dateType > 2){
|
|
if(msg){
|
|
if(msg){
|
|
@@ -196,8 +197,6 @@ export default class LoadOrderModal extends Vue {
|
|
msg = '时间'
|
|
msg = '时间'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- value.shopId = this.shopId;
|
|
|
|
- value.showName = this.shopName;
|
|
|
|
value.dateType = this.dateType;
|
|
value.dateType = this.dateType;
|
|
value.beginDate = this.beginDate + ' 00:00:00';
|
|
value.beginDate = this.beginDate + ' 00:00:00';
|
|
value.endDate = this.endDate + ' 00:00:00';
|
|
value.endDate = this.endDate + ' 00:00:00';
|
|
@@ -209,8 +208,6 @@ export default class LoadOrderModal extends Vue {
|
|
msg = '订单状态'
|
|
msg = '订单状态'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- value.shopId = this.shopId;
|
|
|
|
- value.showName = this.shopName;
|
|
|
|
value.status = this.status;
|
|
value.status = this.status;
|
|
}
|
|
}
|
|
if(msg){
|
|
if(msg){
|