|
@@ -65,7 +65,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" :sm="12" :lg="12" v-if="goodsList.length && goodsList[0].commercialType">
|
|
|
|
|
|
+ <el-col :span="24" :sm="12" :lg="12" v-if="goodsList.length && commercialType">
|
|
<el-form-item label="计划单" prop="isPlanOrder">
|
|
<el-form-item label="计划单" prop="isPlanOrder">
|
|
<el-radio-group v-model="mainForm.isPlanOrder">
|
|
<el-radio-group v-model="mainForm.isPlanOrder">
|
|
<el-radio :label="true">是</el-radio>
|
|
<el-radio :label="true">是</el-radio>
|
|
@@ -746,7 +746,8 @@ export default {
|
|
totalArr: [],
|
|
totalArr: [],
|
|
type: 1,
|
|
type: 1,
|
|
newMultipleSelections: [],
|
|
newMultipleSelections: [],
|
|
- remark: ''
|
|
|
|
|
|
+ remark: '',
|
|
|
|
+ commercialType: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -944,11 +945,13 @@ export default {
|
|
this.dataList = []
|
|
this.dataList = []
|
|
this.popDataArr = []
|
|
this.popDataArr = []
|
|
this.screenForm.saleTypeCode = ''
|
|
this.screenForm.saleTypeCode = ''
|
|
- const type = this.policyList.filter(k => {
|
|
|
|
|
|
+
|
|
|
|
+ const policy = this.policyList.filter(k => {
|
|
return k.code === e
|
|
return k.code === e
|
|
- })[0].type
|
|
|
|
- console.log(type == 'PROVISION')
|
|
|
|
- if (type == 'PROVISION') {
|
|
|
|
|
|
+ })[0]
|
|
|
|
+ this.commercialType = policy.commercialType
|
|
|
|
+ console.log(policy.type)
|
|
|
|
+ if (policy.type == 'PROVISION') {
|
|
// PROVISION 配提
|
|
// PROVISION 配提
|
|
// 选择销售政策PolidcyId改变获取条件列表
|
|
// 选择销售政策PolidcyId改变获取条件列表
|
|
const { data } = await getPolicyConditionList({ policyId: e })
|
|
const { data } = await getPolicyConditionList({ policyId: e })
|