Commit c5696f2b authored by Mac's avatar Mac

订单的单据内容修改

parent 06d34b8b
......@@ -177,6 +177,9 @@
</span>
</div>
<div flex="cross:center main:center">数量:x {{list.Number}}</div>
</div>
<div flex="cross:center main:center">
<el-dropdown trigger="click" >
<span class="el-dropdown-link">制单</span>
......@@ -190,21 +193,30 @@
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
</div>
</div>
<div class="billStyle">
<div class="billStyle" v-if="list.SFinanceList.length>0|| list.ZFinanceList.length >0">
<div class="billStyle_item" style="border-right: 1px solid #EBEEF5">
收入单据:
<span class="billtext">12345</span>
<span class="billtext">12345</span>
<span class="billtext">12345</span>
<span v-for="(item,index2) in list.SFinanceList" :key="index2" @click="goSF(item)">
<span class="billtext" v-if="item.Status == 0" :style="{color:'#00FFFF'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 1" :style="{color:'#0080FF'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 2&&item.Is_Cashier==1" :style="{color:'#FF4048'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 3" :style="{color:'#FFF100'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 4" :style="{color:'#800080'}">{{item.FrID}}</span>
</span>
</div>
<div class="billStyle_item">
支出单据:
<span class="billtext">12345</span>
<span v-for="(item,index2) in list.ZFinanceList" :key="index2" @click="goZF(item)">
<span class="billtext" v-if="item.Status == 0" :style="{color:'#00FFFF'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 1" :style="{color:'#0080FF'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 2&&item.Is_Cashier==1" :style="{color:'#FF4048'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 3" :style="{color:'#FFF100'}">{{item.FrID}}</span>
<span class="billtext" v-if="item.Status == 4" :style="{color:'#800080'}">{{item.FrID}}</span>
</span>
</div>
</div>
</div>
......@@ -1475,6 +1487,12 @@
ECOrderList:[{ECOrderId:item.OrderId,ECOrderDetailId:list.Id}]
}
window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
},
goSF(item){//收入详情
window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
},
goZF(item){//付款详情
window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
}
},
};
......@@ -1711,7 +1729,7 @@
display: flex;flex-direction: row;
align-items: center;
border: 1px solid #EBEEF5;
margin-top: 5px;
margin-top: 30px;
}
.orderList .billStyle .billStyle_item{
width: 50%;
......@@ -1720,7 +1738,6 @@
.orderList .billStyle .billtext{
font-size: 14px;
cursor: pointer;
color: #409EFF;
margin-right: 5px;
text-decoration:underline;
}
......
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