Commit e48969cc by 施宇

1

parent a10fd7ea
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"Nexus 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":false,"dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-04-10 15:19:09","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"70.5 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]},{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]}],"dingtalk:dingtalk-biz:preAuditLimit":10,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"","dingtalk:dingtalk-biz:packageSize":"","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2018102261820458","dingtalk:dingtalk-biz:_appName":"DEMO","dingtalk:dingtalk-biz:_orgId":9213150,"dingtalk:dingtalk-biz:_corpId":"ding93fe2dfb8cef1afd","dingtalk:dingtalk-biz:remoteVersion":"0.0.1","dingtalk:dingtalk-biz:currentVersion":"0.0.2","dingtalk:dingtalk-biz:whiteList":["dd.yemxing.com","user.liexin.net","user.liexin.com"],"dingtalk:dingtalk-biz:h5WhiteList":[],"taobao:taobao-mini:tinyIcon":"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg","dingtalk:dingtalk-biz:lastDeviceName":"iPhone 6","dingtalk:dingtalk-biz:MockStore":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjUxMzkxNywiZXhwIjoxNTg2NTEzOTc3LCJuYmYiOjE1ODY1MTM5MTcsImp0aSI6Inlsd1VhdFVVUVZxNEtUMU0iLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.OlmVGUnaLFqBsUKUm6Z_Ey6sT2AzTN0TDd_QdpmA4qo"},"compilerList":[{"title":"普通编译","query":"","page":""},{"title":"1","page":"pages/search/search","pageQuery":"type=3"},{"title":"2","page":"pages/screen/screen"},{"title":"3","page":"pages/detail/other/other","pageQuery":"id=228"},{"title":"4","page":"pages/pdf/pdf"},{"title":"5","page":"pages/detail/accountLimit/accountLimit","pageQuery":"id=217"},{"title":"6","page":"pages/detail/reimbursement/reimbursement","pageQuery":"id=204"},{"title":"7","page":"pages/detail/payment/payment","pageQuery":"id=191"},{"title":"8","page":"pages/pdf/pdf"},{"title":"9","page":"pages/tabs/alreadyApproval/alreadyApproval"}],"compilerIndex":0,"storageVersion":"1.5.10"}
\ No newline at end of file
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"Nexus 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":false,"dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-04-10 15:19:09","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"70.5 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]},{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]}],"dingtalk:dingtalk-biz:preAuditLimit":10,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"","dingtalk:dingtalk-biz:packageSize":"","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2018102261820458","dingtalk:dingtalk-biz:_appName":"DEMO","dingtalk:dingtalk-biz:_orgId":9213150,"dingtalk:dingtalk-biz:_corpId":"ding93fe2dfb8cef1afd","dingtalk:dingtalk-biz:remoteVersion":"0.0.1","dingtalk:dingtalk-biz:currentVersion":"0.0.2","dingtalk:dingtalk-biz:whiteList":["dd.yemxing.com","user.liexin.net","user.liexin.com"],"dingtalk:dingtalk-biz:h5WhiteList":[],"taobao:taobao-mini:tinyIcon":"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg","dingtalk:dingtalk-biz:lastDeviceName":"iPhone 6","dingtalk:dingtalk-biz:MockStore":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4Njc1NjExNCwiZXhwIjoxNTg2ODQyNTE0LCJuYmYiOjE1ODY3NTYxMTQsImp0aSI6ImV3TTBudU5wYjFKczVoQ3kiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.gCiEIQjHP4kpBM6SOt7m7pYbanagBo_vPZ4aswT7mu8"},"compilerList":[{"title":"普通编译","query":"","page":""},{"title":"1","page":"pages/search/search","pageQuery":"type=3"},{"title":"2","page":"pages/screen/screen"},{"title":"3","page":"pages/detail/other/other","pageQuery":"id=204"},{"title":"4","page":"pages/pdf/pdf"},{"title":"5","page":"pages/detail/accountLimit/accountLimit","pageQuery":"id=217"},{"title":"6","page":"pages/detail/reimbursement/reimbursement","pageQuery":"id=204"},{"title":"7","page":"pages/detail/payment/payment","pageQuery":"id=191"},{"title":"8","page":"pages/pdf/pdf"},{"title":"9","page":"pages/tabs/alreadyApproval/alreadyApproval"}],"compilerIndex":0,"storageVersion":"1.5.10"}
\ No newline at end of file
{"layout":{"left":{"currentId":"search","size":310},"right":{"currentId":""},"bottom":{"currentId":"devtools","size":501}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"layout":{"left":{"currentId":"explorer","size":310},"right":{"currentId":""},"bottom":{"currentId":"devtools","size":551}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/search/search.acss","file:///e%3A/DingProgram/blank/res/css/tab.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml","file:///e%3A/DingProgram/blank/pages/pdf/pdf.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/pages/screen/screen.axml","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/res/js/aixos.js","file:///e%3A/DingProgram/blank/debug.log","file:///e%3A/DingProgram/blank/snapshot.png","file:///e%3A/DingProgram/blank/pages/screen/screen.acss","file:///e%3A/DingProgram/blank/pages/search/search.json","file:///e%3A/DingProgram/blank/pages/screen/screen.json","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss","file:///e%3A/DingProgram/blank/pages/detail/other/other.acss"],"SEARCH_WORD":["catch","1"],"storageVersion":"1.5.10"}
\ No newline at end of file
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/search/search.acss","file:///e%3A/DingProgram/blank/res/css/tab.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml","file:///e%3A/DingProgram/blank/pages/pdf/pdf.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.js","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/pages/screen/screen.axml","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/res/js/aixos.js","file:///e%3A/DingProgram/blank/debug.log","file:///e%3A/DingProgram/blank/snapshot.png","file:///e%3A/DingProgram/blank/pages/screen/screen.acss","file:///e%3A/DingProgram/blank/pages/search/search.json","file:///e%3A/DingProgram/blank/pages/screen/screen.json","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss","file:///e%3A/DingProgram/blank/pages/detail/other/other.acss"],"SEARCH_WORD":["catch","1"],"storageVersion":"1.5.10"}
\ No newline at end of file
{"grid":{"splitDirection":1,"children":[{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js"],"current":"file:///e%3A/DingProgram/blank/res/js/axios.js","previewIndex":-1}},{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js"],"current":"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","previewIndex":-1}}]},"storageVersion":"1.5.10"}
\ No newline at end of file
{"grid":{"splitDirection":1,"children":[{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js"],"current":"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","previewIndex":-1}},{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/res/js/axios.js"],"current":"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","previewIndex":-1}}]},"storageVersion":"1.5.10"}
\ No newline at end of file
This diff could not be displayed because it is too large.
......@@ -37,22 +37,33 @@
<view class="fl title title-width-105">客户截款时间:</view>
<view class="fl value value-width-long">{{info.cut_off_time}}</view>
</view>
<view class="single clr" a:if="{{info.department}}">
<!-- <view class="single clr" a:if="{{info.department}}">
<view class="fl title title-width-105">账期申请数据:</view>
<view class="fl value value-width-long">{{info.department}}</view>
</view>
<view class="single">
</view> -->
<view class="single" a:if="{{term.length}}">
<view class="title title-width-105">账期申请数据:</view>
<view class="apply-price-table">
<view class="head">
<view class="td-1 td"><text>额度(人民币)<text></view>
<view class="td-2 td"><text>深圳市猎芯科技有限公司<text></view>
<view class="td-3 td"><text>泽贸科技有限公司<text></view>
<view class="td-2 td"><text>{{term[0].company_name}}<text></view>
<view class="td-3 td"><text>{{term[1].company_name}}<text></view>
</view>
<view class="body">
<view class="body-data">
<view class="td-1 td"><text>第一次申请金额<text></view>
<view class="td-2 td"><text>¥1,245,120,00<text></view>
<view class="td-3 td"><text>¥1,245,120,001,245,120,001,245,120,00<text></view>
<view class="td-2 td"><text>¥{{term[0].first_apply_amount}}<text></view>
<view class="td-3 td"><text>¥{{term[1].first_apply_amount}}0<text></view>
</view>
<view class="body-data">
<view class="td-1 td"><text>第二次申请金额<text></view>
<view class="td-2 td"><text>¥{{term[0].second_apply_amount}}<text></view>
<view class="td-3 td"><text>¥{{term[1].second_apply_amount}}<text></view>
</view>
<view class="body-data">
<view class="td-1 td"><text>第三次申请金额<text></view>
<view class="td-2 td"><text>¥{{term[0].third_apply_amount}}<text></view>
<view class="td-3 td"><text>¥{{term[1].third_apply_amount}}<text></view>
</view>
</view>
</view>
......@@ -94,9 +105,10 @@
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1}}"></text>
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1&&!isOpen}}" onTap="open"></text>
<text class="arrow lineBlock arrow-top" a:if="{{logsL.length > 1&&isOpen}}" onTap="close"></text>
</view>
</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.sub_process_id}}">{{item.button_name}}</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.button}}">{{item.button_name}}</view>
<view class="back-btn btn" onTap="goBack">返回</view>
</view>
\ No newline at end of file
......@@ -9,7 +9,8 @@ Page({
buttons: [],
id: "",
person: [],
term: []
term: [],
isOpen: false,
},
onLoad(query) {
let id = query.id;
......@@ -48,7 +49,7 @@ Page({
},
toSee(e) {
let { src } = e.target.dataset;
axios.toSee(src)
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
......@@ -57,5 +58,17 @@ Page({
},
goBack() {
dd.navigateBack()
},
open() {
this.setData({
logsF: this.data.logsL,
isOpen: true
});
},
close() {
this.setData({
logsF: [this.data.logsL[0]],
isOpen: false
});
}
});
......@@ -39,9 +39,10 @@
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1}}"></text>
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1&&!isOpen}}" onTap="open"></text>
<text class="arrow lineBlock arrow-top" a:if="{{logsL.length > 1&&isOpen}}" onTap="close"></text>
</view>
</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.sub_process_id}}">{{item.button_name}}</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.button}}">{{item.button_name}}</view>
<view class="back-btn btn" onTap="goBack">返回</view>
</view>
\ No newline at end of file
......@@ -7,7 +7,8 @@ Page({
logsF: [],
logsL: [],
buttons: [],
id: ""
id: "",
isOpen:false
},
onLoad(query) {
let id = query.id;
......@@ -42,7 +43,7 @@ Page({
},
toSee(e) {
let { src } = e.target.dataset;
axios.toSee(src)
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
......@@ -51,6 +52,18 @@ Page({
},
goBack() {
dd.navigateBack()
},
open() {
this.setData({
logsF: this.data.logsL,
isOpen: true
});
},
close() {
this.setData({
logsF: [this.data.logsL[0]],
isOpen: false
});
}
});
......@@ -51,7 +51,7 @@
</view>
</view>
<text class="detail-title" a:if="{{attachments.length}}">附件</text>
<view class="files-view clr" a:if="{{attachments.length}}">
<view class="files-view clr" a:if="{{attachments.length}}">
<view class="single-files fl p-file fl" a:for="{{attachments}}" data-src="{{item}}" onTap="toSee"></view>
</view>
<text class="detail-title" a:if="{{logsL.length}}">审批日志</text>
......@@ -63,9 +63,10 @@
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length>1}}"></text>
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1&&!isOpen}}" onTap="open"></text>
<text class="arrow lineBlock arrow-top" a:if="{{logsL.length > 1&&isOpen}}" onTap="close"></text>
</view>
</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.sub_process_id}}">{{item.button_name}}</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.button}}">{{item.button_name}}</view>
<view class="back-btn btn" onTap="goBack">返回</view>
</view>
\ No newline at end of file
......@@ -7,7 +7,8 @@ Page({
logsF: [],
logsL: [],
buttons: [],
id: ""
id: "",
isOpen:false
},
onLoad(query) {
let id = query.id;
......@@ -42,7 +43,7 @@ Page({
},
toSee(e) {
let { src } = e.target.dataset;
axios.toSee(src)
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
......@@ -51,6 +52,18 @@ Page({
},
goBack() {
dd.navigateBack()
},
open() {
this.setData({
logsF: this.data.logsL,
isOpen: true
});
},
close() {
this.setData({
logsF: [this.data.logsL[0]],
isOpen: false
});
}
});
......@@ -25,10 +25,6 @@
<view class="fl title">收款人:</view>
<view class="fl value">{{info.payee}}</view>
</view>
<view class="single clr" a:if="{{info.number}}">
<view class="fl title">报销部门:</view>
<view class="fl value">{{info.department}}</view>
</view>
<view class="single clr" a:if="{{info.amount}}">
<view class="fl title">金额:</view>
<view class="fl value">{{info.amount}}</view>
......@@ -41,9 +37,9 @@
<view class="fl title">应退余额:</view>
<view class="fl value">{{info.refund_amount}}</view>
</view>
<view class="single clr" a:if="{{info.currency}}">
<view class="single clr" a:if="{{info.currency_name}}">
<view class="fl title">付款币别:</view>
<view class="fl value">{{info.currency}}</view>
<view class="fl value">{{info.currency_name}}</view>
</view>
<view class="single" a:if="{{payment.length}}">
<view class="title">费用明细:</view>
......@@ -78,9 +74,10 @@
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1}}"></text>
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1&&!isOpen}}" onTap="open"></text>
<text class="arrow lineBlock arrow-top" a:if="{{logsL.length > 1&&isOpen}}" onTap="close"></text>
</view>
</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.sub_process_id}}">{{item.button_name}}</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.button}}">{{item.button_name}}</view>
<view class="back-btn btn" onTap="goBack">返回</view>
</view>
\ No newline at end of file
......@@ -8,7 +8,8 @@ Page({
logsL: [],
buttons: [],
id: "",
payment:[]
payment: [],
isOpen: false,
},
onLoad(query) {
let id = query.id;
......@@ -27,8 +28,8 @@ Page({
attachments: data.attachments,
logsL: data.audit_logs,
buttons: data.buttons,
logsF: [data.audit_logs[0]],
payment:data.payment_detail
logsF: [data.audit_logs[0]],
payment: data.payment_detail
});
delete data.attachments
delete data.audit_logs
......@@ -49,11 +50,23 @@ Page({
},
toDeal(e) {
let { id } = e.target.dataset;
axios.toDeal(this.data.id,id)
axios.toDeal(this.data.id, id)
},
goBack() {
dd.navigateBack()
},
open() {
this.setData({
logsF: this.data.logsL,
isOpen: true
});
},
close() {
this.setData({
logsF: [this.data.logsL[0]],
isOpen: false
});
}
});
......@@ -173,6 +173,7 @@
.apply-price-table{
font-size: 12px;
border:1px solid #646F78;
margin-top:23rpx;
}
.apply-price-table .head{
color:#646F78;
......
......@@ -135,7 +135,7 @@ const toDetail = (type, id) => {
}
//处理详情页面的状态
const toDeal = (id, status) => {
checkToken({ url: apis.apiAuthApply, data: { apply_id: id, status: status } }).then(res => {
checkToken({ url: apis.apiAuthApply, data: { apply_id: id, status: status,remark:'' } }).then(res => {
if (res.data.errcode == 0) {
// dd.showToast({
// type: 'success',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment