|
@@ -82,9 +82,10 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="goodsSource" label="货源" width="80"></el-table-column>
|
|
<el-table-column prop="goodsSource" label="货源" width="80"></el-table-column>
|
|
<el-table-column prop="deliveryWarehouse" label="发货库" width="80"></el-table-column>
|
|
<el-table-column prop="deliveryWarehouse" label="发货库" width="80"></el-table-column>
|
|
- <el-table-column prop="goodsName" label="货名" width="80">
|
|
|
|
|
|
+ <el-table-column prop="customer" label="客户" width="100"></el-table-column>
|
|
|
|
+ <el-table-column prop="goodsName" label="货名" width="60">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="inWarehouseWeight1" width="200" class="table_td" label="入库重量(吨)">
|
|
|
|
|
|
+ <el-table-column prop="inWarehouseWeight1" width="140" class="table_td" label="入库重量(吨)">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
<span v-if='scope.row.weightedit==false&&scope.row.warehouseType==2||scope.row.warehouseType==1'>{{scope.row.inWarehouseWeight1}}</span>
|
|
<span v-if='scope.row.weightedit==false&&scope.row.warehouseType==2||scope.row.warehouseType==1'>{{scope.row.inWarehouseWeight1}}</span>
|
|
<el-input style='width:80%;' v-if='scope.row.weightedit&&scope.row.warehouseType==2' v-model='scope.row.inWarehouseWeight1'></el-input>
|
|
<el-input style='width:80%;' v-if='scope.row.weightedit&&scope.row.warehouseType==2' v-model='scope.row.inWarehouseWeight1'></el-input>
|
|
@@ -94,11 +95,11 @@
|
|
src="../../../public/img/edit.png" @click="editWeight(scope.row)" alt="" />
|
|
src="../../../public/img/edit.png" @click="editWeight(scope.row)" alt="" />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="outWarehouseWeight" width="130" class="table_td" label="出库重量(吨)"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="outWarehouseWeight" width="110" class="table_td" label="出库重量(吨)"></el-table-column>
|
|
<el-table-column prop="profitAndLoss" class="table_td" label="盈亏(吨)"></el-table-column>
|
|
<el-table-column prop="profitAndLoss" class="table_td" label="盈亏(吨)"></el-table-column>
|
|
- <el-table-column prop="surplusWeight" width="130" class="table_td" label="剩余重量(吨)"></el-table-column>
|
|
|
|
- <el-table-column prop="grainFund" width="130" class="table_td" label="粮款(元)"></el-table-column>
|
|
|
|
- <el-table-column prop="amountEdPayable" width="130" class="table_td" label="已付(元)">
|
|
|
|
|
|
+ <el-table-column prop="surplusWeight" width="110" class="table_td" label="剩余重量(吨)"></el-table-column>
|
|
|
|
+ <el-table-column prop="grainFund" width="100" class="table_td" label="粮款(元)"></el-table-column>
|
|
|
|
+ <el-table-column prop="amountEdPayable" width="100" class="table_td" label="已付(元)">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
<span >{{scope.row.amountEdPayable}}</span>
|
|
<span >{{scope.row.amountEdPayable}}</span>
|
|
<img v-if='scope.row.addressUrl' width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
<img v-if='scope.row.addressUrl' width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
@@ -106,17 +107,25 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="amountNotPayable" class="table_td" label="未付(元)"></el-table-column>
|
|
<el-table-column prop="amountNotPayable" class="table_td" label="未付(元)"></el-table-column>
|
|
- <el-table-column prop="amountMoney" width="130" class="table_td" label="费用(元)">
|
|
|
|
|
|
+ <el-table-column prop="amountMoney" width="80" class="table_td" label="费用(元)">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
<span @click='costclick(scope.row)'>{{scope.row.amountMoney}}</span>
|
|
<span @click='costclick(scope.row)'>{{scope.row.amountMoney}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="avgCost" width="130" class="table_td" label="平均成本(元/吨)"></el-table-column>
|
|
<el-table-column prop="avgCost" width="130" class="table_td" label="平均成本(元/吨)"></el-table-column>
|
|
- <el-table-column prop="requestFunds" width="180" class="table_td" label="请款">
|
|
|
|
|
|
+ <el-table-column prop="requestFunds" width="130" class="table_td" label="请款">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
<span v-if="!scope.row.select">{{ scope.row.requestFunds }}</span>
|
|
<span v-if="!scope.row.select">{{ scope.row.requestFunds }}</span>
|
|
<el-input v-else v-model='scope.row.requestFunds'></el-input>
|
|
<el-input v-else v-model='scope.row.requestFunds'></el-input>
|
|
</template>
|
|
</template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="remark" width="130" class="table_td" label="请款备注">
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div v-if="!scope.row.select" @click.stop="lookRemark(scope.row)">
|
|
|
|
+ <span class="text_css">查看</span>
|
|
|
|
+ </div>
|
|
|
|
+ <el-input v-else v-model='scope.row.remark'></el-input>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="approveStatus" label="请款状态" width="90">
|
|
<el-table-column prop="approveStatus" label="请款状态" width="90">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -152,25 +161,28 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!-- <el-dialog
|
|
<!-- <el-dialog
|
|
- title="提示"
|
|
|
|
- :visible.sync="dialogVisible"
|
|
|
|
- width="30%"
|
|
|
|
- :before-close="handleClose">
|
|
|
|
- <div>
|
|
|
|
- <el-time-picker
|
|
|
|
- v-model="value1"
|
|
|
|
- format='HH:mm'
|
|
|
|
- value-format="HH:mm"
|
|
|
|
|
|
+ title="提示"
|
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
|
+ width="30%"
|
|
|
|
+ :before-close="handleClose">
|
|
|
|
+ <div>
|
|
|
|
+ <el-time-picker
|
|
|
|
+ v-model="value1"
|
|
|
|
+ format='HH:mm'
|
|
|
|
+ value-format="HH:mm"
|
|
|
|
|
|
-
|
|
|
|
- placeholder="任意时间点"> </el-time-picker>
|
|
|
|
- <ws-button type="primary" @click="handleAdd()" v-hasPermission="
|
|
|
|
- `warehouseManagement.warehouse.warehouseInfoTask.add`
|
|
|
|
- ">修改
|
|
|
|
- </ws-button>
|
|
|
|
- </div>
|
|
|
|
-</el-dialog> -->
|
|
|
|
-<el-dialog width='50%' :visible.sync="accessoryTFs" title="附件" top="20vh">
|
|
|
|
|
|
+
|
|
|
|
+ placeholder="任意时间点"> </el-time-picker>
|
|
|
|
+ <ws-button type="primary" @click="handleAdd()" v-hasPermission="
|
|
|
|
+ `warehouseManagement.warehouse.warehouseInfoTask.add`
|
|
|
|
+ ">修改
|
|
|
|
+ </ws-button>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog> -->
|
|
|
|
+ <el-dialog width='30%' :visible.sync="remarkList" title="备注" top="20vh">
|
|
|
|
+ <span>{{remark}}</span>
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <el-dialog width='50%' :visible.sync="accessoryTFs" title="附件" top="20vh">
|
|
<div v-for="(item,index) in appendixIdss" :key="'fujian'+index" >
|
|
<div v-for="(item,index) in appendixIdss" :key="'fujian'+index" >
|
|
<el-image
|
|
<el-image
|
|
style="width: 100px; height: 100px"
|
|
style="width: 100px; height: 100px"
|
|
@@ -179,7 +191,7 @@
|
|
</el-image>
|
|
</el-image>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <el-dialog width='30%' :visible.sync="dialogVisible1" title="费用" top="20vh">
|
|
|
|
|
|
+ <el-dialog width='30%' :visible.sync="dialogVisible1" title="费用" top="20vh">
|
|
<div v-for="(item,index) in costlist" :key="index" class="audit">
|
|
<div v-for="(item,index) in costlist" :key="index" class="audit">
|
|
<div class="audit_item">
|
|
<div class="audit_item">
|
|
<div class="audit_left">
|
|
<div class="audit_left">
|
|
@@ -195,7 +207,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
-</div>
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -337,6 +349,8 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
},
|
|
},
|
|
},
|
|
},
|
|
accessoryTFs: false,
|
|
accessoryTFs: false,
|
|
|
|
+ remarkList: false,
|
|
|
|
+ remark:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// activated() {
|
|
// activated() {
|
|
@@ -364,6 +378,18 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
|
|
|
|
console.log(this.appendixIdss)
|
|
console.log(this.appendixIdss)
|
|
},
|
|
},
|
|
|
|
+ lookRemark(row) {
|
|
|
|
+ if(row.remark){
|
|
|
|
+ this.remark = row.remark
|
|
|
|
+ this.remarkList = true
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '暂无请款备注',
|
|
|
|
+ type: 'warning'
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ },
|
|
handle(status){
|
|
handle(status){
|
|
this.searchType=status
|
|
this.searchType=status
|
|
this.getList()
|
|
this.getList()
|
|
@@ -406,7 +432,7 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- editwarehousingorder({id:row.id,inWarehouseWeight:row.inWarehouseWeight1*1000}).toPromise()
|
|
|
|
|
|
+ editwarehousingorder({id:row.id,inWarehouseWeight:row.inWarehouseWeight1}).toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
// row.weightedit=false
|
|
// row.weightedit=false
|
|
this.getList()
|
|
this.getList()
|
|
@@ -414,7 +440,7 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
})
|
|
})
|
|
},
|
|
},
|
|
payout(item){
|
|
payout(item){
|
|
- // console.log(item)
|
|
|
|
|
|
+ console.log(item)
|
|
if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤'){
|
|
if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤'){
|
|
if(this.multipleSelection1[item.id].length>0){
|
|
if(this.multipleSelection1[item.id].length>0){
|
|
item.payshow=false
|
|
item.payshow=false
|
|
@@ -561,7 +587,6 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
})
|
|
})
|
|
},
|
|
},
|
|
paymentsubmit(item){
|
|
paymentsubmit(item){
|
|
- // console.log(item.id)
|
|
|
|
var that=this
|
|
var that=this
|
|
console.log(this.multipleSelection1,this.multipleSelection1[this.currectdata.id])
|
|
console.log(this.multipleSelection1,this.multipleSelection1[this.currectdata.id])
|
|
var arr2=this.multipleSelection1[this.currectdata.id]
|
|
var arr2=this.multipleSelection1[this.currectdata.id]
|
|
@@ -572,9 +597,13 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
});
|
|
});
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- console.log(arr2)
|
|
|
|
for (let i = 0; i < arr2.length; i++) {
|
|
for (let i = 0; i < arr2.length; i++) {
|
|
- arr2[i].addressUrlArray=arr2[i].addressUrlArray.concat(this.paymentScreenshot)
|
|
|
|
|
|
+ if(arr2[i].addressUrlArray){
|
|
|
|
+ arr2[i].addressUrlArray=arr2[i].addressUrlArray.concat(this.paymentScreenshot)
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ arr2[i].addressUrlArray=this.paymentScreenshot
|
|
|
|
+ }
|
|
arr2[i].addressUrl=arr2[i].addressUrlArray.toString()
|
|
arr2[i].addressUrl=arr2[i].addressUrlArray.toString()
|
|
|
|
|
|
}
|
|
}
|