浏览代码

在线订单修改

pengyh 1 年之前
父节点
当前提交
4b77948ff5

+ 3 - 4
src/views/auxiliaryFittings/salesManagement/components/attachmentSalesOrderDetail.vue

@@ -87,10 +87,9 @@
 						</el-col>
 						<el-col :span="12">
 							<el-form-item label="订单来源" prop="source" :required="true">
-								<el-select v-model="formData.source" :disabled="formType == 2" placeholder="请选择" style="width: 100%;">
-									<!-- v-for="item in [{name: '在线订单',id: 'ONLINE'},{name: '自建订单',id: 'SELF'}]" -->
+								<el-select v-model="formData.source" :disabled="true" placeholder="请选择" style="width: 100%;">
 								    <el-option
-								      v-for="item in [{name: '自建订单',id: 'SELF'}]"
+								      v-for="item in [{name: '在线订单',id: 'ONLINE'},{name: '自建订单',id: 'SELF'}]"
 								      :key="item.id"
 								      :label="item.name"
 								      :value="item.id">
@@ -221,7 +220,7 @@
 					workerId: '',
 					identity: '',
 					workerMobile: '',
-					source: '',
+					source: 'SELF',
 					payType: '',
 					totalAmount: '',
 					remark: ''