|
|
@@ -305,6 +305,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="deliveryStatus" >
|
|
|
|
|
|
@@ -626,6 +638,7 @@ export default {
|
|
|
mark:"",
|
|
|
userPhone:null,
|
|
|
offlinePayAmount: 0.00,
|
|
|
+ orderMedium:null,
|
|
|
},
|
|
|
editRules: {
|
|
|
userPhone: [
|
|
|
@@ -636,6 +649,7 @@ export default {
|
|
|
createTypeOptions:[],
|
|
|
deliveryStatusOptions:[],
|
|
|
orderTypeOptions:[],
|
|
|
+ orderMediumOptions:[],
|
|
|
payTypeOptions:[],
|
|
|
statusOptions:[],
|
|
|
certificates:null,
|
|
|
@@ -656,6 +670,9 @@ export default {
|
|
|
this.getDicts("store_order_type").then((response) => {
|
|
|
this.orderTypeOptions = response.data;
|
|
|
});
|
|
|
+ this.getDicts("store_order_medium").then((response) => {
|
|
|
+ this.orderMediumOptions = response.data;
|
|
|
+ });
|
|
|
this.getDicts("store_order_status").then((response) => {
|
|
|
this.statusOptions = response.data;
|
|
|
});
|
|
|
@@ -907,6 +924,9 @@ export default {
|
|
|
if(this.order.orderType!=null){
|
|
|
this.editForm.orderType=this.order.orderType.toString();
|
|
|
}
|
|
|
+ if(this.order.orderMedium!=null){
|
|
|
+ this.editForm.orderMedium=this.order.orderMedium.toString();
|
|
|
+ }
|
|
|
this.editForm.scheduleId=this.order.scheduleId;
|
|
|
this.editForm.orderVisit = this.order.orderVisit;
|
|
|
|