|
|
@@ -356,6 +356,18 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>-->
|
|
|
+ <!-- 媒体来源 -->
|
|
|
+ <el-form-item label="媒体来源" prop="orderMedium" >
|
|
|
+ <el-select style="width: 200px" v-model="editForm.orderMedium" placeholder="请选择媒体来源" clearable size="small" >
|
|
|
+ <el-option
|
|
|
+ v-for="item in orderMediumOptions"
|
|
|
+ :key="item.dictValue"
|
|
|
+ :label="item.dictLabel"
|
|
|
+ :value="item.dictValue"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item label="状态" prop="status" >
|
|
|
<el-select style="width:220px" v-model="editForm.status" placeholder="请选择状态" clearable size="small">
|
|
|
<el-option key="0" label="待支付" value="0" />
|
|
|
@@ -520,6 +532,7 @@ export default {
|
|
|
createTypeOptions:[],
|
|
|
deliveryStatusOptions:[],
|
|
|
deliveryTypeOptions:[],
|
|
|
+ orderMediumOptions:[],
|
|
|
scheduleOptions:[],
|
|
|
schedules:[],
|
|
|
orderId:null,
|
|
|
@@ -552,6 +565,7 @@ export default {
|
|
|
mark:"",
|
|
|
userPhone:null,
|
|
|
offlinePayAmount: 0.00,
|
|
|
+ orderMedium:null,
|
|
|
},
|
|
|
|
|
|
editDyRules:{
|
|
|
@@ -589,6 +603,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ this.getDicts("store_order_medium").then((response) => {
|
|
|
+ this.orderMediumOptions = response.data;
|
|
|
+ });
|
|
|
this.getDicts("store_order_delivery_status").then((response) => {
|
|
|
this.deliveryStatusOptions = response.data;
|
|
|
});
|
|
|
@@ -822,6 +839,9 @@ export default {
|
|
|
this.editForm.status = this.order.status.toString();
|
|
|
this.editForm.userAddress = this.order.userAddress.toString();
|
|
|
this.editForm.scheduleId = this.order.scheduleId;
|
|
|
+ if(this.order.orderMedium!=null){
|
|
|
+ this.editForm.orderMedium=this.order.orderMedium.toString();
|
|
|
+ }
|
|
|
// this.editForm.extendOrderId = this.order.extendOrderId.toString();
|
|
|
|
|
|
},
|