|
|
|
@ -47,10 +47,11 @@
|
|
|
|
|
class="table"
|
|
|
|
|
ref="table"
|
|
|
|
|
width="100%"
|
|
|
|
|
enable-check="multiple"
|
|
|
|
|
enable-check="single"
|
|
|
|
|
checkType="single"
|
|
|
|
|
show-left-and-right-border
|
|
|
|
|
:headers="headers"
|
|
|
|
|
:contents="materialList"
|
|
|
|
|
:contents="OddList"
|
|
|
|
|
:show-vert-border="false"
|
|
|
|
|
@onCheck="onCheck"
|
|
|
|
|
></wyb-table>
|
|
|
|
@ -87,7 +88,8 @@ export default class returningDom extends BasePage {
|
|
|
|
|
startMobile = "";
|
|
|
|
|
endMobile = "";
|
|
|
|
|
materialList = [];
|
|
|
|
|
OddList: any;
|
|
|
|
|
OddList: any = [];
|
|
|
|
|
label: any = "";
|
|
|
|
|
startParams = {
|
|
|
|
|
year: true,
|
|
|
|
|
month: true,
|
|
|
|
@ -113,9 +115,17 @@ export default class returningDom extends BasePage {
|
|
|
|
|
this.endMobile =
|
|
|
|
|
endParams.year + "-" + endParams.month + "-" + endParams.day;
|
|
|
|
|
}
|
|
|
|
|
onCheck() {}
|
|
|
|
|
onCheck(e: any) {
|
|
|
|
|
console.log("eeeee", e.data[0].lineData.label);
|
|
|
|
|
this.label = e.data[0].lineData.label;
|
|
|
|
|
}
|
|
|
|
|
back() {
|
|
|
|
|
uni.navigateBack({ delta: 1 });
|
|
|
|
|
if (this.label == "" || this.label == null) {
|
|
|
|
|
this.redirectTo(this.page.raw.handover.returning.index);
|
|
|
|
|
} else {
|
|
|
|
|
sessionStorage.setItem("labelCode", JSON.stringify(this.label));
|
|
|
|
|
this.redirectTo(this.page.raw.handover.returning.index);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 上传
|
|
|
|
|