|
@@ -39,8 +39,8 @@
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="购买方" :required="true" style="padding-bottom: 1px;">
|
|
|
<el-radio-group v-model="formData.buyPeople" @change="formData.workerName = '';formData.workerMobile=''">
|
|
|
- <el-radio :disabled="formData.flag != 'SAVE' && formType!=0" label="WORKER">内部师傅</el-radio>
|
|
|
- <el-radio :disabled="formData.flag != 'SAVE' && formType!=0" label="CUSTOMER">客户</el-radio>
|
|
|
+ <el-radio :disabled="(formData.flag != 'SAVE' && formType!=0) || formData.salesType == '工程'" label="WORKER">内部师傅</el-radio>
|
|
|
+ <el-radio :disabled="(formData.flag != 'SAVE' && formType!=0) || formData.salesType == '工程'" label="CUSTOMER">客户</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -721,7 +721,7 @@
|
|
|
})
|
|
|
},
|
|
|
changeSale(){
|
|
|
-
|
|
|
+ this.formData.buyPeople = 'CUSTOMER'
|
|
|
},
|
|
|
getinitlbslist() {
|
|
|
// 初始化请求省市区街道下拉选项数据
|