li.shaoyi vor 1 Jahr
Ursprung
Commit
b17a72b39a

+ 1 - 1
app/package.json

@@ -1,6 +1,6 @@
 {
   "name": "trading",
-  "version": "1.0.2",
+  "version": "1.0.13",
   "main": "main.js",
   "dependencies": {
     "electron-updater": "^6.1.4",

+ 2 - 2
oem/gcszt/config/appconfig.json

@@ -1,8 +1,8 @@
 {
   "appId": "com.muchinfo.gcszt",
   "appName": "贵茶数字通",
-  "version": "1.0.12",
-  "versionCode": "100012",
+  "version": "1.0.13",
+  "versionCode": "100013",
   "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204",
   "tradeChannel": "ws",
   "modules": [

+ 3 - 3
oem/gcszt/manifest.json

@@ -1,13 +1,13 @@
 {
     "@platforms" : [ "android", "iPhone", "iPad" ],
-    "id" : "H5E4A9458",
+    "id" : "H5A27263D",
     /*应用的标识*/
     "name" : "贵茶数字通",
     /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "1.0.12",
+        "name" : "1.0.0",
         /*应用版本名称*/
-        "code" : 100012
+        "code" : 100000
     },
     "description" : "",
     /*应用描述信息*/

+ 2 - 2
oem/sbyj/config/appconfig.json

@@ -1,8 +1,8 @@
 {
   "appId": "com.muchinfo.sbyj",
   "appName": "水贝亿爵",
-  "version": "1.0.13",
-  "versionCode": "100013",
+  "version": "1.0.14",
+  "versionCode": "100014",
   "apiUrl": "http://192.168.31.171:8080/cfg?key=test_171",
   "tradeChannel": "ws",
   "modules": [

+ 4 - 4
oem/sbyj/manifest.json

@@ -1,13 +1,13 @@
 {
     "@platforms" : [ "android", "iPhone", "iPad" ],
-    "id" : "H5E4A9458",
+    "id" : "H5A27263D",
     /*应用的标识*/
     "name" : "水贝亿爵",
     /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "1.0.2",
+        "name" : "1.0.0",
         /*应用版本名称*/
-        "code" : 100002
+        "code" : 100000
     },
     "description" : "",
     /*应用描述信息*/
@@ -153,7 +153,7 @@
                     "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
                     "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>"
                 ],
-                "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ],
+                "abiFilters" : [ "arm64-v8a" ],
                 "autoSdkPermissions" : false,
                 "minSdkVersion" : 26
             },

+ 2 - 2
oem/thj/config/appconfig.json

@@ -1,8 +1,8 @@
 {
   "appId": "com.muchinfo.thj",
   "appName": "铁合金掌上行",
-  "version": "1.0.5",
-  "versionCode": "100005",
+  "version": "1.1.3",
+  "versionCode": "100103",
   "apiUrl": "http://192.168.31.167:8080/cfg?key=test_167",
   "tradeChannel": "ws",
   "modules": [

+ 1 - 1
oem/thj/manifest.json

@@ -1,6 +1,6 @@
 {
     "@platforms" : [ "android", "iPhone", "iPad" ],
-    "id" : "H5E4A9458",
+    "id" : "H5A27263D",
     /*应用的标识*/
     "name" : "铁合金掌上行",
     /*应用名称,程序桌面图标名称*/

+ 1 - 1
src/business/login/index.ts

@@ -107,7 +107,7 @@ export function useLogin(persist = false) {
                     GUID: v4(),
                     LoginType: 0,
                     ClientType: payload.clientType,
-                    Version: '2.0.0.3'
+                    Version: '2.0.0.4'
                 })
                 // 首次登录是否强制修改密码
                 forcedPasswordChange = globalStore.getSystemInfo('forcedPasswordChange') && res.HasUpdatedPwd === 0

+ 1 - 1
src/hooks/date-picker/index.ts

@@ -6,7 +6,7 @@ import moment from 'moment'
  * @param day 
  * @returns 
  */
-export function useDateRange(day = 7, format = 'YYYYMMDD') {
+export function useDateRange(day = 6, format = 'YYYYMMDD') {
     const endDate = moment(new Date())
     const startDate = endDate.clone().subtract(day, 'days')
     const dateValue = ref<string[]>([startDate.format(format), endDate.format(format)])

+ 1 - 0
src/packages/mobile/components/modules/delivery/index.vue

@@ -151,6 +151,7 @@ const onSubmit = () => {
                 LadingBillID: handleRequestBigNumber(item.ladingbillid ?? '0'),// 提单ID
                 SubNum: item.subnum, // 提单子单号
                 WRFactorTypeID: handleRequestBigNumber(item.wrfactortypeid ?? '0'), // 仓单要素类型ID
+                WarehouseID: item.warehouseid
             }
             formData.ClientSerialNo = v4()
             formData.ClientOrderTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')

+ 15 - 0
src/packages/mobile/views/bank/capital/statement/history/index.less

@@ -0,0 +1,15 @@
+.dropdown-bar {
+    color: #666;
+    background-color: #fff;
+
+    button {
+        &::after {
+            content: '';
+            width: 0;
+            height: 0;
+            border-right: 6px solid transparent;
+            border-left: 6px solid transparent;
+            border-top: 6px solid red;
+        }
+    }
+}

+ 27 - 17
src/packages/mobile/views/bank/capital/statement/history/index.vue

@@ -6,15 +6,17 @@
                     <template #footer>
                         <Field name="operateType" label="资金类型" is-link input-align="right">
                             <template #input>
-                                <app-select v-model="operatetype" placeholder="请选择资金类型" :options="operateTypeSearchList" :optionProps="{ label: 'label', value: 'value' }" @confirm="onSelectConfirm"/>
+                                <app-select v-model="operatetype" placeholder="请选择资金类型" :options="operateTypeSearchList"
+                                    :optionProps="{ label: 'label', value: 'value' }" @confirm="onSelectConfirm" />
                             </template>
                         </Field>
-                        <Cell title="查询日期" :value="dateRange.join('-')" @click="showCalendar = true" is-link />
+                        <Cell title="查询日期" :value="`${hisAmountLogReq.startDate}-${hisAmountLogReq.endDate}`"
+                            @click="showCalendar = true" is-link />
                     </template>
                 </app-navbar>
             </template>
-            <app-pull-refresh ref="pullRefreshRef" v-model:loading="loading" v-model:error="error" v-model:pageIndex="pageIndex"
-                :page-count="pageCount" @refresh="onRefresh">
+            <app-pull-refresh ref="pullRefreshRef" v-model:loading="loading" v-model:error="error"
+                v-model:pageIndex="pageIndex" :page-count="pageCount" @refresh="onRefresh">
                 <app-list class="bank-hisstatement__table" :columns="columns" :data-list="dataList">
                     <template #createtime="{ value }">
                         <span>{{ formatDate(value, 'YYYY-MM-DD') }}</span>
@@ -22,13 +24,14 @@
                     </template>
                 </app-list>
             </app-pull-refresh>
-            <Calendar v-model:show="showCalendar" type="range" :max-date="new Date()" :min-date="moment().subtract(1, 'years').toDate()" @confirm="onConfirm" />
+            <Calendar v-model:show="showCalendar" type="range" :max-range="7" :default-date="dateValue"
+                :max-date="new Date()" :min-date="moment().subtract(1, 'years').toDate()" @confirm="onConfirm" />
         </app-view>
     </app-modal>
 </template>
 
 <script lang="ts" setup>
-import { shallowRef, ref } from 'vue'
+import { shallowRef, ref, computed } from 'vue'
 import { formatDate } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { queryHisAmountLog } from '@/services/api/bank'
@@ -44,16 +47,27 @@ const showModal = shallowRef(true)
 const dataList = shallowRef<Model.HisAmountLogRsp[]>([])
 const error = shallowRef(false)
 const showCalendar = shallowRef(false) // 是否显示日期选择器
-const dateRange = ref<string[]>([]) // 日期范围
 const pullRefreshRef = shallowRef()
 /// 资金类型
 const operatetype = shallowRef(0)
 
+const endDate = moment(new Date())
+const startDate = endDate.clone().subtract(6, 'days')
+const dateValue = ref([startDate.toDate(), endDate.toDate()])
+
+const hisAmountLogReq = computed(() => {
+    const [begindate, enddate] = dateValue.value
+    return {
+        startDate: formatDate(begindate.toISOString(), 'YYYY-MM-DD'),
+        endDate: formatDate(enddate.toISOString(), 'YYYY-MM-DD'),
+    }
+})
+
 /// 查询数据
 const operateTypeSearchList = [{
-        label: '全部',
-        value: 0
-    }].concat(getOperateTypeSearchList())
+    label: '全部',
+    value: 0
+}].concat(getOperateTypeSearchList())
 
 const columns: Model.TableColumn[] = [
     { field: 'createtime', label: '时间' },
@@ -71,7 +85,7 @@ const { loading, pageIndex, pageCount, run } = useRequest(queryHisAmountLog, {
         if (pageIndex.value === 1) {
             dataList.value = res.data
             return
-        } 
+        }
         dataList.value.push(...res.data)
     },
     onError: () => {
@@ -82,7 +96,7 @@ const { loading, pageIndex, pageCount, run } = useRequest(queryHisAmountLog, {
 // 选择日期
 const onConfirm = ([start, end]: Date[]) => {
     showCalendar.value = false
-    dateRange.value = [formatDate(start.toISOString(), 'YYYY-MM-DD'), formatDate(end.toISOString(), 'YYYY-MM-DD')]
+    dateValue.value = [start, end]
     pageIndex.value = 1
     pullRefreshRef.value?.refresh()
 }
@@ -96,11 +110,7 @@ const onSelectConfirm = (value: number) => {
 }
 
 const onRefresh = () => {
-    const [begindate, enddate] = dateRange.value
-    run({
-        startDate: begindate,
-        endDate: enddate,
-    })
+    run(hisAmountLogReq.value)
 }
 
 // 关闭弹窗

+ 1 - 1
src/packages/mobile/views/news/detail/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view class="news-details">
         <template #header>
-            <app-navbar title="资讯详情">
+            <app-navbar title="详情">
                 <!-- <template #right>
                     <div @click="sendShareMessage" v-if="plus.hasPlus()">
                         <Icon name="share" size="18px" />

+ 1 - 0
src/packages/pc/components/modules/delivery/index.vue

@@ -163,6 +163,7 @@ const onSubmit = async () => {
                             LadingBillID: handleRequestBigNumber(e.ladingbillid),// 提单ID
                             SubNum: e.subnum, // 提单子单号
                             WRFactorTypeID: handleRequestBigNumber(e.wrfactortypeid), // 仓单要素类型ID
+                            WarehouseID: e.warehouseid
                         }
                     }
                 }).catch((err) => {

+ 1 - 1
src/packages/pc/views/auth/components/layout/index.less

@@ -59,6 +59,6 @@
         position: absolute;
         bottom: 10px;
         font-size: 12px;
-        color: rgba(255, 255, 255, .75);
+        color: rgba(255, 255, 255, .5);
     }
 }

+ 5 - 3
src/packages/pc/views/auth/components/layout/index.vue

@@ -14,8 +14,8 @@
         </div>
       </div>
     </div>
-    <div class="sign-layout__footer" v-if="false">
-      <span>Copyright ©{{ year }} 深圳市多元世纪信息技术股份有限公司 版权所有 粤ICP备00000000号</span>
+    <div class="sign-layout__footer">
+      <span>v1.0.{{ version }}</span>
     </div>
   </div>
 </template>
@@ -32,9 +32,11 @@ defineProps({
 })
 
 const globalStore = useGlobalStore()
-const year = new Date().getFullYear()
 const slogan = shallowRef('')
 
+const meta = document.getElementsByTagName('meta')
+const version = meta.namedItem('revised')?.content ?? '0'
+
 globalStore.getSystemConfig().then((res) => {
   console.log(res)
   slogan.value = res.slogan

+ 2 - 1
src/packages/pc/views/footer/spot/order/cancel/index.vue

@@ -12,6 +12,7 @@
 <script lang="ts" setup>
 import { ref, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
+import { handleRequestBigNumber } from '@/filters'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import { useWrListingCancelOrder } from '@/business/trade'
 
@@ -36,7 +37,7 @@ const onCancelSumit = () => {
     const { wrtradeorderid, buyorsell } = props.selectedRow
     ///  参数信息
     formData.Header = { MarketID: 17201 }
-    formData.OldWRTradeOrderID = wrtradeorderid
+    formData.OldWRTradeOrderID = handleRequestBigNumber(wrtradeorderid)
     formData.BuyOrSell = buyorsell
     /// 提交
     cancelSubmit().then(() => {