Dscins.vue 7.29 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 148 149
        <!-- <c-col :span="24">
            <span
                v-text="model.bftp.docgrdm.docdsclab"
                data-path=".bftp.docgrdm.docdsclab"
            >
            </span>
        </c-col> -->
liuxin committed
150 151 152 153 154
        <c-col :span="24" style="height: 24px; margin-top: 20px">
            <el-form-item
                :label="model.bftp.docgrdm.docdsclab"
                class="messageLabel"
            >
liuxin committed
155
            </el-form-item>
liumin committed
156
        </c-col>
liuxin committed
157
        <c-col :span="24" style="height: 0px; margin-top: 5px">
liuxin committed
158
            <el-divider></el-divider>
liumin committed
159
        </c-col>
liuxin committed
160 161 162
        <c-docpre
            :model="model"
            :argadr="{
163
                path: 'bfdgrp.blk.prsdoc',
liuxin committed
164 165 166 167 168 169
                grp: 'bftp',
                code: 'bdtdck',
            }"
        >
        </c-docpre>
        <!-- <c-col :span="24">
liuxin committed
170
            <c-table :data="model.bftp.docgrdm.docgrd" style="width: 100%">
liuxin committed
171 172
                <el-table-column prop="cmail1" label="1st"> </el-table-column>
                <el-table-column prop="cmail2" label="2st"> </el-table-column>
liuxin committed
173 174 175
                <el-table-column prop="docnam" label="Document">
                </el-table-column>
            </c-table>
liuxin committed
176
        </c-col> -->
liuxin committed
177
    </div>
liumin committed
178 179
</template>
<script>
liuxin committed
180
import Api from "~/service/Api";
wangren committed
181
import commonProcess from "~/mixin/commonProcess";
liuxin committed
182 183 184
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detdrv/Event";
import Ptap from "~/views/Public/Ptap";
liuxin committed
185
import Docpre from "~/views/Public/Docpre";
liumin committed
186 187

export default {
liuxin committed
188 189
    inject: ["root"],
    props: ["model", "codes"],
wangren committed
190
    mixins: [commonProcess],
liuxin committed
191
    components: { "c-ptap": Ptap, "c-docpre": Docpre },
liuxin committed
192 193 194
    data() {
        return {};
    },
195 196 197 198 199 200 201 202 203 204
    computed: {
        docdisflg: {
            get() {
                return this.model.bfdgrp.blk.docdisflg != "";
            },
            set(val) {
                this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
            },
        },
    },
liuxin committed
205 206 207
    methods: { ...Event },
    created: function () {},
};
liumin committed
208 209
</script>
<style>
liuxin committed
210
.messageLabel >>> .el-form-item__label {
liuxin committed
211
    text-align: left;
liuxin committed
212
    font-weight: bold;
liuxin committed
213 214
    font-size: 12px;
}
liumin committed
215
</style>