|
@@ -25,7 +25,7 @@
|
|
|
<ws-info-table>
|
|
|
<!--任务编号-->
|
|
|
<ws-form-item label="任务编号" span="1" prop="inOutTaskNo">
|
|
|
- <el-select filterable clearable v-model="dataList.inOutTaskNo" placeholder="请选择任务编号" class="typeselect"
|
|
|
+ <el-select filterable clearable v-model="dataList.inOutTaskNo" placeholder="请选择任务编号" class="typeselect"
|
|
|
@change="contractNoChange">
|
|
|
<el-option v-for="item in deptBudgetList2" :key="item.inOutTaskNo" :label="item.inOutTaskNo"
|
|
|
:value="item.inOutTaskNo" />
|
|
@@ -38,6 +38,10 @@
|
|
|
:value="item.contractNo" />
|
|
|
</el-select>
|
|
|
</ws-form-item>
|
|
|
+ <ws-form-item label="提示" span="1" prop="tips">
|
|
|
+ <ws-input onmouseover="this.title=this.value" v-model="dataList.tips"
|
|
|
+ maxlength="20" size="small" />
|
|
|
+ </ws-form-item>
|
|
|
<!-- 货名 -->
|
|
|
<ws-form-item label="货名" span="1">
|
|
|
<ws-select disabled v-model="dataList.goodsName" placeholder class="typeselect" @change="selectgoodsName">
|
|
@@ -663,20 +667,29 @@
|
|
|
for (var i = 0; i < this.outContractNo.length; i++) {
|
|
|
if (this.outContractNo[i].contractNo == e) {
|
|
|
if (this.outContractNo[i].inOutType == '采购入库') {
|
|
|
- this.deptBudgetList.tips='卖方'+this.outContractNo[i].seller
|
|
|
- this.deptBudgetList.inOutTypeKey = 1
|
|
|
+ this.dataList.tips='卖方'+this.outContractNo[i].seller+ '( '+this.outContractNo[i].unitContractPrice+'元/吨)'
|
|
|
+ this.dataList.inOutTypeKey = 1
|
|
|
} else if (this.outContractNo[i].inOutType == '移库入库') {
|
|
|
- this.deptBudgetList.tips='入货库'+data.warehouseName
|
|
|
- this.deptBudgetList.inOutTypeKey = 3
|
|
|
+ if(this.outContractNo[i].unitContractPrice){
|
|
|
+ this.dataList.tips='出货库'+data.sendWarehouse+ ' ('+this.outContractNo[i].unitContractPrice+'元/吨)'
|
|
|
+ }else{
|
|
|
+ this.dataList.tips='出货库'+data.sendWarehouse
|
|
|
+ }
|
|
|
+ this.dataList.inOutTypeKey = 3
|
|
|
}else if (this.outContractNo[i].inOutType == '移库出库') {
|
|
|
- this.deptBudgetList.tips='出货库'+data.warehouseName
|
|
|
+ this.dataList.tips='出货库'+data.warehouseName
|
|
|
} else if (this.outContractNo[i].inOutType == '暂存入库') {
|
|
|
- this.deptBudgetList.inOutTypeKey = 4
|
|
|
+ this.dataList.inOutTypeKey = 4
|
|
|
} else if (this.outContractNo[i].inOutType == '贸易服务入库') {
|
|
|
- this.deptBudgetList.inOutTypeKey = 5
|
|
|
+ this.dataList.inOutTypeKey = 5
|
|
|
} else if (this.outContractNo[i].inOutType == '退库') {
|
|
|
- this.deptBudgetList.tips='出货库'+data.warehouseName
|
|
|
- this.deptBudgetList.inOutTypeKey = 6
|
|
|
+ if(this.outContractNo[i].contractNo){
|
|
|
+ this.dataList.tips='买方'+this.outContractNo[i].buyer
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.dataList.tips='出货库'+data.sendWarehouse
|
|
|
+ }
|
|
|
+ this.dataList.inOutTypeKey = 6
|
|
|
}
|
|
|
this.dataList.goodsName = this.outContractNo[i].goodsName
|
|
|
this.dataList.goodsNameKey = this.outContractNo[i].goodsNameKey
|
|
@@ -1493,7 +1506,7 @@
|
|
|
//经办人
|
|
|
getstaff({
|
|
|
compId: localStorage.getItem('ws-pf_compId'),
|
|
|
- warehouseId: this.dataList.id
|
|
|
+ warehouseId: this.dataList.baseId
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|