Commit 5f5ceaba authored by zhengke's avatar zhengke

修改单据

parent 073ff849
......@@ -464,7 +464,7 @@
this.loading = false
this.isGetData = true
if (res.data.resultCode == 1) {
this.PriceInfo = res.data.data.PriceInfo
this.PriceInfo = res.data.data.PriceInfo;
this.ComplainInfo = res.data.data.ComplainInfo
this.ComplainDetial = res.data.data.ComplainDetial
this.DealEmpName = this.ComplainDetial[this.ComplainDetial.length - 1].EmpName
......@@ -762,7 +762,7 @@
},
mounted () {
this.queryMsg.ID = this.$route.query.id
this.queryMsg.OrderId = this.$route.query.orderId
this.queryMsg.OrderId = this.$route.query.OrderId
this.getEnumeration()
this.getEmployeeList()
this.getDetial()
......
......@@ -315,7 +315,8 @@
<my-DJ-Bill :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-DJ-Bill>
</template>
<div class="_explain">
<p>附加说明:</p>
<p>附加说明:<span class="fr" v-if="GetDetail.ComplainID > 0" @click="goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span></p>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0">
<tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr">
<td :colspan="4">{{o.TCNUM}}({{o.TCID}})</td>
......@@ -2239,6 +2240,7 @@ export default {
}
this.chongJudge(data)
this.GetDetail = data;
console.log(this.GetDetail,'GetDetail.OrderId');
this.ChongDiMsg.Types = ''
this.ChongDiMsg.ClientType = data.Type === 2 ? data.ClientType : ''
this.ChongDiMsg.ClientID = data.Type === 2 ? data.ClientID : ''
......@@ -2416,6 +2418,16 @@ export default {
},
headCall: function (msg) { //回调方法,接收子组件传的参数
this.currentMoney = msg;
},
goUrl(path, id,OrderId) {
this.$router.push({
name: path,
query: {
id: id,
OrderId:OrderId,
blank: "y"
}
});
}
},created(){
if(this.$route.query.pageIndex){
......
......@@ -366,7 +366,7 @@
<my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"></my-RVB-Bill>
<my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-GZ-Bill>
<div class="_explain">
<p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goUrl('ComplaintsDetail', GetDetail.ComplainID)"> <span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span> </p>
<p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span> </p>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0">
<tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr">
<td :colspan="4" v-if="GetDetail.Is_Merge===1">单据号:{{o.FinanceId}}</td>
......@@ -902,11 +902,21 @@ export default {
},
goUrl(path, id) {
this.$router.push({
name: path,
query: {
id: id,
blank: "y"
}
name: path,
query: {
id: id,
blank: "y"
}
});
},
goComplain(path, id,OrderId){
this.$router.push({
name: path,
query: {
id: id,
OrderId:OrderId,
blank: "y"
}
});
},
inited (viewer){
......
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