Srmp.vue 2.07 KB
Newer Older
jxl committed
1
<template>
huangxin committed
2 3 4
    <div class="eibs">
        <!-- ==================左边================ -->
        <c-col :span="12" style="padding-right: 20px;">
jxl committed
5
            <c-col :span="24">
wangyanjiao committed
6 7
                <el-form-item label="单据类型" prop="bodgrp.srm.djutyp" >
                    <c-select v-model="model.bodgrp.srm.djutyp" style="width:100%" placeholder="请选择单据类型" :code="codes.djutyp" @change="changeDjutyp">
jxl committed
8 9 10 11 12 13
                    </c-select>
                </el-form-item>
            </c-col>
                                        
            <c-col :span="24">
                <el-form-item label="单据出具人" prop="bodgrp.srm.djuusr">
14
                    <c-input  v-model="model.bodgrp.srm.djuusr" maxlength="80"  placeholder="请输入单据出具人" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input>
jxl committed
15 16 17 18 19
                </el-form-item>
            </c-col>
                                        
            <c-col :span="24">
                <el-form-item label="单据出具日期" prop="bodgrp.srm.djudat">
20
                    <c-date-picker type="date"  v-model="model.bodgrp.srm.djudat" style="width:100%"  placeholder="请选择单据出具日期" :disabled="model.bodgrp.srm.djutyp=='D'"></c-date-picker>
jxl committed
21 22 23 24 25
                </el-form-item>
            </c-col>
                                        
            <c-col :span="24">
                <el-form-item label="货权单据编号" prop="bodgrp.srm.djuref">
26
                    <c-input  v-model="model.bodgrp.srm.djuref" maxlength="40"  placeholder="请输入货权单据编号" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input>
jxl committed
27 28 29
                </el-form-item>
            </c-col>
        </c-col>
huangxin committed
30
</div>
jxl committed
31 32 33
</template>
<script>
import Api from "~/service/Api"
wangren committed
34
import commonProcess from "~/mixin/commonProcess";
jxl committed
35 36 37 38 39 40
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
41
    mixins: [commonProcess],
jxl committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>