|
@@ -67,7 +67,7 @@
|
|
src="../../../public/img/sousuo.png" alt />
|
|
src="../../../public/img/sousuo.png" alt />
|
|
</ws-button>
|
|
</ws-button>
|
|
<el-button type="primary" @click="batchPrint">批量打印</el-button>
|
|
<el-button type="primary" @click="batchPrint">批量打印</el-button>
|
|
- <!-- <el-button type="primary" @click="salesTransfer">销售转移</el-button> -->
|
|
|
|
|
|
+ <el-button type="primary" @click="salesTransfer">销售转移</el-button>
|
|
<el-table show-summary ref="tableData" :data="warehouseList.records" height="570"
|
|
<el-table show-summary ref="tableData" :data="warehouseList.records" height="570"
|
|
v-show="this.warehouseType== '1'" @selection-change="handleSelectionChange">
|
|
v-show="this.warehouseType== '1'" @selection-change="handleSelectionChange">
|
|
<el-table-column type="selection" width="55" :selectable="selectInit"></el-table-column>
|
|
<el-table-column type="selection" width="55" :selectable="selectInit"></el-table-column>
|
|
@@ -187,8 +187,8 @@
|
|
<span v-if='scope.row.inOutFlag==1'>{{ scope.row.backOffice }}</span>
|
|
<span v-if='scope.row.inOutFlag==1'>{{ scope.row.backOffice }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- <el-table-column prop="salesTransferStatus" label="销售转移状态" width="150px">
|
|
|
|
- </el-table-column> -->
|
|
|
|
|
|
+ <el-table-column prop="salesTransferStatus" label="销售转移状态" width="150px">
|
|
|
|
+ </el-table-column>
|
|
|
|
|
|
<el-table-column prop="addressUrl" label="操作" width="100px">
|
|
<el-table-column prop="addressUrl" label="操作" width="100px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -292,8 +292,8 @@
|
|
<el-table-column prop="agent" label="经办人">
|
|
<el-table-column prop="agent" label="经办人">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="backOffice" label="操作人"> </el-table-column>
|
|
<el-table-column prop="backOffice" label="操作人"> </el-table-column>
|
|
- <!-- <el-table-column prop="salesTransferStatus" label="销售转移状态" width="150px">
|
|
|
|
- </el-table-column> -->
|
|
|
|
|
|
+ <el-table-column prop="salesTransferStatus" label="销售转移状态" width="150px">
|
|
|
|
+ </el-table-column>
|
|
<el-table-column prop="addressUrl" label="附件">
|
|
<el-table-column prop="addressUrl" label="附件">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
@@ -329,13 +329,13 @@
|
|
<WinseaContentModal class="sale-form" v-model="show" title="销售转移"
|
|
<WinseaContentModal class="sale-form" v-model="show" title="销售转移"
|
|
@on-cancel="handleClose">
|
|
@on-cancel="handleClose">
|
|
<div>
|
|
<div>
|
|
- <div class="title">转移前</div>
|
|
|
|
|
|
+ <div class="title">转移前:</div>
|
|
<div style="display:inline-block;" v-for="item in modification">{{ item.carNo }} ({{ item.netWeight }})</div>
|
|
<div style="display:inline-block;" v-for="item in modification">{{ item.carNo }} ({{ item.netWeight }})</div>
|
|
</div>
|
|
</div>
|
|
- <div>合计:{{modification.length}}车 {{num}}吨 合同编号:{{currectdata.contractNo}}({{currectdata.pointOut}})</div>
|
|
|
|
|
|
+ <div style="margin:10px 0;">合计:{{modification.length}}车 {{num}}吨 合同编号:{{currectdata.contractNo}}({{currectdata.pointOut}})</div>
|
|
|
|
|
|
<el-form label-position="left" class="sale-form" ref="form" :model="currectdata" label-width="160px">
|
|
<el-form label-position="left" class="sale-form" ref="form" :model="currectdata" label-width="160px">
|
|
- <div class="title">转移后</div>
|
|
|
|
|
|
+ <div class="title">转移后:</div>
|
|
<el-form-item label="出入库任务">
|
|
<el-form-item label="出入库任务">
|
|
<el-select @change="taskNochange" v-model="currectdata.taskNoNew" placeholder="选择转移后的出入库任务编号">
|
|
<el-select @change="taskNochange" v-model="currectdata.taskNoNew" placeholder="选择转移后的出入库任务编号">
|
|
<el-option v-for="item in arr2" :key="item.id" :label="item.inOutTaskNo+(item.taskFlag?'('+item.taskFlag+')':'')" :value="item.inOutTaskNo"></el-option>
|
|
<el-option v-for="item in arr2" :key="item.id" :label="item.inOutTaskNo+(item.taskFlag?'('+item.taskFlag+')':'')" :value="item.inOutTaskNo"></el-option>
|
|
@@ -503,6 +503,10 @@
|
|
this.$message.error("出入库任务编号不能为空!")
|
|
this.$message.error("出入库任务编号不能为空!")
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ if(!this.currectdata.tranTaskNew&&this.currectdata.inOutType=='移库出库'||!this.currectdata.tranTaskNew&&this.currectdata.inOutType=='移库入库'){
|
|
|
|
+ this.$message.error("移库运输任务编号不能为空!")
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.$confirm('确定转移出库数据?', {
|
|
this.$confirm('确定转移出库数据?', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
@@ -522,6 +526,7 @@
|
|
async taskNochange(e){
|
|
async taskNochange(e){
|
|
for (let i = 0; i < this.taskNolist.length; i++) {
|
|
for (let i = 0; i < this.taskNolist.length; i++) {
|
|
if(this.taskNolist[i].inOutTaskNo==e){
|
|
if(this.taskNolist[i].inOutTaskNo==e){
|
|
|
|
+ this.currectdata.inOutType=this.taskNolist[i].inOutType
|
|
this.currectdata.contractNoNew=this.taskNolist[i].contractNo?this.taskNolist[i].contractNo:this.taskNolist[i].moveTaskNo
|
|
this.currectdata.contractNoNew=this.taskNolist[i].contractNo?this.taskNolist[i].contractNo:this.taskNolist[i].moveTaskNo
|
|
}
|
|
}
|
|
}
|
|
}
|