md
This commit is contained in:
parent
2fefa7008b
commit
1978829273
@ -187,7 +187,7 @@
|
||||
<el-col :span="24">
|
||||
<!-- <div style="max-height:200px;overflow-y: auto;"> -->
|
||||
<!-- @onChange="onQuoteExpressionChange" -->
|
||||
<EcqExpressionPanel :quoteId="form.quoteId" :isCopy="isCopy" style="width:100%" v-model="form.exprList"></EcqExpressionPanel>
|
||||
<EcqExpressionPanel :key="resetRefreshId" :quoteId="form.quoteId" :isCopy="isCopy" style="width:100%" v-model="form.exprList"></EcqExpressionPanel>
|
||||
<!-- </div> -->
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -269,6 +269,7 @@ export default {
|
||||
'emis_commission_post','emis_biz_shipping_method','emis_commission_fee_type'],
|
||||
data() {
|
||||
return {
|
||||
resetRefreshId:null,
|
||||
emisCommissionQuoteOptions: [],
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -371,6 +372,7 @@ export default {
|
||||
return null;
|
||||
},
|
||||
initData() {
|
||||
this.resetRefreshId="tracing-"+Math.random().toString(36).substring(3,10);
|
||||
|
||||
if(this.quoteId !=null) {
|
||||
this.form={};
|
||||
@ -379,7 +381,7 @@ export default {
|
||||
this.form = response.data;
|
||||
if(this.isCopy){
|
||||
this.form.quoteName=this.form.quoteName+"_Copy"
|
||||
this.form.quoteId=null;
|
||||
// this.form.quoteId=null;
|
||||
}
|
||||
|
||||
if(this.form.transType){
|
||||
@ -450,6 +452,10 @@ export default {
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
if(this.isCopy){
|
||||
this.form.quoteId=null;
|
||||
}
|
||||
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
if(this.form.transTypeIdArr){
|
||||
|
||||
@ -97,7 +97,7 @@
|
||||
size="mini"
|
||||
:data="emisCommissionQuoteList"
|
||||
|
||||
storageName="emisCommissionQuoteList_main_241115"
|
||||
storageName="emisCommissionQuoteList_main_241118"
|
||||
|
||||
:showSearch.sync="showSearch"
|
||||
:queryParams="queryParams"
|
||||
@ -263,7 +263,7 @@
|
||||
</XdTable>
|
||||
|
||||
<el-dialog :title="titleForm" :visible.sync="openForm" width="90%" :destroy-on-close="true" v-dialogDrag append-to-body :close-on-click-modal="false">
|
||||
<emisCommissionQuoteForm :quoteId="currentId" :isCopy="isCopy" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisCommissionQuoteForm>
|
||||
<emisCommissionQuoteForm :key="resetRefreshId" :quoteId="currentId" :isCopy="isCopy" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisCommissionQuoteForm>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
@ -282,6 +282,7 @@ export default {
|
||||
'emis_commission_post','emis_biz_shipping_method','emis_commission_fee_type'],
|
||||
data() {
|
||||
return {
|
||||
resetRefreshId:null,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
@ -383,10 +384,11 @@ export default {
|
||||
this.titleForm = "新增提成方案";
|
||||
},
|
||||
handleCopy() {
|
||||
this.resetRefreshId="tracing-"+Math.random().toString(36).substring(3,10);
|
||||
this.currentId = this.currentQuote.quoteId ;
|
||||
this.openForm = true;
|
||||
this.isCopy = true;
|
||||
this.titleForm = "复制方案【"+this.currentQuote.quoteName+"】";
|
||||
this.titleForm = "复制方案【"+this.currentQuote.quoteName+"】copy";
|
||||
},
|
||||
handleShowMoreInput(){
|
||||
this.moreInputVisible = !this.moreInputVisible;
|
||||
|
||||
@ -221,8 +221,14 @@
|
||||
<el-table-column :label="$t('总票数')" align="center" prop="totalWaybillQty" min-width="100" />
|
||||
<el-table-column :label="$t('总件数')" align="center" prop="totalParcelQty" min-width="100" />
|
||||
<el-table-column :label="$t('总重量(kg)')" align="center" prop="totalWeight" min-width="100" />
|
||||
<el-table-column :label="$t('创建时间')" align="center" prop="createTime" min-width="170"/>
|
||||
<el-table-column :label="$t('操作员')" align="center" prop="createByName" min-width="150" />
|
||||
|
||||
<el-table-column label="创建人" align="center" prop="createByName" width="80" :show-overflow-tooltip="true"/>
|
||||
<el-table-column label="创建网点" align="center" prop="createSiteName" width="80" :show-overflow-tooltip="true"/>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="170"/>
|
||||
<el-table-column label="修改人" align="center" prop="updateByName" width="80" :show-overflow-tooltip="true"/>
|
||||
<el-table-column label="修改网点" align="center" prop="updateSiteName" width="80" :show-overflow-tooltip="true"/>
|
||||
<el-table-column label="修改时间" align="center" prop="updateTime" width="170"/>
|
||||
|
||||
</XdTable>
|
||||
|
||||
<el-dialog :title="titleForm" :visible.sync="openForm" width="90%" :destroy-on-close="true" v-dialogDrag append-to-body>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user