From ca91837812e9ab2cb69b04d8e00c52034553a1d0 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期五, 20 三月 2026 14:18:18 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
---
pages/weiwailingliao/Kf_EntrustOutBillList.vue | 159 ++++++++++++++++++++++++----------------------------
1 files changed, 73 insertions(+), 86 deletions(-)
diff --git a/pages/weiwailingliao/Kf_EntrustOutBillList.vue b/pages/weiwailingliao/Kf_EntrustOutBillList.vue
index 5cb5aa7..b6e263b 100644
--- a/pages/weiwailingliao/Kf_EntrustOutBillList.vue
+++ b/pages/weiwailingliao/Kf_EntrustOutBillList.vue
@@ -1,42 +1,33 @@
<template>
<view class="content">
<view class="tabs">
- <view :class="tabs == 0 ? 'on':''" @tap="changeTab(0)">
- {{ $t("Kf_EntrustOutBillList.cacheList") == "Kf_EntrustOutBillList.cacheList" ? "缂撳瓨鍒楄〃" : $t("Kf_EntrustOutBillList.cacheList") }}
- </view>
- <view :class="tabs == 1 ? 'on':''" @tap="changeTab(1)">
- {{ $t("Kf_EntrustOutBillList.uploadedList") == "Kf_EntrustOutBillList.uploadedList" ? "宸蹭笂浼犲垪琛�" : $t("Kf_EntrustOutBillList.uploadedList") }}
- </view>
+ <view :class="tabs == 0 ? 'on':''" @tap="changeTab(0)">{{ $t("Kf_EntrustOutBillList_PDA.cacheList") == "Kf_EntrustOutBillList_PDA.cacheList" ? "缂撳瓨鍒楄〃" : $t("Kf_EntrustOutBillList_PDA.cacheList") }}</view>
+ <view :class="tabs == 1 ? 'on':''" @tap="changeTab(1)">{{ $t("Kf_EntrustOutBillList_PDA.updatedList") == "Kf_EntrustOutBillList_PDA.updatedList" ? "宸蹭笂浼犲垪琛�" : $t("Kf_EntrustOutBillList_PDA.updatedList") }}</view>
</view>
<view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
<view class="form" v-if="tabs == 0">
<view class="buttons" @tap="add">
- <uni-icons type="plus" style="margin-right: 10rpx;" size="22"></uni-icons>
- {{ $t("Kf_EntrustOutBillList.btnAdd") == "Kf_EntrustOutBillList.btnAdd" ? "鏂板" : $t("Kf_EntrustOutBillList.btnAdd") }}
+ <uni-icons type="plus" style="margin-right: 10rpx;" size="22"></uni-icons>{{ $t("Kf_EntrustOutBillList_PDA.btnAdd") == "Kf_EntrustOutBillList_PDA.btnAdd" ? "鏂板" : $t("Kf_EntrustOutBillList_PDA.btnAdd") }}
</view>
</view>
<view class="form" v-if="tabs == 1">
<view class="form-item">
- <view class="title">{{ $t("Kf_EntrustOutBillList.billNo") == "Kf_EntrustOutBillList.billNo" ? "鍗曟嵁鍙�:" : $t("Kf_EntrustOutBillList.billNo") }}:</view>
+ <view class="title">{{ $t("Kf_EntrustOutBillList_PDA.billNo") == "Kf_EntrustOutBillList_PDA.billNo" ? "鍗曟嵁鍙�" : $t("Kf_EntrustOutBillList_PDA.billNo") }}:</view>
<view class="right">
- <input v-model="hform.HBillNo" :placeholder="$t('Kf_EntrustOutBillList.billNoPlaceholder') == 'Kf_EntrustOutBillList.billNoPlaceholder' ? '璇疯緭鍏ュ崟鎹彿' : $t('Kf_EntrustOutBillList.billNoPlaceholder')" />
+ <input v-model="hform.HBillNo" :placeholder="billNoPlaceholder" />
</view>
</view>
<view class="form-item">
- <view class="title">{{ $t("Gy.HMainSourceBillNo") == "Gy.HMainSourceBillNo" ? "婧愬崟鍗曞彿:" : $t("Gy.HMainSourceBillNo") }}:</view>
+ <view class="title">{{ $t("Kf_EntrustOutBillList_PDA.sourceBillNo") == "Kf_EntrustOutBillList_PDA.sourceBillNo" ? "婧愬崟鍗曞彿" : $t("Kf_EntrustOutBillList_PDA.sourceBillNo") }}:</view>
<view class="right">
- <input v-model="hform.HSourceBillNo" :placeholder="$t('Kf_EntrustOutBillList.sourceBillNoPlaceholder') == 'Kf_EntrustOutBillList.sourceBillNoPlaceholder' ? '璇疯緭鍏ユ簮鍗曞崟鍙�' : $t('Kf_EntrustOutBillList.sourceBillNoPlaceholder')" />
+ <input v-model="hform.HSourceBillNo" :placeholder="sourceBillNoPlaceholder" />
</view>
</view>
<view class="buttons">
- <button class="btn-a" size="mini" type="default" @tap="clear">
- {{ $t("Kf_EntrustOutBillList.btn_Reset") == "Kf_EntrustOutBillList.btn_Reset" ? "閲嶇疆" : $t("Kf_EntrustOutBillList.btn_Reset") }}
- </button>
- <button class="btn-c" size="mini" type="default" @tap="search">
- {{ $t("Kf_EntrustOutBillList.btn_Query") == "Kf_EntrustOutBillList.btn_Query" ? "鏌ヨ" : $t("Kf_EntrustOutBillList.btn_Query") }}
- </button>
+ <button class="btn-a" size="mini" type="default" @tap="clear">{{ $t("Kf_EntrustOutBillList_PDA.btn_Reset") == "Kf_EntrustOutBillList_PDA.btn_Reset" ? "閲嶇疆" : $t("Kf_EntrustOutBillList_PDA.btn_Reset") }}</button>
+ <button class="btn-c" size="mini" type="default" @tap="search">{{ $t("Kf_EntrustOutBillList_PDA.btn_Query") == "Kf_EntrustOutBillList_PDA.btn_Query" ? "鏌ヨ" : $t("Kf_EntrustOutBillList_PDA.btn_Query") }}</button>
</view>
</view>
@@ -46,85 +37,75 @@
<uni-card :title="item.鍒跺崟鏃ユ湡.substr(0,10)" :extra="item.鍗曟嵁鍙�" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
<view class="card-detail">
<view class="detail" v-if="item.鍒跺崟浜�">
- <text>{{ $t("Gy.HMaker") == "Gy.HMaker" ? "鍒跺崟浜猴細" : $t("Gy.HMaker") }}锛�</text>{{item.鍒跺崟浜簘}
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Maker") == "Kf_EntrustOutBillList_PDA.table_Maker" ? "鍒跺崟浜�" : $t("Kf_EntrustOutBillList_PDA.table_Maker") }}锛�</text>{{item.鍒跺崟浜簘}
</view>
<view class="detail" v-if="item.鍗曟嵁鍐呯爜">
- <text>{{ $t("Kf_EntrustOutBillList.table_BillID") == "Kf_EntrustOutBillList.table_BillID" ? "鍗曟嵁鍐呯爜锛�" : $t("Kf_EntrustOutBillList.table_BillID") }}锛�</text>{{item.鍗曟嵁鍐呯爜}}
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_BillID") == "Kf_EntrustOutBillList_PDA.table_BillID" ? "鍗曟嵁鍐呯爜" : $t("Kf_EntrustOutBillList_PDA.table_BillID") }}锛�</text>{{item.鍗曟嵁鍐呯爜}}
</view>
<view class="detail" v-if="item.鏁伴噺">
- <text>{{ $t("Gy.HQty") == "Gy.HQty" ? "鏁伴噺锛�" : $t("Gy.HQty") }}锛�</text>{{item.鏁伴噺}}
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Qty") == "Kf_EntrustOutBillList_PDA.table_Qty" ? "鏁伴噺" : $t("Kf_EntrustOutBillList_PDA.table_Qty") }}锛�</text>{{item.鏁伴噺}}
</view>
<view class="detail" v-if="item.婧愬崟鍗曞彿">
- <text>{{ $t("Gy.HMainSourceBillNo") == "Gy.HMainSourceBillNo" ? "婧愬崟鍗曞彿锛�" : $t("Gy.HMainSourceBillNo") }}锛�</text>{{item.婧愬崟鍗曞彿}}
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_SourceBillNo") == "Kf_EntrustOutBillList_PDA.table_SourceBillNo" ? "婧愬崟鍗曞彿" : $t("Kf_EntrustOutBillList_PDA.table_SourceBillNo") }}锛�</text>{{item.婧愬崟鍗曞彿}}
</view>
<view class="detail" v-if="item.缁勭粐">
- <text>{{ $t("Kf_EntrustOutBillList.table_Org") == "Kf_EntrustOutBillList.table_Org" ? "缁勭粐锛�" : $t("Kf_EntrustOutBillList.table_Org") }}锛�</text>{{item.缁勭粐}}
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Org") == "Kf_EntrustOutBillList_PDA.table_Org" ? "缁勭粐" : $t("Kf_EntrustOutBillList_PDA.table_Org") }}锛�</text>{{item.缁勭粐}}
</view>
</view>
<view class="more">
<view class="part" style="border-right: 1px solid #eee;color: #3a78ff;" @tap.stop="edit(item)">
- <uni-icons type="compose" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>
- {{ $t("Kf_EntrustOutBillList.btn_Edit") == "Kf_EntrustOutBillList.btn_Edit" ? "缂栬緫" : $t("Kf_EntrustOutBillList.btn_Edit") }}
+ <uni-icons type="compose" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("Kf_EntrustOutBillList_PDA.btn_Edit") == "Kf_EntrustOutBillList_PDA.btn_Edit" ? "缂栬緫" : $t("Kf_EntrustOutBillList_PDA.btn_Edit") }}
</view>
<view class="part" style="color: #da0000;" @tap.stop="del(item)">
- <uni-icons type="trash" style="color: #da0000;margin-right: 10rpx;" size="18"></uni-icons>
- {{ $t("Kf_EntrustOutBillList.btn_Del") == "Kf_EntrustOutBillList.btn_Del" ? "鍒犻櫎" : $t("Kf_EntrustOutBillList.btn_Del") }}
+ <uni-icons type="trash" style="color: #da0000;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("Kf_EntrustOutBillList_PDA.btn_Del") == "Kf_EntrustOutBillList_PDA.btn_Del" ? "鍒犻櫎" : $t("Kf_EntrustOutBillList_PDA.btn_Del") }}
</view>
</view>
</uni-card>
</view>
<view class="list" v-for="(item,index) in showList" :key="index" v-if="tabs==1">
- <uni-card :title="item.鏃ユ湡" :extra="item.鍗曟嵁鍙�" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
- <view class="card-detail">
- <view class="detail" v-if="item.鐘舵��">
- <text>{{ $t("Kf_EntrustOutBillList.table_Status") == "Kf_EntrustOutBillList.table_Status" ? "鐘舵�侊細" : $t("Kf_EntrustOutBillList.table_Status") }}锛�</text>{{item.鐘舵�亇}
- </view>
- <view class="detail" v-if="item.鍒跺崟浜�">
- <text>{{ $t("Gy.HMaker") == "Gy.HMaker" ? "鍒跺崟浜猴細" : $t("Gy.HMaker") }}锛�</text>{{item.鍒跺崟浜簘}
- </view>
- <view class="detail" v-if="item.鏁伴噺">
- <text>{{ $t("Gy.HQty") == "Gy.HQty" ? "鏁伴噺锛�" : $t("Gy.HQty") }}锛�</text>{{item.鏁伴噺}}
- </view>
- <view class="detail" v-if="item.婧愬崟鍗曞彿">
- <text>{{ $t("Gy.HMainSourceBillNo") == "Gy.HMainSourceBillNo" ? "婧愬崟鍗曞彿锛�" : $t("Gy.HMainSourceBillNo") }}锛�</text>{{item.婧愬崟鍗曞彿}}
- </view>
- <view class="detail" v-if="item.鐗╂枡浠g爜">
- <text>{{ $t("Gy.HNumber") == "Gy.HNumber" ? "鐗╂枡浠g爜锛�" : $t("Gy.HNumber") }}锛�</text>{{item.鐗╂枡浠g爜}}
- </view>
- <view class="detail" v-if="item.鐗╂枡鍚嶇О">
- <text>{{ $t("Gy.HName") == "Gy.HName" ? "鐗╂枡鍚嶇О锛�" : $t("Gy.HName") }}锛�</text>{{item.鐗╂枡鍚嶇О}}
- </view>
- <view class="detail" v-if="item.瑙勬牸鍨嬪彿">
- <text>{{ $t("Gy.HModel") == "Gy.HModel" ? "瑙勬牸鍨嬪彿锛�" : $t("Gy.HModel") }}锛�</text>{{item.瑙勬牸鍨嬪彿}}
- </view>
- <view class="detail" v-if="item.缁勭粐">
- <text>{{ $t("Kf_EntrustOutBillList.table_Org") == "Kf_EntrustOutBillList.table_Org" ? "缁勭粐锛�" : $t("Kf_EntrustOutBillList.table_Org") }}锛�</text>{{item.缁勭粐}}
- </view>
- </view>
+ <uni-card :title="item.鏃ユ湡" :extra="item.鍗曟嵁鍙�" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
+ <view class="card-detail">
+ <view class="detail" v-if="item.鐘舵��">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Status") == "Kf_EntrustOutBillList_PDA.table_Status" ? "鐘舵��" : $t("Kf_EntrustOutBillList_PDA.table_Status") }}锛�</text>{{item.鐘舵�亇}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Maker") == "Kf_EntrustOutBillList_PDA.table_Maker" ? "鍒跺崟浜�" : $t("Kf_EntrustOutBillList_PDA.table_Maker") }}锛�</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鏁伴噺">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Qty") == "Kf_EntrustOutBillList_PDA.table_Qty" ? "鏁伴噺" : $t("Kf_EntrustOutBillList_PDA.table_Qty") }}锛�</text>{{item.鏁伴噺}}
+ </view>
+ <view class="detail" v-if="item.婧愬崟鍗曞彿">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.sourceBillNo") == "Kf_EntrustOutBillList_PDA.sourceBillNo" ? "婧愬崟鍗曞彿" : $t("Kf_EntrustOutBillList_PDA.sourceBillNo") }}锛�</text>{{item.婧愬崟鍗曞彿}}
+ </view>
+ <view class="detail" v-if="item.鐗╂枡浠g爜">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_MaterNumber") == "Kf_EntrustOutBillList_PDA.table_MaterNumber" ? "鐗╂枡浠g爜" : $t("Kf_EntrustOutBillList_PDA.table_MaterNumber") }}锛�</text>{{item.鐗╂枡浠g爜}}
+ </view>
+ <view class="detail" v-if="item.鐗╂枡鍚嶇О">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_MaterName") == "Kf_EntrustOutBillList_PDA.table_MaterName" ? "鐗╂枡鍚嶇О" : $t("Kf_EntrustOutBillList_PDA.table_MaterName") }}锛�</text>{{item.鐗╂枡鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.瑙勬牸鍨嬪彿">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_MaterModel") == "Kf_EntrustOutBillList_PDA.table_MaterModel" ? "瑙勬牸鍨嬪彿" : $t("Kf_EntrustOutBillList_PDA.table_MaterModel") }}锛�</text>{{item.瑙勬牸鍨嬪彿}}
+ </view>
+ <view class="detail" v-if="item.缁勭粐">
+ <text>{{ $t("Kf_EntrustOutBillList_PDA.table_Org") == "Kf_EntrustOutBillList_PDA.table_Org" ? "缁勭粐" : $t("Kf_EntrustOutBillList_PDA.table_Org") }}锛�</text>{{item.缁勭粐}}
+ </view>
+ </view>
- <view class="more">
- <view class="part" style="color: #3a78ff;width: 100%;" @tap.stop="qrCodeDisplay(item)">
- <uni-icons type="scan" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>
- {{ $t("Kf_EntrustOutBillList.btn_DisplayCode") == "Kf_EntrustOutBillList.btn_DisplayCode" ? "鏄剧ず浜岀淮鐮�" : $t("Kf_EntrustOutBillList.btn_DisplayCode") }}
- </view>
- <view class="part" style="color: #d98d00;width: 100%;" @tap.stop="revoke(item)">
- <uni-icons type="undo" style="color: #d98d00;margin-right: 10rpx;" size="18"></uni-icons>
- {{ $t("Kf_EntrustOutBillList.btn_Revoke") == "Kf_EntrustOutBillList.btn_Revoke" ? "鎾ら攢" : $t("Kf_EntrustOutBillList.btn_Revoke") }}
- </view>
- </view>
- </uni-card>
+ <view class="more">
+ <view class="part" style="color: #3a78ff;width: 100%;" @tap.stop="qrCodeDisplay(item)">
+ <uni-icons type="scan" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("Kf_EntrustOutBillList_PDA.btn_DisplayCode") == "Kf_EntrustOutBillList_PDA.btn_DisplayCode" ? "鏄剧ず浜岀淮鐮�" : $t("Kf_EntrustOutBillList_PDA.btn_DisplayCode") }}
+ </view>
+ <view class="part" style="color: #d98d00;width: 100%;" @tap.stop="revoke(item)">
+ <uni-icons type="undo" style="color: #d98d00;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("Kf_EntrustOutBillList_PDA.btn_Revoke") == "Kf_EntrustOutBillList_PDA.btn_Revoke" ? "鎾ら攢" : $t("Kf_EntrustOutBillList_PDA.btn_Revoke") }}
+ </view>
+ </view>
+ </uni-card> <!-- 娣诲姞闂悎鏍囩 -->
</view>
- <view class="over" v-if="!listData || listData.length == 0">
- {{ $t("Kf_EntrustOutBillList.noData") == "Kf_EntrustOutBillList.noData" ? "鏆傛棤鏁版嵁" : $t("Kf_EntrustOutBillList.noData") }}
- </view>
- <view class="over" v-if="listData.length != 0 && listData.length != showList.length">
- {{ $t("Kf_EntrustOutBillList.Loading") == "Kf_EntrustOutBillList.Loading" ? "鍔犺浇涓�..." : $t("Kf_EntrustOutBillList.Loading") }}
- </view>
- <view class="over" v-if="listData.length != 0 && listData.length == showList.length">
- {{ $t("Kf_EntrustOutBillList.bottom") == "Kf_EntrustOutBillList.bottom" ? "宸插埌搴�" : $t("Kf_EntrustOutBillList.bottom") }}
- </view>
+ <view class="over" v-if="!listData || listData.length == 0">{{ $t("Kf_EntrustOutBillList_PDA.noDate") == "Kf_EntrustOutBillList_PDA.noDate" ? "鏆傛棤鏁版嵁" : $t("Kf_EntrustOutBillList_PDA.noDate") }}</view>
+ <view class="over" v-if="listData.length != 0 && listData.length != showList.length">{{ $t("Kf_EntrustOutBillList_PDA.Loading") == "Kf_EntrustOutBillList_PDA.Loading" ? "鍔犺浇涓�..." : $t("Kf_EntrustOutBillList_PDA.Loading") }}</view>
+ <view class="over" v-if="listData.length != 0 && listData.length == showList.length">{{ $t("Kf_EntrustOutBillList_PDA.bottom") == "Kf_EntrustOutBillList_PDA.bottom" ? "宸插埌搴�" : $t("Kf_EntrustOutBillList_PDA.bottom") }}</view>
<BarCodePopupVue ref="barcodePopup"></BarCodePopupVue>
</view>
</template>
@@ -139,7 +120,7 @@
serverUrl: uni.getStorageSync('serverUrl')||'http://47.96.97.237/API',
tabs:0,
urls:'/WEBSController/GetKf_PonderationBillMain_TempList_New_Json',
- MvarReportTitle: this.$t('Kf_EntrustOutBillList.reportTitle') == 'Kf_EntrustOutBillList.reportTitle' ? '鐢熶骇棰嗘枡鍗曠紦瀛樺垪琛�' : this.$t('Kf_EntrustOutBillList.reportTitle'),
+ MvarReportTitle:'鐢熶骇棰嗘枡鍗曠紦瀛樺垪琛�',
hform:{
HBillNo:'',
HSourceBillNo:'',
@@ -153,10 +134,15 @@
showDetail:-1,
page:1,
+ billNoPlaceholder:this.$t("Kf_EntrustOutBillList_PDA.billNoPlaceholder") == "Kf_EntrustOutBillList_PDA.billNoPlaceholder" ? "璇疯緭鍏ュ崟鎹彿" : this.$t("Kf_EntrustOutBillList_PDA.billNoPlaceholder"),
+ sourceBillNoPlaceholder:this.$t("MoveStockBillList.sourceBillNoPlaceholder") == "Kf_EntrustOutBillList_PDA.sourceBillNoPlaceholder" ? "璇疯緭鍏ユ簮鍗曠紪鍙�" : this.$t("Kf_EntrustOutBillList_PDA.sourceBillNoPlaceholder"),
}
},
onShow() {
//鐢ㄦ埛妯″潡鏉冮檺鍒ゆ柇
+ uni.setNavigationBarTitle({
+ title: this.$t("Kf_EntrustOutBillList_PDA.title") == 'Kf_EntrustOutBillList_PDA.title' ? '濮斿棰嗘枡' : this.$t("Kf_EntrustOutBillList_PDA.title")
+ })
this.CheckModRight()
this.changeTab(0)
console.log(this.userInfo,uni.getStorageSync('HUserName'))
@@ -200,7 +186,7 @@
fail: (res) => {
console.log(res);
uni.showToast({
- title: this.$t('Kf_EntrustOutBillList.requestFailed') == 'Kf_EntrustOutBillList.requestFailed' ? '鎺ュ彛璇锋眰澶辫触' : this.$t('Kf_EntrustOutBillList.requestFailed'),
+ title:'鎺ュ彛璇锋眰澶辫触',
icon:'none'
})
},
@@ -227,7 +213,7 @@
},
getList(){
uni.showLoading({
- title: this.$t('Kf_EntrustOutBillList.loadingTitle') == 'Kf_EntrustOutBillList.loadingTitle' ? '鍔犺浇涓�...' : this.$t('Kf_EntrustOutBillList.loadingTitle')
+ title:'鍔犺浇涓�...'
})
uni.request({
url: this.serverUrl + this.urls,
@@ -253,7 +239,7 @@
console.log(res);
uni.hideLoading()
uni.showToast({
- title: this.$t('Kf_EntrustOutBillList.requestFailed') == 'Kf_EntrustOutBillList.requestFailed' ? '鎺ュ彛璇锋眰澶辫触' : this.$t('Kf_EntrustOutBillList.requestFailed'),
+ title:'鎺ュ彛璇锋眰澶辫触',
icon:'none'
})
},
@@ -318,7 +304,7 @@
console.log(res);
uni.hideLoading()
uni.showToast({
- title: this.$t('Kf_EntrustOutBillList.requestFailed') == 'Kf_EntrustOutBillList.requestFailed' ? '鎺ュ彛璇锋眰澶辫触' : this.$t('Kf_EntrustOutBillList.requestFailed'),
+ title:'鎺ュ彛璇锋眰澶辫触',
icon:'none'
})
},
@@ -328,8 +314,8 @@
del(item){
// console.log(item.hmainid,uni.getStorageSync('HUserName'))
uni.showModal({
- title: this.$t('Kf_EntrustOutBillList.confirmTitle') == 'Kf_EntrustOutBillList.confirmTitle' ? '鎻愮ず' : this.$t('Kf_EntrustOutBillList.confirmTitle'),
- content: this.$t('Kf_EntrustOutBillList.delConfirm') == 'Kf_EntrustOutBillList.delConfirm' ? '纭瑕佸垹闄よ褰曪紵鍒犻櫎鍚庝笉鑳芥仮澶�' : this.$t('Kf_EntrustOutBillList.delConfirm'),
+ title: '鎻愮ず',
+ content: '纭瑕佸垹闄よ褰曪紵鍒犻櫎鍚庝笉鑳芥仮澶�',
success: (res) => {
if (res.confirm) {
console.log('鐢ㄦ埛鐐瑰嚮纭畾');
@@ -356,7 +342,7 @@
console.log(res);
uni.hideLoading()
uni.showToast({
- title: this.$t('Kf_EntrustOutBillList.requestFailed') == 'Kf_EntrustOutBillList.requestFailed' ? '鎺ュ彛璇锋眰澶辫触' : this.$t('Kf_EntrustOutBillList.requestFailed'),
+ title:'鎺ュ彛璇锋眰澶辫触',
icon:'none'
})
},
@@ -371,8 +357,8 @@
revoke(item){
// console.log(item.hmainid,uni.getStorageSync('HUserName'))
uni.showModal({
- title: this.$t('Kf_EntrustOutBillList.confirmTitle') == 'Kf_EntrustOutBillList.confirmTitle' ? '鎻愮ず' : this.$t('Kf_EntrustOutBillList.confirmTitle'),
- content: this.$t('Kf_EntrustOutBillList.revokeConfirm') == 'Kf_EntrustOutBillList.revokeConfirm' ? '鏄惁纭鎾ら攢' : this.$t('Kf_EntrustOutBillList.revokeConfirm'),
+ title: '鎻愮ず',
+ content: '鏄惁纭鎾ら攢',
success: (res) => {
if (res.confirm) {
console.log('鐢ㄦ埛鐐瑰嚮纭畾');
@@ -399,7 +385,7 @@
console.log(res);
uni.hideLoading()
uni.showToast({
- title: this.$t('Kf_EntrustOutBillList.requestFailed') == 'Kf_EntrustOutBillList.requestFailed' ? '鎺ュ彛璇锋眰澶辫触' : this.$t('Kf_EntrustOutBillList.requestFailed'),
+ title:'鎺ュ彛璇锋眰澶辫触',
icon:'none'
})
},
@@ -526,4 +512,5 @@
}
}
}
-</style>
\ No newline at end of file
+
+</style>
--
Gitblit v1.9.1