| | |
| | | </view>
|
| | | </template>
|
| | | <template v-slot:center>
|
| | | <view class="center-container" @click="() => shenqingDetail(item)">
|
| | | <view class="center-container">
|
| | | <view class="center-content__one center-margin">
|
| | | <view class="">
|
| | | <text>所属流程:{{ item.processName }}</text>
|
| | |
| | | <image src="@/static/home/cehui.png" mode=""></image>
|
| | | <view>撤回</view>
|
| | | </view> -->
|
| | | <view @click="checkTheScheduleClick(item.procInstId)" v-if="item.status == 1">
|
| | | <view @click="() => checkTheScheduleClick(item.procInstId)" v-if="item.status == 1">
|
| | | <image src="@/static/home/jindu.png" mode=""></image>
|
| | | <view>查看进度</view>
|
| | | </view>
|
| | | <view @click="theFormDataClick(item.tableId)" v-if="(item.status == 1 || item.status == 2 || item.status == 3) && item.processName == '发运通知单'">
|
| | | <view @click="() => shenqingDetail(item)" v-if="item.actType == 'Offsetting' || item.actType == 'XsWaybill'">
|
| | | <image src="@/static/home/biaodan.png" mode=""></image>
|
| | | <view>申请详情</view>
|
| | | </view>
|
| | |
| | | <image src="@/static/home/history.png" mode=""></image>
|
| | | <view>编辑</view>
|
| | | </view> -->
|
| | | <view @click="approvalHistoryClick(item.procInstId)" v-if="item.status == 2 || item.status == 3">
|
| | | <view @click="() => checkTheScheduleClick(item.procInstId)" v-if="item.status !== 1">
|
| | | <image src="@/static/home/history.png" mode=""></image>
|
| | | <view>审批历史</view>
|
| | | </view>
|
| | |
| | | <combined-title title="我的待办" detailsPath="/pages/my-todo/my-todo"></combined-title>
|
| | | <view class="card-group">
|
| | | <combination-card class="card" v-for="(item, index) in daibanData" index="index">
|
| | | <template v-slot:top>
|
| | | <template slot="top">
|
| | | <view>
|
| | | <text>{{ item.actBusiness.title }}</text>
|
| | | </view>
|
| | | </template>
|
| | | <template v-slot:center>
|
| | | <view class="center-container" @click="() => daibanDetail(item)">
|
| | | <template slot="center">
|
| | | <view class="center-container">
|
| | | <view class="center-content__one center-margin">
|
| | | <view class="">
|
| | | <text>任务名称:{{ item.name || '' }}</text>
|
| | |
| | | </view>
|
| | | </view>
|
| | | </template>
|
| | | <template v-slot:bottom>
|
| | | <template slot="bottom">
|
| | | <view class="bottom-container">
|
| | | <!-- 待办按钮 -->
|
| | | <view class="bottom-content__item">
|
| | | <view @click="theFormDataClick(item.tableId)">
|
| | | <view @click="() => daibanDetail(item)" v-if="item.actBusiness.actType == 'Offsetting' || item.actBusiness.actType == 'XsWaybill'">
|
| | | <image src="@/static/home/jindu.png" mode=""></image>
|
| | | <view>申请详情</view>
|
| | | </view>
|
| | | <view @click="adopClick(item)">
|
| | | <view @click="() => adopClick(item)">
|
| | | <image src="@/static/home/tongguo.png" mode=""></image>
|
| | | <view>通过</view>
|
| | | </view>
|
| | | <view @click="rejectClick(item)">
|
| | | <view @click="() => rejectClick(item)">
|
| | | <image src="@/static/home/bohui.png" mode=""></image>
|
| | | <view>驳回</view>
|
| | | </view>
|
| | | <view @click="approvalHistoryClick(item.procInstId)">
|
| | | <view @click="() => checkTheScheduleClick(item.procInstId)">
|
| | | <image src="@/static/home/history.png" mode=""></image>
|
| | | <view>历史</view>
|
| | | </view>
|
| | |
| | | <view class="bottom-container">
|
| | | <!-- 已办按钮 -->
|
| | | <view class="bottom-content__item">
|
| | | <view @click="theFormDataClick(item.tableId)" v-if="item.processName == '发运通知单'">
|
| | | <view @click="() => shenqingDetail(item)" v-if="item.processName == '发运通知单'">
|
| | | <image src="@/static/home/biaodan.png" mode=""></image>
|
| | | <view>表单数据</view>
|
| | | </view>
|
| | | <view @click="approvalHistoryClick(item.procInstId)">
|
| | | <view @click="() => daibanDetail(item)" v-if="item.actBusiness.actType == 'Offsetting' || item.actBusiness.actType == 'XsWaybill'">
|
| | | <image src="@/static/home/jindu.png" mode=""></image>
|
| | | <view>详情</view>
|
| | | </view>
|
| | | <view @click="() => checkTheScheduleClick(item.procInstId)">
|
| | | <image src="@/static/home/history.png" mode=""></image>
|
| | | <view>审批历史</view>
|
| | | </view>
|
| | |
| | | haveTodoParams: {
|
| | | pageNumber: 1,
|
| | | pageSize: 2,
|
| | | sort: 'createTime',
|
| | | order: 'desc'
|
| | | // sort: 'createTime',
|
| | | // order: 'desc'
|
| | | }
|
| | | };
|
| | | },
|
| | |
| | | },
|
| | | //代办详情
|
| | | daibanDetail(item) {
|
| | | console.log(item,'item=====------000000')
|
| | | if(item?.actBusiness?.actType == 'Offsetting') { //收款 actType = ‘Offsetting’
|
| | | uni.navigateTo({
|
| | | url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`,
|
| | |
|
| | | })
|
| | | }else if(item?.actBusiness?.actType == 'WAY_BILL') {
|
| | | }else if(item?.actBusiness?.actType == 'XsWaybill') {
|
| | | uni.navigateTo({
|
| | | url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}`
|
| | | })
|
| | |
| | | },
|
| | | //代办详情
|
| | | shenqingDetail(item) {
|
| | | console.log(item,'item====待办===详情')
|
| | | if(item.actType == 'Offsetting') { //收款 actType = ‘Offsetting’
|
| | | uni.navigateTo({
|
| | | url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`,
|
| | |
|
| | | })
|
| | | }else if(item.actType == 'WAY_BILL') {
|
| | | }else if(item.actType == 'XsWaybill') {
|
| | | uni.navigateTo({
|
| | | url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}`
|
| | | })
|
| | |
| | | },
|
| | | getUserInfo() {
|
| | | this.$reqGet('getUserInfo').then(res => {
|
| | | console.log(res,'res=====系统登录===')
|
| | | if (res.code == 0) {
|
| | | uni.setStorageSync('userInfo', res.data.sysUser);
|
| | | this.$store.commit('SET_PERMISSIONS',res.data.permissions)
|
| | | //uni.setStorageSync('permissions', res.data.permissions);
|
| | | this.userId = res.data.sysUser.userId;
|
| | | this.$nextTick(() => {
|
| | | this.coalbunker();
|
| | |
| | | // 通过模态框
|
| | | adoptModalConfirm() {
|
| | | this.adoptModalShow = false;
|
| | | this.adoptForm.comment = this.adoptModalContent;
|
| | | this.adoptForm.comment = this.adoptModalContent || '';
|
| | | this.$reqPost('passAll', this.adoptForm).then(res => {
|
| | | if (res.code == 0) {
|
| | | this.$u.toast('操作成功!');
|
| | |
| | | });
|
| | | },
|
| | | // 表单数据
|
| | | theFormDataClick(v) {
|
| | | uni.navigateTo({
|
| | | url: `/pages/the-form-data/the-form-data?index=${v}`
|
| | | });
|
| | | },
|
| | | // theFormDataClick(item) {
|
| | | // console.log(item,'申请还是-----item')
|
| | | // // uni.navigateTo({
|
| | | // // url: `/pages/the-form-data/the-form-data?index=${v}`
|
| | | // // });
|
| | | //
|
| | | // },
|
| | | // 删除撤回申请
|
| | | deleteWithDrawApplication(id) {
|
| | | this.deleteWithDrawApplicationGlobal(id)
|
| | |
| | | // echarts图表
|
| | | .charts-box {
|
| | | width: 91%;
|
| | | height: vww(330);
|
| | | height: vww(270);
|
| | | margin: 0 auto;
|
| | | .u-empty {
|
| | | height: 100%;
|
| | |
| | | <view style="margin-right:10px">实际发车数:{{ item.numReal || '暂无' }}</view>
|
| | | </view>
|
| | | </view>
|
| | | <u-keyboard |
| | | <u-keyboard
|
| | | @change="valChange"
|
| | | @backspace="backspace"
|
| | | @confirm="keyBoardConfirm"
|
| | |
| | | :overlay="false"
|
| | | :closeOnClickOverlay="false"
|
| | | :dotDisabled="true"
|
| | | zIndex="100000" |
| | | zIndex="100000"
|
| | | ></u-keyboard>
|
| | | </view>
|
| | |
|
| | |
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | | |
| | |
|
| | | <!-- 修改弹出框 -->
|
| | | <u-popup :show="editPopupShow" @close="editPopupClose" @open="editPopupOpen" mode="top" round="10">
|
| | | <view class="editPopup">
|
| | |
| | | <script>
|
| | | import popupMenu from '@/components/common/popup-menu/popup-menu.vue';
|
| | | import tool from '@/utils/tool.js';
|
| | | import { TrackOpTypes } from "vue"; |
| | | import { TrackOpTypes } from "vue";
|
| | | export default {
|
| | | components: {
|
| | | popupMenu
|
| | |
| | | return {
|
| | | radioValue: '全部',
|
| | | tabList: [
|
| | | { |
| | | {
|
| | | name: '今日发运计划'
|
| | | },
|
| | | {
|
| | |
| | | fyList() {
|
| | | this.overlayShow = true;
|
| | | //列表查询
|
| | | uni.showLoading({ |
| | | uni.showLoading({
|
| | | title: '正在加载...'
|
| | | });
|
| | | let compId = uni.getStorageSync('userInfo').compId;
|
| | |
| | | e.shippingDate = this.info.shippingDate
|
| | | }
|
| | | });
|
| | | this.$reqPost('addObj', this.fyData).then(res => {
|
| | | this.$reqPost('xscarshippingdayplanAddObj', this.fyData).then(res => {
|
| | | uni.hideLoading();
|
| | | if(res.code == 0){
|
| | | setTimeout(()=>{
|
| | | uni.showToast({
|
| | | title:'更新成功!',
|
| | | icon:'none',
|
| | | duration:1000
|
| | | })
|
| | | },0)
|
| | | this.fyList();
|
| | | setTimeout(()=>{
|
| | | uni.showToast({
|
| | | title:'更新成功!',
|
| | | icon:'none',
|
| | | duration:1000
|
| | | })
|
| | | },0)
|
| | | }
|
| | | });
|
| | | },
|
| | |
| | | inputTotalChange(val) {
|
| | | console.log(val, 'val2=======val2,已设置计划');
|
| | | this.editRow = val;
|
| | | }, |
| | | },
|
| | | // input获取焦点
|
| | | faYunPlanCarsFocus(item) {
|
| | | this.keyBoardShow = true;
|
| | |
| | | } else{
|
| | | this.isCursor = true;
|
| | | }
|
| | | |
| | |
|
| | | // 根据列表下标,使屏幕滚动到相应可视位置
|
| | | for(let i = 0;i<this.fyData.length;i++){
|
| | | if(this.fyData[i].orderId == item.orderId){
|
| | |
| | | });
|
| | | }
|
| | | }
|
| | | |
| | |
|
| | | },
|
| | | // 键盘
|
| | | valChange(val) {
|
| | |
| | | item.numPlan = val;
|
| | | this.keyBoardValue = item.numPlan;
|
| | | }
|
| | | } |
| | | }
|
| | | });
|
| | | },
|
| | | backspace() {
|
| | |
| | | width: vww(100);
|
| | | z-index: 1;
|
| | | }
|
| | | |
| | |
|
| | | .u-radio-group--row {
|
| | | height: 100%;
|
| | | width: 100%;
|
| | |
| | | // transform: translateX(-50%);
|
| | | // border-radius: vww(20);
|
| | | // }
|
| | | |
| | |
|
| | | }
|
| | |
|
| | | .jihua-main {
|
| | |
| | | border: 1px solid #dddddd;
|
| | | border-radius: vww(4);
|
| | | padding: vww(1) vww(10);
|
| | | |
| | | |
| | |
|
| | |
|
| | | // 输入焦点图片
|
| | | .cursor {
|
| | | // float: left;
|
| | |
| | | // }
|
| | | // }
|
| | | }
|
| | | </style> |
| | | </style>
|
| | |
| | | } |
| | | </style> |
| | | --> |
| | | |
| | | |
| | | <template> |
| | | <view class="login"> |
| | | <u-overlay :show="show" @click="show = false"></u-overlay> |
| | |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | import { setAccessToken, setTokenType, setRefreshToken, setClientId, setScope, redirectHome, redirectLogin } from '@/utils/status.js'; |
| | | export default { |
| | |
| | | } |
| | | }, |
| | | saveUserInfo(response) { |
| | | console.log(response,'response=====') |
| | | uni.hideLoading(); |
| | | this.show = false; |
| | | if (response.statusCode === 200) { |
| | |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | |
| | | <style lang="scss" scoped> |
| | | .login { |
| | | .background { |
| | |
| | | } |
| | | .loginBtn { |
| | | margin-top: vww(80); |
| | | |
| | | |
| | | button { |
| | | background-color: #007aff; |
| | | color: #ffffff; |
| | |
| | | } |
| | | } |
| | | </style> |
| | | |
| | |
| | | </view> |
| | | </template> |
| | | <template v-slot:center> |
| | | <view class="center-container" @click="() => shenqingDetail(item)"> |
| | | <view class="center-container"> |
| | | <view class="center-content__one center-margin"> |
| | | <view class=""> |
| | | <text>所属流程:{{ item.processName }}</text> |
| | |
| | | <image src="@/static/home/cehui.png" mode=""></image> |
| | | <view>撤回</view> |
| | | </view> --> |
| | | <view @click="checkTheScheduleClick(item.procInstId)" v-if="item.status == 1"> |
| | | <view @click="() => checkTheScheduleClick(item.procInstId)" v-if="item.status == 1"> |
| | | <image src="@/static/home/jindu.png" mode=""></image> |
| | | <view>查看进度</view> |
| | | </view> |
| | | <view @click="theFormDataClick(item.tableId)" v-if="(item.status == 1 || item.status == 2 || item.status == 3 ) && (item.processName == '发运通知单')"> |
| | | <view @click="() => shenqingDetail(item)" v-if="item.actType == 'Offsetting' || item.actType == 'XsWaybill'"> |
| | | <image src="@/static/home/biaodan.png" mode=""></image> |
| | | <view>申请详情</view> |
| | | </view> |
| | | <!-- <view @click="() => shenqingDetail(item)" v-if="(item.status == 1 || item.status == 2 || item.status == 3 ) && (item.processName == '发运通知单')">--> |
| | | <!-- <image src="@/static/home/biaodan.png" mode=""></image>--> |
| | | <!-- <view>申请详情</view>--> |
| | | <!-- </view>--> |
| | | <!-- <view v-if="item.status == 3" @click="apply(item)"> |
| | | <image src="@/static/home/history.png" mode=""></image> |
| | | <view>重新申请</view> |
| | |
| | | }, |
| | | methods: { |
| | | shenqingDetail(item) { //跳转详情页面 |
| | | console.log(item,'item=====') |
| | | if(item.actType == 'Offsetting') { //收款 actType = ‘Offsetting’ |
| | | uni.navigateTo({ |
| | | url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`, |
| | | |
| | | }) |
| | | }else if(item.actType == 'WAY_BILL') { |
| | | }else if(item.actType == 'XsWaybill') { |
| | | uni.navigateTo({ |
| | | url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}` |
| | | }) |
| | |
| | | }, |
| | | // 查看进度 |
| | | checkTheScheduleClick(v) { |
| | | console.log(v,'v====查看进度====') |
| | | uni.navigateTo({ |
| | | url: `/pages/check-the-schedule/check-the-schedule?index=${v}` |
| | | }); |
| | |
| | | <view class="bottom-container"> |
| | | <!-- 已办按钮 --> |
| | | <view class="bottom-content__item"> |
| | | <view @click="theFormDataClick(item.tableId)" v-if="item.processName == '发运通知单'"> |
| | | <view @click="() => theFormDataClick(item)" v-if="item.actBusiness.actType == 'Offsetting' || item.actBusiness.actType == 'XsWaybill'"> |
| | | <image src="@/static/home/biaodan.png" mode=""></image> |
| | | <view>申请详情</view> |
| | | </view> |
| | | <view @click="approvalHistoryClick(item.procInstId)"> |
| | | <view @click="() => approvalHistoryClick(item.procInstId)"> |
| | | <image src="@/static/home/history.png" mode=""></image> |
| | | <view>审批历史</view> |
| | | </view> |
| | | <view @click="deleteApplicationClick(item.id)"> |
| | | <view @click="() => deleteApplicationClick(item.id)"> |
| | | <image src="@/static/home/delete.png" mode=""></image> |
| | | <view>删除</view> |
| | | </view> |
| | |
| | | </combination-card> |
| | | </u-checkbox-group> |
| | | </view> |
| | | |
| | | |
| | | <view class="empty-placeH"> |
| | | |
| | | |
| | | </view> |
| | | <!-- 底部全选 --> |
| | | <view class="bottomTabbar"> |
| | |
| | | // console.log(a) |
| | | // }, |
| | | // 表单数据 |
| | | theFormDataClick(v) { |
| | | uni.navigateTo({ |
| | | url: `/pages/the-form-data/the-form-data?index=${v}` |
| | | }); |
| | | theFormDataClick(item) { |
| | | if(item?.actBusiness?.actType == 'Offsetting') { //收款 actType = ‘Offsetting’ |
| | | uni.navigateTo({ |
| | | url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`, |
| | | |
| | | }) |
| | | }else if(item?.actBusiness?.actType == 'XsWaybill') { |
| | | uni.navigateTo({ |
| | | url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}` |
| | | }) |
| | | } |
| | | }, |
| | | // 审批历史 |
| | | approvalHistoryClick(v) { |
| | | uni.navigateTo({ |
| | | url: `/pages/approval-history/approval-history?index=${v}` |
| | | //url: `/pages/approval-history/approval-history?index=${v}` |
| | | url: `/pages/check-the-schedule/check-the-schedule?index=${v}` |
| | | }); |
| | | } |
| | | } |
| | |
| | | right: vww(20) !important; |
| | | } |
| | | } |
| | | |
| | | |
| | | // 底部站位 |
| | | .empty-placeH{ |
| | | height:vww(5); |
| | |
| | | <view class="bottom-container"> |
| | | <!-- 待办按钮 --> |
| | | <view class="bottom-content__item"> |
| | | <view @click="theFormDataClick(item.tableId)" v-if="item.processName == '发运通知单'"> |
| | | <view @click="theFormDataClick(item)" v-if="item.actBusiness.actType == 'Offsetting' || item.actBusiness.actType == 'XsWaybill'"> |
| | | <image src="@/static/home/jindu.png" mode=""></image> |
| | | <view>申请详情</view> |
| | | </view> |
| | |
| | | console.log('totalSelect', n); |
| | | }, |
| | | // 表单数据 |
| | | theFormDataClick(v) { |
| | | uni.navigateTo({ |
| | | url: `/pages/the-form-data/the-form-data?index=${v}` |
| | | }); |
| | | theFormDataClick(item) { |
| | | if(item?.actBusiness?.actType == 'Offsetting') { //收款 actType = ‘Offsetting’ |
| | | uni.navigateTo({ |
| | | url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`, |
| | | |
| | | }) |
| | | }else if(item?.actBusiness?.actType == 'XsWaybill') { |
| | | uni.navigateTo({ |
| | | url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}` |
| | | }) |
| | | } |
| | | }, |
| | | // 审批历史 |
| | | approvalHistoryClick(v) { |
| | |
| | | rejectModalCancel() { |
| | | this.rejectModalShow = false; |
| | | }, |
| | | |
| | | |
| | | batchRejectClick() { |
| | | if (this.checkBoxValue.length != 0) { |
| | | this.rejectModalShow = true; |
| | |
| | | </view> --> |
| | | <combined-title title="申请模板"></combined-title> |
| | | <!-- 卡片区域 --> |
| | | <view class="newApplicationCard" @click="toNewApplicationDetails" v-for="(item, index) in newApplicationData" :key="index"> |
| | | <view class="card"> |
| | | <view class="card-left"> |
| | | <view class="card-left_top"> |
| | | <text>{{ item.description }}</text> |
| | | </view> |
| | | <view class="card-left_bottom"> |
| | | <text>版本:v{{ item.version }}</text> |
| | | <text>所属分类:{{ item.categoryTitle|| '' }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="card-right"> |
| | | <view class="icon"><image src="@/static/groupAppTotalImg/back_1.png" mode=""></image></view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="newApplicationCard shoukuanDetailCard" @click="ToPaymentForm"> |
| | | <template v-if="permissions.yunxiao_xswaybill_add"> |
| | | <view |
| | | class="newApplicationCard" |
| | | @click="toNewApplicationDetails" |
| | | v-for="(item, index) in newApplicationData" :key="index"> |
| | | <view class="card"> |
| | | <view class="card-left"> |
| | | <view class="card-left_top"> |
| | | <text>{{ item.description }}</text> |
| | | </view> |
| | | <view class="card-left_bottom"> |
| | | <text>版本:v{{ item.version }}</text> |
| | | <text>所属分类:{{ item.categoryTitle|| '' }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="card-right"> |
| | | <view class="icon"><image src="@/static/groupAppTotalImg/back_1.png" mode=""></image></view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <view |
| | | v-if="permissions.yunxiao_gatheringbill_add" |
| | | class="newApplicationCard shoukuanDetailCard" |
| | | @click="ToPaymentForm"> |
| | | <view class="card"> |
| | | <view class="card-left"> |
| | | <view class="card-left_bottom"> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | |
| | | <!-- 选择器 --> |
| | | <u-picker @cancel="statusSeletShow = false" @confirm="statusConfirm" :show="statusSeletShow" :columns="statusList"></u-picker> |
| | |
| | | <script> |
| | | import popupMenu from '@/components/common/popup-menu/popup-menu.vue'; |
| | | import combinedTitle from '@/components/common/combined-title/combined-title.vue'; |
| | | import {mapGetters} from 'vuex' |
| | | export default { |
| | | name: 'new-application', |
| | | computed:{ |
| | | ...mapGetters(['permissions']), |
| | | }, |
| | | data() { |
| | | return { |
| | | searchData: '', |
| | |
| | | this.init(); |
| | | }, |
| | | getCurrentPages(e) { |
| | | console.log(e); |
| | | }, |
| | | // 点击导航栏菜单后 |
| | | onNavigationBarButtonTap(e) { |
| | |
| | | v-model="dataForm.ledgerName" |
| | | placeholder="请选择账套" |
| | | border="none" |
| | | readonly |
| | | ></u--input> |
| | | </u-form-item> |
| | | <u-form-item |
| | |
| | | checkboxDM:false, |
| | | ledgerList:[], |
| | | rules: { |
| | | ledgerName: [ |
| | | { |
| | | required: true, |
| | | message: '请选择账套', |
| | | trigger: ['blur', 'change'] |
| | | } |
| | | ], |
| | | inputDate: [ |
| | | { |
| | | required: true, |
| | |
| | | }, |
| | | init() { |
| | | this.payType() //收款类型 |
| | | this.getCustomer() |
| | | this.fetchCompTree() |
| | | //账套选择 |
| | | let compId = uni.getStorageSync('userInfo').compId; |
| | | this.$reqGet('getLedgerList',{compId:compId}).then(res => { |
| | |
| | | this.selCustomerType = t |
| | | this.selectLevelShow = false; |
| | | this.selectCustomerCompShow = false; |
| | | uni.showLoading({ |
| | | title: '加载中...' |
| | | }); |
| | | this.selectCustomerShow = true; |
| | | this.selectCustomerData.current = 1; |
| | | }, |
| | | getCustomer() { //获取客户信息 |
| | | this.$reqGet('customer', this.selectCustomerData).then(res => { |
| | | uni.hideLoading(); |
| | | if (res.code == 0) { |
| | |
| | | this.searchCustomerForm.compName = ''; |
| | | this.searchCustomerForm.levelText = ''; |
| | | this.selectCustomer(); |
| | | }, |
| | | // 选择客户 |
| | | selectCustomer() { |
| | | this.selectLevelShow = false; |
| | | this.selectCustomerCompShow = false; |
| | | uni.showLoading({ |
| | | title: '加载中...' |
| | | }); |
| | | this.selectCustomerShow = true; |
| | | this.selectCustomerData.current = 1; |
| | | this.$reqGet('customer', this.selectCustomerData).then(res => { |
| | | uni.hideLoading(); |
| | | if (res.code == 0) { |
| | | this.customerData = res.data.records; |
| | | this.customerDataAllNum = res.data.total; |
| | | } |
| | | }); |
| | | }, |
| | | selectCustomerOpen() { |
| | | |
| | |
| | | width: 100%; |
| | | padding: 0 vww(10); |
| | | box-sizing: border-box; |
| | | ::v-deep{ |
| | | .u-checkbox__icon-wrap{ |
| | | width: vww(16)!important; |
| | | height: vww(16)!important; |
| | | } |
| | | .u-checkbox{ |
| | | margin-bottom: 0!important; |
| | | } |
| | | } |
| | | |
| | | // 选择客户弹框 |
| | | .selectCustomerPopup { |
| | |
| | | state: { |
| | | shenqingMenu: uni.getStorageSync('shenqingMenu') || false, //申请菜单 |
| | | rijihuaMenu: uni.getStorageSync('rijihuaMenu') || false, //日计划菜单 |
| | | permissions: uni.getStorageSync('permissions') || [] //权限信息 |
| | | }, |
| | | mutations: { |
| | | ISHAS_SHENQING: (state, data) => { |
| | |
| | | state.shenqingMenu = false |
| | | uni.setStorageSync('shenqingMenu',state.shenqingMenu) |
| | | } |
| | | |
| | | |
| | | }, |
| | | ISHAS_RIJIHUA: (state, data) => { |
| | | let labelArry = [] |
| | |
| | | state.rijihuaMenu = false |
| | | uni.setStorageSync('rijihuaMenu',state.rijihuaMenu) |
| | | } |
| | | }, |
| | | SET_PERMISSIONS: (state,permissions) => { |
| | | let list = {} |
| | | for(let i=0;i<permissions.length;i++) { |
| | | list[permissions[i]] = true |
| | | } |
| | | state.permissions = list |
| | | console.log(list,'list======----') |
| | | uni.setStorageSync('permissions', list); |
| | | } |
| | | }, |
| | | actions: { |
| | |
| | | commit('ISHAS_RIJIHUA',response.data) |
| | | }) |
| | | } |
| | | }, |
| | | getters: { |
| | | permissions:state => state.permissions |
| | | } |
| | | }) |
| | | |
| | | export default store |
| | | export default store |
| | |
| | | method: 'GET' |
| | | }, |
| | | // 发运列表 |
| | | |
| | | |
| | | /** |
| | | * 這是有bug的接口 |
| | | */ |
| | |
| | | // url: '/yunxiao/contractorder/fyList', |
| | | // method: 'GET' |
| | | // }, |
| | | |
| | | |
| | | /** |
| | | * 這是正確的 |
| | | */ |
| | |
| | | url:'/yunxiao/xscarshippingdayplan/fyList', |
| | | method:'GET' |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | xscarshippingdayplan: { |
| | | url: '/yunxiao/xscarshippingdayplan/page', |
| | | method: 'GET' |
| | | }, |
| | | |
| | | |
| | | // xscarshippingdayplan: { |
| | | // url: '/yunxiao/contractorder/page', |
| | | // method: 'GET' |
| | | // }, |
| | | |
| | | |
| | | // /yunxiao/xscarshippingdayplan |
| | | addObj: { |
| | | xscarshippingdayplanAddObj: { |
| | | url: '/yunxiao/xscarshippingdayplan', |
| | | method: 'POST' |
| | | }, |
| | |
| | | url: '/admin/menu', |
| | | method: 'GET' |
| | | } |
| | | } |
| | | } |
| | |
| | | jihua |
| | | } from './jihua.js'; |
| | | |
| | | |
| | | // 成功 |
| | | const responseOK = (response) => { |
| | | const { |
| | |
| | | 500: responseError |
| | | } |
| | | |
| | | let BaseUrl = 'http://192.168.0.159:9999'; |
| | | // const BaseUrl = 'https://mx.jzeg.cn:443/app'; |
| | | //let BaseUrl = 'http://192.168.0.159:9999'; |
| | | const BaseUrl = 'https://mx.jzeg.cn:9998'; |
| | | // let BaseUrl = 'http://192.168.0.114:9999'; |
| | | // const BaseUrl = 'http://192.168.0.102:9999'; // 飞哥 |
| | | |