Commit 6f33a127 authored by 黄奎's avatar 黄奎

HK修改

parent 7c83cddc
...@@ -228,11 +228,11 @@ ...@@ -228,11 +228,11 @@
<br/> <br/>
<el-button @click='openChart(item)' type="primary" style="background:#6DD875; border-color:#6DD875">联系OP</el-button> <el-button @click='openChart(item)' type="primary" style="background:#6DD875; border-color:#6DD875">联系OP</el-button>
<el-popover placement="bottom" width="300" trigger="click"> <el-popover placement="bottom" width="300" trigger="click">
<el-input class='mt10' v-model='NumObj.newCombinationNum' type='textarea'></el-input> <el-input class='mt10' v-model='NumObj.DMCNum' type='textarea'></el-input>
<p class="alcenter mt10"> <p class="alcenter mt10">
<input type="button" value="保存" @click="UpdateCombinationNum()" class="normalBtn" /> <input type="button" value="保存" @click="UpdateCombinationNum()" class="normalBtn" />
</p> </p>
<el-button type="primary" slot="reference" @click='ClickNumItem(outItem.NewCombinationNum,outItem.TCIDs)' <el-button type="primary" slot="reference" @click='ClickNumItem(item.DMCNum,outItem.NewCombinationNum,outItem.TCIDs)'
style="background:#3333FF; border-color:#AD9AF6; border-radius: 0;">地接团号</el-button> style="background:#3333FF; border-color:#AD9AF6; border-radius: 0;">地接团号</el-button>
</el-popover> </el-popover>
</el-button-group> </el-button-group>
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
colspanTotal: 0, colspanTotal: 0,
//地接团号对象 //地接团号对象
NumObj: { NumObj: {
newCombinationNum: "", DMCNum: "",
TCIDs: "" TCIDs: ""
} }
} }
...@@ -443,15 +443,22 @@ ...@@ -443,15 +443,22 @@
} }
}, err => {}) }, err => {})
}, },
ClickNumItem(newCombinationNum, tcids) { ClickNumItem(DMCNum,newCombinationNum, tcids) {
this.NumObj.newCombinationNum = newCombinationNum; if(DMCNum&& DMCNum!="")
{
this.NumObj.DMCNum = DMCNum;
}
else
{
this.NumObj.DMCNum = newCombinationNum;
}
this.NumObj.TCIDs = tcids; this.NumObj.TCIDs = tcids;
}, },
//保存地接团号 //保存地接团号
UpdateCombinationNum() { UpdateCombinationNum() {
this.loading = true; this.loading = true;
let msg = { let msg = {
newCombinationNum: this.NumObj.newCombinationNum, DMCNum: this.NumObj.DMCNum,
TCIDs: this.NumObj.TCIDs TCIDs: this.NumObj.TCIDs
}; };
this.apipost('dmcstatistics_post_UpdateCombinationNum', msg, res => { this.apipost('dmcstatistics_post_UpdateCombinationNum', msg, res => {
......
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