|
@@ -277,7 +277,7 @@ export default {
|
|
|
platform_name: "",
|
|
|
ruleForm: {
|
|
|
name: "",
|
|
|
- platform: [],
|
|
|
+ platform: "",
|
|
|
companyNo: "",
|
|
|
khNo: [],
|
|
|
customer_name: "",
|
|
@@ -420,11 +420,9 @@ export default {
|
|
|
},
|
|
|
//平台选择
|
|
|
platform_codesearchChange(e) {
|
|
|
- if (e) {
|
|
|
const { id, code, label } = e;
|
|
|
this.ruleForm.platform = id||"";
|
|
|
this.$refs.ruleForm.validateField("platform");
|
|
|
- }
|
|
|
},
|
|
|
//销售方公司选择
|
|
|
company_idsearchChange(e) {
|
|
@@ -468,7 +466,7 @@ export default {
|
|
|
this.company = "";
|
|
|
this.ruleForm = {
|
|
|
name: "",
|
|
|
- platform: [],
|
|
|
+ platform: "",
|
|
|
companyNo: "",
|
|
|
khNo: [],
|
|
|
customer_name: "",
|
|
@@ -508,7 +506,7 @@ export default {
|
|
|
this.platform_name = platform_name || "";
|
|
|
this.ruleForm = {
|
|
|
name: project_name || "",
|
|
|
- platform: platform_id ? [platform_id] : [],
|
|
|
+ platform: platform_id ||"",
|
|
|
companyNo: companyNo || "",
|
|
|
khNo: khNo ? [khNo] : [],
|
|
|
customer_name: khName || "",
|
|
@@ -539,7 +537,7 @@ export default {
|
|
|
console.log(model);
|
|
|
const { budget_total, ladder } = model;
|
|
|
let ztotal = Math.floor(budget_total * 100) / 100;
|
|
|
- model.platform = model.platform.toString();
|
|
|
+ // model.platform = model.platform.toString();
|
|
|
model.khNo = model.khNo.toString();
|
|
|
delete model["customer_name"];
|
|
|
if (ladder && ladder.length < 2) {
|