feature: po pay downpayment
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<template slot="items" slot-scope="props">
|
||||
<td class="text-xs-left pa-2" v-bind:class="{'amber lighten-4':isSelected(props.item)}" @click="selectMe(props.item)">{{ props.item.tanggalbayar}}</td>
|
||||
<td class="text-xs-left pa-2" v-bind:class="{'amber lighten-4':isSelected(props.item)}" @click="selectMe(props.item)">{{ props.item.SupplierInvoiceNumber}}
|
||||
<p><v-btn v-if="props.item.SupplierInvoiceIsLunas === 'Y'" small color="success">Lunas</v-btn></p></td>
|
||||
<p><v-btn v-if="props.item.flaglunas === 'Y'" small color="success">Lunas</v-btn></p></td>
|
||||
<td class="pa-2" v-bind:class="{'amber lighten-4':isSelected(props.item)}" @click="selectMe(props.item)">{{ props.item.SupplierPaymentNumber}}
|
||||
<p style="color:#800000" class="mb-0 font-weight-bold caption">{{props.item.SupplierPaymentCashierNumber}}</p></td>
|
||||
<td class="text-xs-left pa-2" v-bind:class="{'amber lighten-4':isSelected(props.item)}" @click="selectMe(props.item)">{{ props.item.SupplierName}}</td>
|
||||
@@ -167,18 +167,18 @@
|
||||
this.$store.commit("bill/update_open_alert_no_pay", true)
|
||||
}
|
||||
|
||||
|
||||
|
||||
var arr = this.$store.state.paymentmanual.tagihans
|
||||
var value = true
|
||||
this.$store.commit("paymentmanual/update_indeterminatex", false)
|
||||
this.$store.commit("paymentmanual/update_bar_chx_all", value)
|
||||
|
||||
|
||||
|
||||
arr.forEach((el) => {
|
||||
el.chex = value
|
||||
el.tagihan_bayar = value == true ? el.tagihan_tagihan : 0
|
||||
})
|
||||
|
||||
|
||||
var selected = _.filter(arr, function (o) {
|
||||
return o.chex;
|
||||
})
|
||||
@@ -192,7 +192,7 @@
|
||||
let totpaid = valx
|
||||
this.$store.commit("paymentmanual/update_total_payment", totpaid)
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
// alert(pat.tanggalbayar)
|
||||
this.$store.commit("paymentmanual/update_xbayar", pat.totalbill)
|
||||
@@ -442,4 +442,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user