md
This commit is contained in:
parent
485eb807d1
commit
f47400b080
@ -14,7 +14,7 @@
|
||||
<EmisSupplierPicker :placeholder="$t('请选择')" v-model="form.supplierCode" @onChange="onSupplierSelect" ></EmisSupplierPicker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="成本时间" prop="tradeDate" >
|
||||
<el-date-picker
|
||||
style="width:100%"
|
||||
@ -26,12 +26,12 @@
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="账期" prop="billMonth">
|
||||
<el-date-picker style="width:100%" v-model="form.billMonth" type="month" placeholder="账期" value-format="yyyy-MM"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="分摊类型" prop="splitType">
|
||||
<el-radio-group v-model="form.splitType">
|
||||
<el-radio label="1" >按重量分摊</el-radio>
|
||||
@ -58,7 +58,7 @@
|
||||
stripe
|
||||
:data="form.feeItemList"
|
||||
size="mini"
|
||||
max-height="300px"
|
||||
max-height="200px"
|
||||
style="width: 100%"
|
||||
show-summary
|
||||
:summary-method="getSummaries"
|
||||
@ -128,6 +128,11 @@
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" rows="1" type="textarea" placeholder="请输入备注" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
|
||||
@ -196,7 +201,8 @@
|
||||
</el-col> -->
|
||||
|
||||
|
||||
<el-col :span="24">
|
||||
<el-col :span="24" v-if="isShowWaybillList">
|
||||
|
||||
<el-form-item label="关联单号" prop="billCode" >
|
||||
<span slot="label">
|
||||
<span style="color: red">运单列表</span>
|
||||
@ -206,7 +212,8 @@
|
||||
<el-button type="primary" @click="addBillToApply">加入单号</el-button>
|
||||
</div>
|
||||
<el-table
|
||||
class="cargoList"
|
||||
|
||||
class="cargoList"
|
||||
:cell-style="{
|
||||
'padding': '0px!important',
|
||||
'padding-left': '0px!important',
|
||||
@ -220,7 +227,7 @@
|
||||
:data="form.billRelList"
|
||||
size="mini"
|
||||
style="width: 100%"
|
||||
max-height="300px"
|
||||
max-height="200px"
|
||||
>
|
||||
|
||||
<!-- max-height="500px" -->
|
||||
@ -302,11 +309,7 @@
|
||||
<el-input v-model="form.totalVolume" placeholder="请输入总体积" />
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="24">
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" rows="1" type="textarea" placeholder="请输入备注" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
|
||||
|
||||
</el-row>
|
||||
@ -315,6 +318,7 @@
|
||||
<el-button type="primary" :loading="isDoing" @click="submitForm">确 定</el-button>
|
||||
<el-button type="primary" :loading="isDoing" @click="submitFormAndContinue" >保存并继续录入</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
<el-button type="primary" @click="showWaybillList" size="mini"><span style="">{{ showListLabel }}</span></el-button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -345,6 +349,8 @@ export default {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
isDoing:false,
|
||||
isShowWaybillList:false,
|
||||
showListLabel:'显示运单列表',
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
@ -382,6 +388,14 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
showWaybillList(){
|
||||
this.isShowWaybillList=!this.isShowWaybillList;
|
||||
if(this.isShowWaybillList){
|
||||
this.showListLabel='隐藏运单列表';
|
||||
}else{
|
||||
this.showListLabel='显示运单列表';
|
||||
}
|
||||
},
|
||||
handleAddFee(){
|
||||
this.triggerCount++;
|
||||
},
|
||||
@ -684,11 +698,6 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.el-collapse {
|
||||
border-top: none!important;
|
||||
border-bottom: none!important;
|
||||
}
|
||||
|
||||
.el-table .el-table__cell:first-child .cell {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user