guanqb
2024-02-20 db5319bb1ff3f56ad6841027482a6f5d8b547acf
交易登记修改
1 files modified
132 ■■■■■ changed files
src/views/publicSecurity/positionManage/TransactRegist.vue 132 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/positionManage/TransactRegist.vue
@@ -139,7 +139,52 @@
                selection: true,
                dialogClickModal: false,
                column: [
                    {
                        width: 110,
                        span: 12,
                        label: "场所负责人",
                        prop: "owner",
                        searchSpan: 4,
                        searchLabelWidth: 100,
                        search: true,
                        align: 'center'
                    }, {
                        width: 120,
                        span: 12,
                        label: "联系方式",
                        prop: "phoneNumber",
                        searchSpan: 4,
                        search: true,
                        rules: [{
                            validator: validatorPhone,
                            trigger: 'blur'
                        }],
                        align: 'center'
                    },
                    {
                        width: 110,
                        span: 12,
                        label: "场所名称",
                        prop: "districtName",
                        searchSpan: 4,
                        searchLabelWidth: 100,
                        search: true,
                        align: 'center'
                    },
                    {
                        label: "阵地类型",
                        prop: "frontType",
                        dicUrl: "/api/blade-system/dict-biz/tree?code=frontType",
                        props: {
                            label: "title",
                            value: "key",
                        },
                        type: 'select',
                        search: true,
                        searchSpan: 4,
                        align: 'center',
                        width: 120,
                    },
                {
                    width: 110,
                    span: 12,
@@ -158,7 +203,8 @@
                    searchSpan: 4,
                    searchLabelWidth: 100,
                    search: true,
                    align: 'center'
                        align: 'center',
                        labelWidth: 110,
                },
                {
                    width: 110,
@@ -187,39 +233,21 @@
                {
                    width: 110,
                    span: 12,
                    label: "场所名称",
                    prop: "placeName",
                    searchSpan: 4,
                    searchLabelWidth: 100,
                    search: true,
                        label: "交易过程",
                        prop: "transactionProcess",
                    align: 'center'
                },
                {
                    width: 110,
                        width: 140,
                    span: 12,
                    label: "场所负责人",
                    prop: "principal",
                    searchSpan: 4,
                    searchLabelWidth: 100,
                    search: true,
                        label: "发生时间",
                        prop: "happenTime",
                    align: 'center'
                }, {
                    width: 120,
                    span: 12,
                    label: "联系方式",
                    prop: "principalPhone",
                    searchSpan: 4,
                    search: true,
                    rules: [{
                        validator: validatorPhone,
                        trigger: 'blur'
                    }],
                    align: 'center'
                }, {
                    overHidee: true,
                    },
                    {
                    span: 12,
                    label: "地址",
                    prop: "location",
                        prop: "localtion",
                    searchSpan: 4,
                    minWidth:220,
                    overHidden:true,
@@ -247,20 +275,7 @@
                    prop: "communityName",
                    align: 'center'
                },
                {
                    label: "阵地类型",
                    prop: "frontType",
                    dicUrl: "/api/blade-system/dict-biz/tree?code=frontType",
                    props: {
                        label: "title",
                        value: "key",
                    },
                    type: 'select',
                    search: true,
                    searchSpan:4,
                    align: 'center',
                    width: 120,
                },
                {
                    width: 100,
                    addDisplay: false,
@@ -284,10 +299,29 @@
                        value: 4
                    }],
                    align: 'center'
                }],
                    }, {
                        width: 110,
                        label: '物品图片',
                        prop: 'goodsImageUrls',
                        fileType: 'img',
                        type: "upload",
                        listType: "picture-card",
                        dataType: "string",
                        disabled: true,
                        span: 12,
                    }, {
                        width: 110,
                        label: '身份证照片',
                        prop: 'imageUrls',
                        fileType: 'img',
                        type: "upload",
                        listType: "picture-card",
                        dataType: "string",
                        disabled: true,
                        span: 12,
                    },],
            },
            data: [],
            auditBasePopup: false,
        }
    },
@@ -572,7 +606,7 @@
        },
        beforeOpen (done, type) {
            if (["edit", "view"].includes(type)) {
            if (["edit"].includes(type)) {
                getDetail(this.form.id).then((res) => {
                  this.form = res.data.data
                  done()
@@ -625,6 +659,14 @@
                        })
                        item.imageUrls = urls.join(",")
                    }
                    if (item.goodsImageUrls && item.goodsImageUrls != '' && item.goodsImageUrls != null && item.goodsImageUrls.length) {
                        var urls = []
                        var names = item.goodsImageUrls.split(",").filter(item => item != '')
                        names.forEach(name => {
                            urls.push(website.minioUrl + name)
                        })
                        item.goodsImageUrls = urls.join(",")
                    }
                })
                this.loading = false
                this.selectionClear()