Commit 9186f8bd authored by youjie's avatar youjie

no message

parent c18cf861
......@@ -226,13 +226,19 @@
ReceiptModel:{},
}
},watch:{
FrID:{
handler(val){
this.getDataDes();
},
immediate: true
}
},created(){
},mounted(){
this.getDataDes();
},
methods:{
......@@ -250,11 +256,11 @@
this.IsAdvanceFinance=data.IsAdvanceFinance;
this.ECommerceGoodsModel=data.ECommerceGoodsModel;
this.details=data;
// if(this.OtherType==7){
// this.getDetails()
// }else{
// this.getczTableList();
// }
if(this.OtherType==7){
this.getDetails()
}else{
this.getczTableList();
}
}
}, err => {})
......@@ -283,6 +289,7 @@
this.loading = false
if (res.data.resultCode == 1) {
let data=res.data.data.pageData;
console.log(data,'----------')
this.czTableList=data;
data.forEach(item => {
this.cdtotal+=item.Money;
......
......@@ -555,13 +555,13 @@
</el-select>
</td>
<td height="26px">
<el-input v-model="da.Number" @keyup.native="checkInteger(da,'Number')" :disabled="(daIn === 0 && XSTC)||(orderObj.PeopleCostType&&orderObj.PeopleCostType==486)"
<el-input v-model="da.Number" @keyup.native="checkInteger(da,'Number')" :disabled="(daIn === 0 && XSTC)||(orderObj&&orderObj.PeopleCostType&&orderObj.PeopleCostType==486)"
type="text" @blur="addList(2,daIn+1)" @change="Calculation(2,daIn+1)" @input="chages($event)" class="w80 _border_b_1">
</el-input>
</td>
<td height="26px">
<el-input v-model="da.UnitPrice" type="text"
:disabled="((msg.TemplateId == 43 || msg.TemplateId == 48 || msg.TemplateId == 56 || msg.TemplateId == 53) && !ZhuiJiaTK) || (daIn === 0 && XSTC)||(orderObj.PeopleCostType&&orderObj.PeopleCostType==486)"
:disabled="((msg.TemplateId == 43 || msg.TemplateId == 48 || msg.TemplateId == 56 || msg.TemplateId == 53) && !ZhuiJiaTK) || (daIn === 0 && XSTC)||(orderObj&&orderObj.PeopleCostType&&orderObj.PeopleCostType==486)"
@keyup.native="checkPrice(da,'UnitPrice',true)" @blur="addList(2,daIn+1)"
@change="Calculation(2,daIn+1)" @input="chages($event)" class="w80 h34 _border_b_1"></el-input>
</td>
......@@ -1415,7 +1415,7 @@
this.msg.detailList.push(list);
// 人头奖励类型
if(this.orderObj.PeopleCostType&&this.orderObj.PeopleCostType==486) {
if(this.orderObj&&this.orderObj.PeopleCostType&&this.orderObj.PeopleCostType==486) {
let num = (1 * this.orderObj.PeopleMoney) * list.Rate;
num = Math.round(num * 100) / 100;
this.msg.detailList.push({
......
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