一般采购付款登记

master
lion 6 months ago
parent 33d2352b26
commit a3529db7fc

@ -487,12 +487,7 @@
class="slot-btns-item" class="slot-btns-item"
size="small" size="small"
type="primary" type="primary"
@click=" @click="showPayment(scope.row)"
$refs['paymentRegistration'].getContract(scope.row),
($refs[
'paymentRegistration'
].isShowPaymentRegistration = true)
"
> >
付款登记 付款登记
</Button> </Button>
@ -503,12 +498,7 @@
class="slot-btns-item" class="slot-btns-item"
size="small" size="small"
type="primary" type="primary"
@click=" @click="showPayment(scope.row)"
$refs['paymentRegistration'].getContract(scope.row),
($refs[
'paymentRegistration'
].isShowPaymentRegistration = true)
"
>付款登记 >付款登记
</Button> </Button>
</template> </template>
@ -1682,6 +1672,18 @@ export default {
}; };
}, },
methods: { 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){ changeEdit(e){
console.log(e) console.log(e)

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

Loading…
Cancel
Save