Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into zhengwenfeng/modify-style
| | |
| | | // console.log() |
| | | this.loading = true |
| | | let params = {} |
| | | let sourceTyle = (this.addConfig.keywordType === "销售明细单"||this.addConfig.keywordType ==='客户名称') ? 1 : 2 |
| | | let sourceTyle = this.addConfig.keywordType === "销售明细单" || this.addConfig.keywordType === "客户名称" ? 1 : 2 |
| | | if (this.addConfig.id) { |
| | | params = { |
| | | sourceID: this.addConfig.id, |
| | | sourceId: this.addConfig.id, |
| | | sourceType: sourceTyle, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize, |
| | |
| | | addBtnClick() { |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "新建" |
| | | this.editConfig.sourceType = this.addConfig.keywordType ==='客户名称'?1:this.sourceType |
| | | this.editConfig.sourceType = this.addConfig.keywordType === "客户名称" ? 1 : this.sourceType |
| | | this.editConfig.infomation = { ...this.addConfig, saleDetailNumber: "" } |
| | | } |
| | | } |
| | |
| | | let sourceTyle = this.addConfig.keywordType === "销售明细单" ? 1 : 2 |
| | | if (this.addConfig.id) { |
| | | params = { |
| | | sourceID: this.addConfig.id, |
| | | sourceId: this.addConfig.id, |
| | | sourceType: sourceTyle, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | |
| | | let params = {} |
| | | if (this.addConfig.id) { |
| | | params = { |
| | | sourceID: this.addConfig.id, |
| | | sourceId: this.addConfig.id, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | } |
| | |
| | | infomation: {} |
| | | }, |
| | | clientId: this.editCommonConfig.infomation.client_id, |
| | | saleChanceId: this.editCommonConfig.infomation.saleChanceId, |
| | | saleChanceId: this.editCommonConfig.infomation.sale_chance_id, |
| | | subbillId: this.editCommonConfig.infomation.subbillId, |
| | | productId: 1, |
| | | isNoProduct: true, |
| | |
| | | let params = {} |
| | | if (this.addConfig.id) { |
| | | params = { |
| | | sourceID: this.addConfig.id, |
| | | sourceId: this.addConfig.id, |
| | | sourceType: 1, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | |
| | | this.codenumberList.length > 0 ? this.codenumberList.replace(/,/g, "") : "" |
| | | console.log(this.codenumberList.replace(/,/g, "")) |
| | | }, |
| | | validateFormNumber(){ |
| | | this.$set(this.editConfig.infomation,'serviceNumber',this.editConfig.infomation.serviceNumber) |
| | | this.$refs.form.validateField('serviceNumber') |
| | | }, |
| | | // 配置编码规范的跳转 |
| | | numberClick() { |
| | | window.open("http://www.fai365.com:9080/facilty", "_blank") |