Commit 6d5c8ddf authored by 我在何方's avatar 我在何方
parents 9bac88d4 c92c8d02
...@@ -19985,7 +19985,7 @@ UE.plugins['table'] = function () { ...@@ -19985,7 +19985,7 @@ UE.plugins['table'] = function () {
"averagedistributerow":1 "averagedistributerow":1
}; };
me.ready(function () { me.ready(function () {
utils.cssRule('table', /* utils.cssRule('table',
//选中的td上的样式 //选中的td上的样式
'.selectTdClass{background-color:#edf5fa !important}' + '.selectTdClass{background-color:#edf5fa !important}' +
'table.noBorderTable td,table.noBorderTable th,table.noBorderTable caption{border:1px dashed #ddd !important}' + 'table.noBorderTable td,table.noBorderTable th,table.noBorderTable caption{border:1px dashed #ddd !important}' +
...@@ -19996,7 +19996,7 @@ UE.plugins['table'] = function () { ...@@ -19996,7 +19996,7 @@ UE.plugins['table'] = function () {
'th{border-top:1px solid #BBB;background-color:#F7F7F7;}' + 'th{border-top:1px solid #BBB;background-color:#F7F7F7;}' +
'table tr.firstRow th{border-top-width:2px;}' + 'table tr.firstRow th{border-top-width:2px;}' +
'.ue-table-interlace-color-single{ background-color: #fcfcfc; } .ue-table-interlace-color-double{ background-color: #f7faff; }' + '.ue-table-interlace-color-single{ background-color: #fcfcfc; } .ue-table-interlace-color-double{ background-color: #f7faff; }' +
'td p{margin:0;padding:0;}', me.document); 'td p{margin:0;padding:0;}', me.document); */
var tableCopyList, isFullCol, isFullRow; var tableCopyList, isFullCol, isFullRow;
//注册del/backspace事件 //注册del/backspace事件
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
if (this.fileType) { if (this.fileType) {
let fileExtension = ""; let fileExtension = "";
if (file.name.lastIndexOf(".") > -1) { if (file.name.lastIndexOf(".") > -1) {
fileExtension = file.name.slice(file.name.lastIndexOf(".") + 1); fileExtension = file.name.slice(file.name.lastIndexOf(".") + 1).toLowerCase();
} }
const isTypeOk = this.fileType.some((type) => { const isTypeOk = this.fileType.some((type) => {
if (file.type.indexOf(type) > -1) return true; if (file.type.indexOf(type) > -1) return true;
......
...@@ -213,10 +213,10 @@ export default { ...@@ -213,10 +213,10 @@ export default {
methods:{ methods:{
changeOption(){ changeOption(){
if(!this.option) return if(!this.option) return
this.importCity = +this.option.importCity this.importCity = +this.option.importCity || null
this.exportCity = +this.option.exportCity this.exportCity = +this.option.exportCity || null
this.transportType = this.option.transportId this.transportType = this.option.transportId || null
this.channelId = +this.option.channelId this.channelId = +this.option.channelId || null
}, },
// 全选、全不选 某个运输方式所有线路 // 全选、全不选 某个运输方式所有线路
toggleGroupChecker(index, selected){ toggleGroupChecker(index, selected){
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
id="editor" id="editor"
v-model="valueSync" v-model="valueSync"
:config="ueditorConfig" :config="ueditorConfig"
style="line-height: 20px; max-width: 600px;" style="line-height: 20px;"
></vue-ueditor-wrap> ></vue-ueditor-wrap>
</div> </div>
</template> </template>
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<el-dropdown-item command="error">{{$t('异常登记')}}</el-dropdown-item> <el-dropdown-item command="error">{{$t('异常登记')}}</el-dropdown-item>
<el-dropdown-item command="cost">{{$t('费用登记')}}</el-dropdown-item> <el-dropdown-item command="cost">{{$t('费用登记')}}</el-dropdown-item>
<el-dropdown-item command="delete">{{$t('删除')}}</el-dropdown-item> <el-dropdown-item command="delete">{{$t('删除')}}</el-dropdown-item>
<el-dropdown-item :disabled="scope.row.ldStatus<42" command="editLadingBill">{{$t('编辑提货单')}}</el-dropdown-item> <el-dropdown-item :disabled="scope.row.ldStatus<46" command="editLadingBill">{{$t('编辑提货单')}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-dropdown trigger="click" @command="(command)=>handleCommand(scope.row, command)"> <el-dropdown trigger="click" @command="(command)=>handleCommand(scope.row, command)">
......
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
<el-dropdown-item command="error">{{$t('异常登记')}}</el-dropdown-item> <el-dropdown-item command="error">{{$t('异常登记')}}</el-dropdown-item>
<el-dropdown-item command="cost">{{$t('费用登记')}}</el-dropdown-item> <el-dropdown-item command="cost">{{$t('费用登记')}}</el-dropdown-item>
<el-dropdown-item command="delete">{{$t('删除')}}</el-dropdown-item> <el-dropdown-item command="delete">{{$t('删除')}}</el-dropdown-item>
<el-dropdown-item :disabled="scope.row.ldStatus<42" command="editLadingBill">{{$t('编辑提货单')}}</el-dropdown-item> <el-dropdown-item :disabled="scope.row.ldStatus<46" command="editLadingBill">{{$t('编辑提货单')}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-dropdown trigger="click" @command="(command)=>handleCommand(scope.row, command)"> <el-dropdown trigger="click" @command="(command)=>handleCommand(scope.row, command)">
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
</template> </template>
<template v-if="scope.row.status === 3"> <template v-if="scope.row.status === 3">
{{$t('审核拒绝')}} {{$t('审核拒绝')}}
<el-button type="text" size="small" @click="handleCommand('queryBill',scope.row)">{{$t('重新制作')}}</el-button>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</div> </div>
</el-row> </el-row>
<el-dialog :title="dialogCfg.title" :visible.sync="visible" width="850px" append-to-body class="shippingSea-dialog"> <el-dialog :title="dialogCfg.title" :visible.sync="visible" width="1000px" append-to-body class="shippingSea-dialog">
<previewBill v-if="visible" :contentHtml="billContent" :currRow="currRow" :type="dialogCfg.type" /> <previewBill v-if="visible" :contentHtml="billContent" :currRow="currRow" :type="dialogCfg.type" />
</el-dialog> </el-dialog>
</el-row> </el-row>
......
This diff is collapsed.
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<el-form-item> <el-form-item>
<el-button type="primary" @click="getorderList">{{$t('搜索')}}</el-button> <el-button type="primary" @click="getorderList">{{$t('搜索')}}</el-button>
<el-button type="primary" @click="()=>{ <el-button type="primary" @click="()=>{
queryParams = { rows:10,page:1}; getorderList() queryParams = { rows:10,page:1}; getorderList();rucangtime = [];
}">{{$t('重置')}}</el-button> }">{{$t('重置')}}</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -659,8 +659,7 @@ export default { ...@@ -659,8 +659,7 @@ export default {
}, },
//订单 //订单
getorderList(){ getorderList(){
infoListOrderPage({customerDetailld:this.id,...this.queryParams}).then(r => { infoListOrderPage({customerDetailId:this.id,...this.queryParams}).then(r => {
console.log(r)
if(r.code === 0){ if(r.code === 0){
this.orderList = r.data.list this.orderList = r.data.list
this.orderTotal = r.data.total this.orderTotal = r.data.total
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
<el-card class="card"> <el-card class="card">
<div slot="header" class="card-title"> <div slot="header" class="card-title">
{{$t('订单编号')}}{{order.orderNo}} {{$t('订单编号')}}{{order.orderNo}}
<template v-if="order.containerNumber"> - {{order.containerNumber}}</template> <template v-if="order.tidanNo"> - {{order.tidanNo}}</template>
<template v-else-if="order.containerNumber"> - {{order.containerNumber}}</template>
</div> </div>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="8" v-if="order.consignorVO"> <el-col :span="8" v-if="order.consignorVO">
...@@ -40,6 +41,13 @@ ...@@ -40,6 +41,13 @@
</el-descriptions> </el-descriptions>
</el-col> </el-col>
</el-row> </el-row>
<el-descriptions class="margin-top" border :column="1" :labelStyle="{width:'150px'}">
<el-descriptions-item :label="$t('付款人')">
<el-link v-if="order.drawee == 3" @click.native="showDarweeDialog=true" type="primary">自定义</el-link>
<dict-tag v-else :type="DICT_TYPE.DRAWEE" :value="order.drawee"></dict-tag>
</el-descriptions-item>
</el-descriptions>
</el-card> </el-card>
<el-card class="card"> <el-card class="card">
<el-descriptions border :title="$t('物流信息')" :column="2"> <el-descriptions border :title="$t('物流信息')" :column="2">
...@@ -244,6 +252,20 @@ ...@@ -244,6 +252,20 @@
<print-warehouse-receipt v-if="showWarehouseReceipt" :order-id="order.orderId" @close="showWarehouseReceipt=false" /> <print-warehouse-receipt v-if="showWarehouseReceipt" :order-id="order.orderId" @close="showWarehouseReceipt=false" />
<print-lading-bill v-if="showLadingBill" :order-id="order.orderId" :transport-type="order.transportId" @close="showLadingBill=false" /> <print-lading-bill v-if="showLadingBill" :order-id="order.orderId" :transport-type="order.transportId" @close="showLadingBill=false" />
<warehouse-detail :order="order" :orderItemId="showWarehouseInItemId" v-if="showWarehouseInItemId" @close="showWarehouseInItemId=null" /> <warehouse-detail :order="order" :orderItemId="showWarehouseInItemId" v-if="showWarehouseInItemId" @close="showWarehouseInItemId=null" />
<el-dialog title="付款人" :visible.sync="showDarweeDialog" v-if="order && order.customDraweeVOList">
<el-table :data="order.customDraweeVOList" v-if="order.drawee==3" >
<el-table-column label="费用类型" prop="label" width="200px">
<template slot-scope="{row}">
<dict-tag :type="DICT_TYPE.ECW_CUSTOM_DRAWEE" :value="row.name"/>
</template>
</el-table-column>
<el-table-column label="付款人" width="300px">
<template slot-scope="{row}">
<dict-tag :type="DICT_TYPE.DRAWEE" :value="row.value" />
</template>
</el-table-column>
</el-table>
</el-dialog>
</div> </div>
</template> </template>
...@@ -274,6 +296,7 @@ export default { ...@@ -274,6 +296,7 @@ export default {
}, },
data() { data() {
return { return {
showDarweeDialog: false,
// 遮罩层 // 遮罩层
loading: false, loading: false,
order: null, order: null,
......
...@@ -881,6 +881,10 @@ export default { ...@@ -881,6 +881,10 @@ export default {
this.$set(this.form, 'consigneePhone', res.data.consigneeVO.phone) this.$set(this.form, 'consigneePhone', res.data.consigneeVO.phone)
} }
if(this.form.channelId == 0){
delete this.form.channelId
}
if(res.data.ccIds){ if(res.data.ccIds){
this.ccIdArr = res.data.ccIds.split(",").filter(item => item && item != '') this.ccIdArr = res.data.ccIds.split(",").filter(item => item && item != '')
} }
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width" width="150px"> <el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width actions" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 已删除的订单只需要删除和查看 https://zentao.jdshangmen.com/bug-view-684.html --> <!-- 已删除的订单只需要删除和查看 https://zentao.jdshangmen.com/bug-view-684.html -->
<template v-if="scope.row.status == 88"> <template v-if="scope.row.status == 88">
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
</template> </template>
<template v-else> <template v-else>
<!--操作相关的--> <!--操作相关的-->
<el-dropdown> <el-dropdown v-if="exclude(scope.row.inWarehouseState, [204,205,206])">
<el-button type="text">{{$t('操作')}}</el-button> <el-button type="text">{{$t('操作')}}</el-button>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<!-- 编辑 --> <!-- 编辑 -->
...@@ -251,8 +251,8 @@ ...@@ -251,8 +251,8 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<template v-if="scope.row.status != 0 && scope.row.inWarehouseState != 206"> <template v-if="scope.row.status != 0 && [204,205,206].indexOf(scope.row.inWarehouseState) < 0">
<el-divider direction="vertical"></el-divider> <!-- <el-divider direction="vertical"></el-divider> -->
<!--仓库相关的--> <!--仓库相关的-->
<el-dropdown> <el-dropdown>
<el-button type="text">{{$t('仓库')}}</el-button> <el-button type="text">{{$t('仓库')}}</el-button>
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
</el-dropdown> </el-dropdown>
</template> </template>
<el-divider direction="vertical" v-if="scope.row.status != 0"></el-divider> <!-- <el-divider direction="vertical" v-if="scope.row.status != 0"></el-divider> -->
<!--打印相关的--> <!--打印相关的-->
<el-dropdown v-if="scope.row.status != 0"> <el-dropdown v-if="scope.row.status != 0">
<el-button type="text">{{$t('打印')}}</el-button> <el-button type="text">{{$t('打印')}}</el-button>
...@@ -649,3 +649,13 @@ export default { ...@@ -649,3 +649,13 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped>
::v-deep .actions{
.el-dropdown{
margin-right: 10px;
&::last-child{
margin-right: 0;
}
}
}
</style>
\ No newline at end of file
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
{{ currencyMap[form.freightCurrency] }} / {{ unitMap[form.freightVolume] }}</div> {{ currencyMap[form.freightCurrency] }} / {{ unitMap[form.freightVolume] }}</div>
<div v-if="form.commissionType == 3"> <div v-if="form.commissionType == 3">
{{$t('实际佣金返点')}} {{$t('实际佣金返点')}}
{{form.shadeCommissionAmount + form.lightCommissionAmount }} {{totalCommision }}
{{ currencyMap[form.freightCurrency] }} / {{ unitMap[form.freightVolume] }} {{ currencyMap[form.freightCurrency] }} / {{ unitMap[form.freightVolume] }}
</div> </div>
</div> </div>
...@@ -200,6 +200,9 @@ export default { ...@@ -200,6 +200,9 @@ export default {
salePrice(){ salePrice(){
if(!this.originPrice) return 0 if(!this.originPrice) return 0
return Decimal(this.originPrice).plus(parseFloat(this.form.lightCommissionAmount) || 0) return Decimal(this.originPrice).plus(parseFloat(this.form.lightCommissionAmount) || 0)
},
totalCommision(){
return Decimal(this.form.lightCommissionAmount || 0).plus(this.form.shadeCommissionAmount || 0)
} }
}, },
......
...@@ -307,13 +307,13 @@ ...@@ -307,13 +307,13 @@
</el-dialog> </el-dialog>
<!-- 对话框(添加 / 修改) --> <!-- 对话框(添加 / 修改) -->
<el-dialog :title="$t('设置路线提单模板')" :visible.sync="templateOpen" width="1000px" @close="ladingFormClose()" append-to-body> <el-dialog :title="$t('设置路线提单模板')" :visible.sync="templateOpen" width="1100px" @close="ladingFormClose()" append-to-body>
<el-form ref="form" :model="ladingform" :rules="rules" label-width="80px"> <el-form ref="form" :model="ladingform" :rules="rules" label-width="80px">
<el-form-item :label="$t('货柜前缀')" prop="prefixCounter"> <el-form-item :label="$t('货柜前缀')" prop="prefixCounter">
<el-input v-model="ladingform.prefixCounter" :placeholder="$t('请输入货柜前缀')" /> <el-input v-model="ladingform.prefixCounter" :placeholder="$t('请输入货柜前缀')" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('抬头')" prop="titleZh"> <el-form-item :label="$t('抬头')" prop="titleZh">
<ueditor v-model="ladingform.titleZh" :min-height="192"/> <ueditor v-model="ladingform.titleZh" :min-height="192" style="width:960px"/>
</el-form-item> </el-form-item>
<el-card class="box-card"> <el-card class="box-card">
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
</el-card> </el-card>
<el-form-item :label="$t('条款')" prop="contentZh"> <el-form-item :label="$t('条款')" prop="contentZh">
<ueditor v-model="ladingform.contentZh" :min-height="192"/> <ueditor v-model="ladingform.contentZh" :min-height="192" style="width:960px"/>
</el-form-item> </el-form-item>
<el-form-item v-if="showFlag"> <el-form-item v-if="showFlag">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment