Srmp.vue 1.98 KB
Newer Older
jxl committed
1 2 3 4
<template>
    <c-row>
        <c-col :span="11">
            <c-col :span="24">
wangyanjiao committed
5 6
                <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
7 8 9 10 11 12
                    </c-select>
                </el-form-item>
            </c-col>
                                        
            <c-col :span="24">
                <el-form-item label="单据出具人" prop="bodgrp.srm.djuusr">
13
                    <c-input  v-model="model.bodgrp.srm.djuusr" maxlength="80"  placeholder="请输入单据出具人" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input>
jxl committed
14 15 16 17 18
                </el-form-item>
            </c-col>
                                        
            <c-col :span="24">
                <el-form-item label="单据出具日期" prop="bodgrp.srm.djudat">
19
                    <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
20 21 22 23 24
                </el-form-item>
            </c-col>
                                        
            <c-col :span="24">
                <el-form-item label="货权单据编号" prop="bodgrp.srm.djuref">
25
                    <c-input  v-model="model.bodgrp.srm.djuref" maxlength="40"  placeholder="请输入货权单据编号" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input>
jxl committed
26 27 28 29 30 31 32
                </el-form-item>
            </c-col>
        </c-col>
    </c-row>
</template>
<script>
import Api from "~/service/Api"
wangren committed
33
import commonProcess from "~/mixin/commonProcess";
jxl committed
34 35 36 37 38 39
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"

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

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

    }
}
</script>
<style>

</style>