Commit 28d40e8a authored by 余金瑶's avatar 余金瑶

客户跟进客户编号显示

parent a4f27d92
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('客户编号')"> <el-form-item :label="$t('客户编号')">
<el-input v-model="form.customerId" :placeholder="$t('请输入客户编号')" disabled /> <el-input v-model="customerNumber" :placeholder="$t('请输入客户编号')" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -187,6 +187,7 @@ export default { ...@@ -187,6 +187,7 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
customerNumber: String,
customerService: Number customerService: Number
}, },
components: { components: {
......
...@@ -1342,6 +1342,7 @@ ...@@ -1342,6 +1342,7 @@
:customer-id="customerId" :customer-id="customerId"
:id="customerId" :id="customerId"
:customer-service="customerService" :customer-service="customerService"
:customer-number="customerNumber"
ref="CustomerFollowList" ref="CustomerFollowList"
v-if="customerFollowVisible" v-if="customerFollowVisible"
></customer-follow-list> ></customer-follow-list>
...@@ -1563,6 +1564,7 @@ export default { ...@@ -1563,6 +1564,7 @@ export default {
currentisNew: false, currentisNew: false,
userId: undefined, //lanbm 2024-05-23 add userId: undefined, //lanbm 2024-05-23 add
customerService: undefined, customerService: undefined,
customerNumber: undefined,
customerFollowVisible: false, customerFollowVisible: false,
customerMergeVisible: false, customerMergeVisible: false,
enterOpenSeaTime: [], enterOpenSeaTime: [],
...@@ -1799,8 +1801,9 @@ export default { ...@@ -1799,8 +1801,9 @@ export default {
this.$router.push({ path: "/customer/delay", query: { id: row.id } }); this.$router.push({ path: "/customer/delay", query: { id: row.id } });
}, },
followUp(row) { followUp(row) {
this.customerId = row.id; this.customerId = row.id
this.customerService = row.customerService; this.customerService = row.customerService
this.customerNumber = row.number
this.customerFollowVisible = true this.customerFollowVisible = true
this.$nextTick(_ => { this.$nextTick(_ => {
// this.$refs.CustomerFollowList.customerFollow.dialogVisible = true; // this.$refs.CustomerFollowList.customerFollow.dialogVisible = true;
......
...@@ -812,7 +812,6 @@ ...@@ -812,7 +812,6 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</el-col> </el-col>
</el-row> </el-row>
<el-dialog <el-dialog
...@@ -840,7 +839,7 @@ ...@@ -840,7 +839,7 @@
</div> </div>
</el-dialog> </el-dialog>
<customer-follow ref="customerFollow" v-if="customerFollowVisible" :id="id" :customer-id="id" :customer-service="customer.customerService" @refresh="getCustomerFollowList" /> <customer-follow ref="customerFollow" v-if="customerFollowVisible" :id="id" :customer-id="id" :customer-service="customer.customerService" :customer-number="customer.number" @refresh="getCustomerFollowList" />
</div> </div>
</template> </template>
......
...@@ -933,6 +933,7 @@ export default { ...@@ -933,6 +933,7 @@ export default {
//lanbm 2024-05-26 添加参数 //lanbm 2024-05-26 添加参数
userId:undefined, userId:undefined,
customerService: undefined, customerService: undefined,
customerNumber: undefined,
customerFollowVisible: false, customerFollowVisible: false,
enterOpenSeaTime: [], enterOpenSeaTime: [],
customerServiceConfirmedTime: [], customerServiceConfirmedTime: [],
...@@ -1224,6 +1225,7 @@ export default { ...@@ -1224,6 +1225,7 @@ export default {
this.customerId = row.id; this.customerId = row.id;
// this.$refs["customerFollowList"].customerFollow.dialogVisible = true; // this.$refs["customerFollowList"].customerFollow.dialogVisible = true;
this.customerService = row.customerService; this.customerService = row.customerService;
this.customerNumber = row.number;
this.customerFollowVisible = true this.customerFollowVisible = true
this.$nextTick(_ => { this.$nextTick(_ => {
this.$refs['customerFollowList'].init() this.$refs['customerFollowList'].init()
......
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