Commit 2ddfd43b authored by 黄媛媛's avatar 黄媛媛

op提成制单

parent e1042558
...@@ -46,6 +46,9 @@ ...@@ -46,6 +46,9 @@
<el-tooltip class="item" effect="dark" content="查看" placement="top"> <el-tooltip class="item" effect="dark" content="查看" placement="top">
<el-button type="primary" class="CM_look" @click="goUrl('OPCommissionDetail',item.ID)" icon="iconfont icon-chakan" circle></el-button> <el-button type="primary" class="CM_look" @click="goUrl('OPCommissionDetail',item.ID)" icon="iconfont icon-chakan" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="制单" placement="top">
<el-button type="primary" class="CM_look" @click="goUrlZD" icon="iconfont icon-caidan-fill" circle></el-button>
</el-tooltip>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -85,6 +88,25 @@ import moment from "moment" ...@@ -85,6 +88,25 @@ import moment from "moment"
this.getList(); this.getList();
}, },
methods: { methods: {
goUrlZD(){
let orderObj = {
OrderID: 0,
OrderSource: 8,
Obj: {},
SourceID: 0,
CostType: 112,
}
let id=[29,31];
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query: {
Type: 2,
templateID: JSON.stringify(id),
'blank': 'y',
'orderObj': JSON.stringify(orderObj)
}
})
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.PageIndex = val; this.msg.PageIndex = val;
this.getList(); this.getList();
......
...@@ -861,7 +861,6 @@ export default { ...@@ -861,7 +861,6 @@ export default {
rowClick(rowIndex,rowData,column){ rowClick(rowIndex,rowData,column){
console.log("column",column) console.log("column",column)
var that = this; var that = this;
return;
let startDate=that.year+"-"+column.start; let startDate=that.year+"-"+column.start;
let endDate=""; let endDate="";
let BranchId=that.msg.BranchId; let BranchId=that.msg.BranchId;
...@@ -1170,8 +1169,8 @@ export default { ...@@ -1170,8 +1169,8 @@ export default {
} }
}) })
console.log("DataList",this.DataList) // console.log("DataList",this.DataList)
console.log("tichengList",tichengList) // console.log("tichengList",tichengList)
this.UpdateStaus=data.Status; this.UpdateStaus=data.Status;
this.UpdateStartTime=data.UpdateStartTime; this.UpdateStartTime=data.UpdateStartTime;
this.UpdateEndTime=data.UpdateEndTime; this.UpdateEndTime=data.UpdateEndTime;
......
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