|
|
@ -53,11 +53,11 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">进厂时间</div> |
|
|
|
<el-form-item><el-date-picker class="addinputInfo" v-model="formobj.entryTime" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" placeholder="选择日期" /></el-form-item> |
|
|
|
<el-form-item><el-date-picker class="addinputInfo" v-model="formobj.entryTime" value-format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd HH:mm:ss" type="datetime" placeholder="选择日期" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="16"> |
|
|
|
<div class="span-sty">预计完工</div> |
|
|
|
<el-form-item><el-date-picker class="addinputInfo" v-model="formobj.estimatedFinishTime" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" placeholder="选择日期" /></el-form-item> |
|
|
|
<el-form-item><el-date-picker class="addinputInfo" v-model="formobj.estimatedFinishTime" value-format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd HH:mm:ss" type="datetime" placeholder="选择日期" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
@ -132,15 +132,15 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">行驶里程</div> |
|
|
|
<div class="span-sty">行驶里程(Km)</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.mileage" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">油量</div> |
|
|
|
<div class="span-sty">油量(L)</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.oil" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">当前里程</div> |
|
|
|
<div class="span-sty">当前里程(Km)</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.currentMileage" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -262,7 +262,7 @@ |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" :disabled="formobj.invoiceVo.isInvoicing != '1'" v-model="formobj.invoiceVo.invoiceCode" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">税率</div> |
|
|
|
<div class="span-sty">税率(%)</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" :disabled="formobj.invoiceVo.isInvoicing != '1'" @keyup.native="formobj.invoiceVo.taxRate = getNumber(formobj.invoiceVo.taxRate, 2)" v-model="formobj.invoiceVo.taxRate" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -310,7 +310,7 @@ |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="维修人" width="200" align="center"> |
|
|
|
<el-table-column label="维修人" width="300" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.staffList" placeholder="请选择" @change="userChange(scope.row, scope.row.staffList)" clearable filterable multiple> |
|
|
|
<el-option v-for="item in user_list" :key="item.sid" :label="item.name" :value="item.sid"></el-option> |
|
|
@ -417,13 +417,13 @@ |
|
|
|
</el-table> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">合计金额</div> |
|
|
|
<div class="span-sty" style="border-right: 0px">合计金额:</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ jeTotal }} = 工时费:{{ gsfTotal }} + 材料费:{{ clfTotal }} + 附加费:{{ fjfTotal }} + 税额:{{ seTotal }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">应收金额</div> |
|
|
|
<div class="span-sty" style="border-right: 0px">应收金额:</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ ysjeTotal }} = 合计金额:{{ jeTotal }} - 优惠:<el-input style="width: 100px" v-model="formobj.discountAmount" @keyup.native="formobj.discountAmount = getNumber(formobj.discountAmount, 2)" clearable placeholder="" /> - 优惠券:<el-input style="width: 100px" v-model="formobj.coupon" @keyup.native="formobj.coupon = getNumber(formobj.coupon, 2)" clearable placeholder="" /> - 积分抵扣:<el-input style="width: 100px" v-model="formobj.scoreDeduct" @keyup.native="formobj.scoreDeduct = getNumber(formobj.scoreDeduct, 2)" clearable placeholder="" /></span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -737,7 +737,7 @@ export default { |
|
|
|
this.accidentType_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
typeValues({ type: 'invoiceType' }).then((res) => { |
|
|
|
typeValues({ type: 'billingType' }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.invoiceType_list = res.data |
|
|
|
} |
|
|
|