Commit 19f37e48 authored by honghy's avatar honghy Committed by wux

1.报价不校验客户归属客户经理

parent 5402f91a
......@@ -1169,10 +1169,11 @@ export default {
//报价
quote(row) {
//lanbm 2024-05-23 添加报价是判断客户所属客户经理,不是就不能报价
if (row.customerService != this.userId) {
this.$message.error(this.$t("此客户属于其他客户经理名下的客户。"))
return
}
//jayden 2024-12-12 添加报价是判断客户所属客户经理,不是就不能报价(删除限制)
// if (row.customerService != this.userId) {
// this.$message.error(this.$t("此客户属于其他客户经理名下的客户。"))
// return
// }
//this.$router.push({path:'/offer/create',query:{id:row.id}})
this.$router.push({ path: "/offer/create", query: { customerId: row.id, customerType: row.type, type: 1 } }).then({
//this.$refs.push({path:'/customer-contacts/select',query:{pageNo:1,pageSize:10,searchKey:row.defaultContactPhone}})
......
......@@ -1126,10 +1126,11 @@ export default {
},
quote() {
const row = this.customer
if (row.customerService != this.userId) {
this.$message.error(this.$t("此客户属于其他客户经理名下的客户。"))
return
}
//jayden 2024-12-12 添加报价是判断客户所属客户经理,不是就不能报价(删除限制)
// if (row.customerService != this.userId) {
// this.$message.error(this.$t("此客户属于其他客户经理名下的客户。"))
// return
// }
this.$router.push({ path: "/offer/create", query: { customerId: row.id, customerType: row.type, type: 1 } })
},
......
......@@ -540,7 +540,7 @@
</el-form-item>
</el-form>
<choose-contact-dialog v-if="!!contactChooseType" :type="1" @choose="onContactChoose" @close="contactChooseType = null" />
<choose-contact-dialog v-if="!!contactChooseType" :type="2" @choose="onContactChoose" @close="contactChooseType = null" />
<quick-create-customer v-if="quickCreateType" :type="quickCreateType" @success="onContactChoose" @close="quickCreateType = null" />
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment