Commit 4e78101e authored by dragondean@qq.com's avatar dragondean@qq.com
parents ce230711 d6b421f8
...@@ -2,11 +2,8 @@ ...@@ -2,11 +2,8 @@
<div class="app-container"> <div class="app-container">
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="流程名" prop="name"> <el-form-item label="流程名称" prop="name">
<el-input v-model="queryParams.name" placeholder="请输入流程名" clearable @keyup.enter.native="handleQuery"/> <el-input v-model="queryParams.name" placeholder="流程名称" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
<el-form-item label="所属流程" prop="processDefinitionId">
<el-input v-model="queryParams.processDefinitionId" placeholder="请输入流程定义的编号" clearable @keyup.enter.native="handleQuery"/>
</el-form-item> </el-form-item>
<el-form-item label="流程分类" prop="category"> <el-form-item label="流程分类" prop="category">
<el-select v-model="queryParams.category" placeholder="请选择流程分类" clearable> <el-select v-model="queryParams.category" placeholder="请选择流程分类" clearable>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div class="app-container"> <div class="app-container">
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="流程名" prop="name"> <el-form-item label="任务名称" prop="name">
<el-input v-model="queryParams.name" placeholder="请输入流程名" clearable @keyup.enter.native="handleQuery"/> <el-input v-model="queryParams.name" placeholder="请输入任务名" clearable @keyup.enter.native="handleQuery"/>
</el-form-item> </el-form-item>
<el-form-item label="流程分类" prop="category"> <el-form-item label="流程分类" prop="category">
<el-select v-model="queryParams.category" placeholder="请选择流程分类" clearable> <el-select v-model="queryParams.category" placeholder="请选择流程分类" clearable>
......
...@@ -133,7 +133,14 @@ ...@@ -133,7 +133,14 @@
<div v-if="type === 4"> <div v-if="type === 4">
<p>申请理由</p> <p>申请理由</p>
<div> <div>
{{ FeeDetails.details || '' }} 用户修改了订单中商品编号为【{{ FeeDetails.orderItemVOList[0].prodId }}】的【{{ FeeDetails.details.applyInfoVOList[0].newValue }}】信息:
<ol>
<template v-for="item in FeeDetails.details.applyInfoVOList">
<li v-if="item.orgValue === undefined">{{ item.name }}{{ item.newValue }}</li>
<li v-else-if="item.newValue === undefined">删除入仓</li>
<li v-else-if="item.newValue !== item.orgValue">{{ item.name }}从【{{ item.orgValue }}】改为【{{ item.newValue }}</li>
</template>
</ol>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -290,6 +290,7 @@ export default { ...@@ -290,6 +290,7 @@ export default {
form:{ form:{
}, },
importCityList:[],
selectedUsers:[], selectedUsers:[],
shopOpen:false, shopOpen:false,
...@@ -318,7 +319,10 @@ export default { ...@@ -318,7 +319,10 @@ export default {
}, },
created() { created() {
this.getChannel() this.getChannel()
getWarehouseList().then(res => this.tradeCityList = res.data) getWarehouseList().then(res => {
this.tradeCityList = res.data
this.importCityList = this.tradeCityList.filter(item => item.type == 1)
})
if (this.$route.query.orderId) { if (this.$route.query.orderId) {
this.queryParams.orderId = this.$route.query.orderId this.queryParams.orderId = this.$route.query.orderId
} }
...@@ -352,9 +356,6 @@ export default { ...@@ -352,9 +356,6 @@ export default {
}, },
getDictDatas(){ getDictDatas(){
return getDictDatas return getDictDatas
},
importCityList(){
return this.tradeCityList.filter(item => item.type == 1)
} }
}, },
methods: { methods: {
...@@ -454,6 +455,16 @@ export default { ...@@ -454,6 +455,16 @@ export default {
this.shopOpen = true this.shopOpen = true
}, },
addSplit(){ addSplit(){
this.form.transportId = this.orderData.transportId
this.form.destWarehouseId = this.orderData.destWarehouseId
if(this.orderData.logisticsInfoDto&&this.orderData.logisticsInfoDto.destTitleZh){
this.form.destWarehouseId = this.importCityList.find(item=>item.titleZh==this.orderData.logisticsInfoDto.destTitleZh).id
if(this.orderData.logisticsInfoDto&&this.orderData.logisticsInfoDto.channelId){
this.form.channelId = this.orderData.logisticsInfoDto.channelId
}
}
this.open = true this.open = true
}, },
changeProdTitleZh(){ changeProdTitleZh(){
......
...@@ -372,20 +372,20 @@ export default { ...@@ -372,20 +372,20 @@ export default {
opened: false, opened: false,
brandList: [], brandList: [],
form: { form: {
"brand": "0", // "brand": "0",
"brandType": 0, // "brandType": 0,
"inTime": "", // "inTime": "",
"material": "", // "material": "",
"orderId": 0, // "orderId": 0,
"orderItemId": 0, // "orderItemId": 0,
"orderNo": "", // "orderNo": "",
"orderWarehouseInItemDoList": [], "orderWarehouseInItemDoList": [],
"prodAttrIds": "", "prodAttrIds": "",
"prodId": 0, "prodId": 0,
"prodTitleEn": "", // "prodTitleEn": "",
"prodTitleZh": "", // "prodTitleZh": "",
"prodType": 0, // "prodType": 0,
"type": 0, // "type": 0,
feeType: 0, feeType: 0,
recordMode: undefined recordMode: undefined
}, },
...@@ -533,7 +533,16 @@ export default { ...@@ -533,7 +533,16 @@ export default {
orderId: this.warehousing.orderId, orderId: this.warehousing.orderId,
orderItemId: this.warehousing.orderItemId, orderItemId: this.warehousing.orderItemId,
orderNo: this.warehousing.orderNo, orderNo: this.warehousing.orderNo,
"orderWarehouseInUpdateItemDoList": orderWarehouseInItemDoList, cartonsNum: this.warehousing.num,
volume: this.warehousing.volume.toFixed(2),
weight: this.warehousing.weight.toFixed(2),
prodId: this.warehousing.prodId,
"orderWarehouseInUpdateItemDoList": this.tableData.map(e => {
return {
...e,
boxGauge: e.boxGauge1 + '*' + e.boxGauge2 + '*' + e.boxGauge3
}
}),
copyUserId: this.selectedUsers copyUserId: this.selectedUsers
}).then(r => { }).then(r => {
if (r.data) { if (r.data) {
......
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