一般采购付款登记

master
lion 6 months ago
parent 33d2352b26
commit a3529db7fc

@ -487,12 +487,7 @@
class="slot-btns-item"
size="small"
type="primary"
@click="
$refs['paymentRegistration'].getContract(scope.row),
($refs[
'paymentRegistration'
].isShowPaymentRegistration = true)
"
@click="showPayment(scope.row)"
>
付款登记
</Button>
@ -503,12 +498,7 @@
class="slot-btns-item"
size="small"
type="primary"
@click="
$refs['paymentRegistration'].getContract(scope.row),
($refs[
'paymentRegistration'
].isShowPaymentRegistration = true)
"
@click="showPayment(scope.row)"
>付款登记
</Button>
</template>
@ -1682,6 +1672,18 @@ export default {
};
},
methods: {
// oa
showPayment(row){
if(row.is_common_purchase){
Message({
type: "warning",
message: "一般采购请从综合办公平台发起",
});
return
}
this.$refs['paymentRegistration'].getContract(row)
this.$refs['paymentRegistration'].isShowPaymentRegistration = true
},
//
changeEdit(e){
console.log(e)

@ -235,7 +235,6 @@ export default {
align: "left",
fixed: this.$store.getters.device === 'mobile'?false:'left',
customFn: row => {
console.log("row",row)
return (<span>{ row.contract_id ? (row.contract?row.contract.name:'') : row.away.title }</span>)
}
},

Loading…
Cancel
Save