Dscins.vue 6.68 KB
Newer Older
liumin committed
1
<template>
liuxin committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
    <div class="eibs-tab">
        <!-- Left -->
        <c-col :span="12">
            <c-col :span="24">
                <el-form-item
                    label="不符点"
                    prop="bfdgrp.blk.docdis"
                    style="width: 100%"
                >
                    <c-fullbox>
                        <c-input
                            type="textarea"
                            v-model="model.bfdgrp.blk.docdis"
                            maxlength="50"
                            show-word-limit
                            placeholder="请输入不符点"
18
                            :disabled="!docdisflg"
liuxin committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
                        ></c-input>
                        <template slot="footer">
                            <c-button
                                style="margin-left: 10px; padding: 0 10px"
                                size="small"
                                type="primary"
                            >
                                ...
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item
                    label="内部不符点"
                    prop="bfdgrp.blk.intdis"
                    style="width: 100%"
                >
                    <c-fullbox>
                        <c-input
                            type="textarea"
                            v-model="model.bfdgrp.blk.intdis"
                            maxlength="65"
                            show-word-limit
                            placeholder="请输入内部不符点"
                        ></c-input>
                        <template slot="footer">
                            <c-button
                                style="margin-left: 10px; padding: 0 10px"
                                size="small"
                                type="primary"
                            >
                                ...
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="快递单号" prop="bfdgrp.rec.expmno">
                    <c-input
                        type="textarea"
                        v-model="model.bfdgrp.rec.expmno"
                        maxlength="60"
                        show-word-limit
                        placeholder="请输入快递单号"
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="扣减佣金" prop="bfdgrp.rec.lescom">
                    <c-input
                        v-model="model.bfdgrp.rec.lescom"
                        placeholder="请输入扣减佣金"
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="参考号" prop="dedgrp.rec.kzref">
                    <c-input
                        v-model="model.dedgrp.rec.kzref"
                        maxlength="35"
                        placeholder="请输入参考号"
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>
liumin committed
91

liuxin committed
92 93 94 95 96 97 98 99 100
        <!-- Right -->
        <c-col :span="12">
            <c-col :span="24">
                <el-form-item label="寄单状态" prop="bftp.folwupopt">
                    <c-fullbox>
                        <c-select
                            v-model="model.bftp.folwupopt"
                            style="width: 100%"
                            placeholder="请选择寄单状态"
101
                            :code="codes.folwupopt"
liuxin committed
102 103 104
                        >
                        </c-select>
                        <template slot="footer">
liuxin committed
105
                            <c-checkbox
106
                                v-model="docdisflg"
liuxin committed
107
                                style="margin-left: 10px"
liuxin committed
108 109 110 111 112 113 114
                                >录入不符点</c-checkbox
                            >
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>
            <c-col :span="24">
115
                <el-form-item label="付款人开户行" prop="bfdgrp.rec.payrol">
liuxin committed
116 117 118
                    <c-select
                        v-model="model.bfdgrp.rec.payrol"
                        style="width: 100%"
119 120 121
                        placeholder="请选择付款人开户行"
                        :code="codes.rolall"
                        disabled
liuxin committed
122 123 124 125 126 127 128 129 130 131 132 133
                    >
                    </c-select>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <c-ptap
                    :model="model"
                    :argadr="{
                        title: '付款人',
                        grp: 'bfdgrp',
                        rol: 'oth',
                    }"
134
                    :noRef="true"
liuxin committed
135
                    :disabled="true"
136 137
                    :isAdrblk="false"
                    :disabledExtkey="true"
liuxin committed
138 139 140 141
                >
                </c-ptap>
            </c-col>
        </c-col>
liumin committed
142

liuxin committed
143 144 145 146 147
        <c-col :span="24" style="height: 24px; margin-top: 20px">
            <el-form-item
                :label="model.bftp.docgrdm.docdsclab"
                class="messageLabel"
            >
liuxin committed
148
            </el-form-item>
liumin committed
149
        </c-col>
liuxin committed
150
        <c-col :span="24" style="height: 0px; margin-top: 5px">
liuxin committed
151
            <el-divider></el-divider>
liumin committed
152
        </c-col>
liuxin committed
153 154 155
        <c-docpre
            :model="model"
            :argadr="{
156
                path: 'bfdgrp.blk.prsdoc',
liuxin committed
157 158 159 160 161
                grp: 'bftp',
                code: 'bdtdck',
            }"
        >
        </c-docpre>
liuxin committed
162
    </div>
liumin committed
163 164
</template>
<script>
liuxin committed
165
import Api from "~/service/Api";
wangren committed
166
import commonProcess from "~/mixin/commonProcess";
liuxin committed
167 168 169
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detdrv/Event";
import Ptap from "~/views/Public/Ptap";
liuxin committed
170
import Docpre from "~/views/Public/Docpre";
liumin committed
171 172

export default {
liuxin committed
173 174
    inject: ["root"],
    props: ["model", "codes"],
wangren committed
175
    mixins: [commonProcess],
liuxin committed
176
    components: { "c-ptap": Ptap, "c-docpre": Docpre },
liuxin committed
177 178 179
    data() {
        return {};
    },
180 181 182 183 184 185 186 187 188 189
    computed: {
        docdisflg: {
            get() {
                return this.model.bfdgrp.blk.docdisflg != "";
            },
            set(val) {
                this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
            },
        },
    },
liuxin committed
190 191 192
    methods: { ...Event },
    created: function () {},
};
liumin committed
193 194
</script>
<style>
liuxin committed
195
.messageLabel >>> .el-form-item__label {
liuxin committed
196
    text-align: left;
liuxin committed
197
    font-weight: bold;
liuxin committed
198 199
    font-size: 12px;
}
liumin committed
200
</style>