Update link pengadaan
This commit is contained in:
@@ -137,7 +137,12 @@
|
||||
:allow-column-reordering="true"
|
||||
:column-auto-width="true"
|
||||
>
|
||||
<DxEditing :allow-adding="true" :use-icons="true" mode="popup">
|
||||
<DxEditing
|
||||
:allow-adding="true"
|
||||
:allow-updating="true"
|
||||
:allow-deleting="true"
|
||||
:use-icons="true"
|
||||
mode="popup">
|
||||
<DxTexts
|
||||
add-row="Tambah"
|
||||
edit-row="Ubah"
|
||||
@@ -215,7 +220,7 @@
|
||||
text="Kirim"
|
||||
icon="movetofolder"
|
||||
hint="Kirim DRP"
|
||||
:on-click="linkDetail"
|
||||
:on-click="linkKirim"
|
||||
/>
|
||||
</DxColumn>
|
||||
<DxColumn type="adaptive" :width="50">
|
||||
@@ -349,15 +354,18 @@ export default {
|
||||
this.isShowButton = true;
|
||||
console.log("drp: ", this.dataDrp);
|
||||
},
|
||||
linkDetail($event) {
|
||||
this.popupVisible = true;
|
||||
this.popupTitle = "Lihat Dokumen Pendukung";
|
||||
this.dataDrp = $event.row.values.target;
|
||||
this.isShowButton = false;
|
||||
linkDetail() {
|
||||
location.href='#/drp/drp-pengadaan';
|
||||
},
|
||||
linkKirim : function() {
|
||||
location.href='#/drp/drp-pengadaan';
|
||||
}
|
||||
linkKirim($event) {
|
||||
console.log("event: ", $event.row.values);
|
||||
this.popupVisible = true;
|
||||
this.popupTitle = "Review & Approval DRP";
|
||||
this.dataDrp = $event.row.values;
|
||||
this.isShowButton = true;
|
||||
console.log("drp: ", this.dataDrp);
|
||||
},
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user