|
@@ -96,8 +96,8 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="订单来源" prop="source" :required="true">
|
|
|
- <el-select v-model="formData.source" :disabled="true" placeholder="请选择" style="width: 100%;">
|
|
|
+ <el-form-item label="订单来源" prop="orderSource" :required="true">
|
|
|
+ <el-select v-model="formData.orderSource" :disabled="true" placeholder="请选择" style="width: 100%;">
|
|
|
<el-option
|
|
|
v-for="item in [{name: '在线订单',id: 'ONLINE'},{name: '自建订单',id: 'SELF'}]"
|
|
|
:key="item.id"
|
|
@@ -394,7 +394,7 @@
|
|
|
workerId: '',
|
|
|
identity: '',
|
|
|
workerMobile: '',
|
|
|
- source: 'SELF',
|
|
|
+ orderSource: 'SELF',
|
|
|
payType: '',
|
|
|
totalAmount: '',
|
|
|
remark: '',
|
|
@@ -433,7 +433,7 @@
|
|
|
worker: [
|
|
|
{ required: true, message: '请选择师傅', trigger: 'change' }
|
|
|
],
|
|
|
- source: [
|
|
|
+ orderSource: [
|
|
|
{ required: true, message: '请选择订单来源', trigger: 'change' }
|
|
|
],
|
|
|
payType: [
|
|
@@ -627,7 +627,7 @@
|
|
|
edit({
|
|
|
salesId: this.formData.salesId,
|
|
|
goodsType: 'P',
|
|
|
- source: this.formData.source,
|
|
|
+ orderSource: this.formData.orderSource,
|
|
|
payType: this.formData.payType,
|
|
|
remark: this.formData.remark,
|
|
|
websitId: this.formData.websitId,
|
|
@@ -715,7 +715,7 @@
|
|
|
if(this.formType == 0){
|
|
|
add({
|
|
|
goodsType: 'P',
|
|
|
- source: this.formData.source,
|
|
|
+ orderSource: this.formData.orderSource,
|
|
|
payType: this.formData.payType,
|
|
|
remark: this.formData.remark,
|
|
|
websitId: this.formData.websitId,
|
|
@@ -738,7 +738,7 @@
|
|
|
edit({
|
|
|
salesId: this.formData.salesId,
|
|
|
goodsType: 'P',
|
|
|
- source: this.formData.source,
|
|
|
+ orderSource: this.formData.orderSource,
|
|
|
payType: this.formData.payType,
|
|
|
remark: this.formData.remark,
|
|
|
websitId: this.formData.websitId,
|