1
xuxueyang
2024-08-01 5a8e8574dc216dd6b6e819099f921973bfb5b4a7
1
已修改3个文件
10 ■■■■ 文件已修改
manifest.json 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
plugins/message.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/supplier/order-settlement/order-settlement.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -56,7 +56,11 @@
            "minified" : true
        },
        "usingComponents" : true,
        "permission" : {},
        "permission" : {
            "scope.userLocation" : {
                "desc" : "获取店铺位置与实现蓝牙打印功能"
            }
        },
        "plugins" : {}
    },
    // "chooseLocation" : {
plugins/message.js
@@ -6,7 +6,7 @@
            title,
            icon: 'none',
            mask: false,
            duration: 1500,
            duration: 2000,
            position: 'center'
        }
        if (options && options.image) {
sub_pages/supplier/order-settlement/order-settlement.vue
@@ -84,6 +84,7 @@
</template>
<script>
import moment from 'moment'
    export default {
        data() {
            return {
@@ -126,6 +127,7 @@
                    if (index === 0) {
                        var currentMonthStr = this.$util.toDate(new Date()).substring(0, 8) + '01'
                        this.query.startDateStr = currentMonthStr
                        // moment().startOf
                        var lastMonthDate = new Date(new Date(this.$util.toDate(new Date(currentMonthStr).getTime() +
                            3600_000 * 24 * 40).substring(0, 8) + '01').getTime() - 3600_000 * 24 * 1)
                        this.query.endDateStr = this.$util.toDate(lastMonthDate)