Commit e3d26597 authored by Mac's avatar Mac

修改

parent bcccb77f
...@@ -73,6 +73,13 @@ ...@@ -73,6 +73,13 @@
<span>{{scope.row.StockInNum!=null?scope.row.StockInNum:0}}</span> <span>{{scope.row.StockInNum!=null?scope.row.StockInNum:0}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="条码" width="250">
<template slot-scope="scope">
<el-input v-model="scope.row.MaterialModel.Barcode"
@input='getBarcode(scope.row,$event,scope.row,scope.$index)'
placeholder="请输入"></el-input>
</template>
</el-table-column>
<el-table-column prop="" label="入库数量" width="200"> <el-table-column prop="" label="入库数量" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.InStockNum" type="number" :min='0' <el-input v-model="scope.row.InStockNum" type="number" :min='0'
...@@ -126,7 +133,7 @@ ...@@ -126,7 +133,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="有效时间" width="200"> <el-table-column prop="" label="有效时间" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-date-picker <el-date-picker
v-model="scope.row.time" v-model="scope.row.time"
...@@ -240,6 +247,7 @@ export default { ...@@ -240,6 +247,7 @@ export default {
obj.GoodsId = x.MaterialModel.GoodsId; obj.GoodsId = x.MaterialModel.GoodsId;
obj.SpecificationKey = x.MaterialModel.SpecificationKey; obj.SpecificationKey = x.MaterialModel.SpecificationKey;
obj.InStockNum = x.InStockNum; obj.InStockNum = x.InStockNum;
obj.Barcode = x.MaterialModel.Barcode;
//2021-4-1加的日期列表 //2021-4-1加的日期列表
zonglist.map((item,index)=>{ zonglist.map((item,index)=>{
if(x.Id == item.UniqueID ){ if(x.Id == item.UniqueID ){
...@@ -254,6 +262,7 @@ export default { ...@@ -254,6 +262,7 @@ export default {
this.Error('请输入入库数量'); this.Error('请输入入库数量');
return return
} }
console.log(msg)
this.rukuloading=true this.rukuloading=true
this.assetsApipost("/api/property/SetProcurementStockIn", msg, res => { this.assetsApipost("/api/property/SetProcurementStockIn", msg, res => {
this.rukuloading=false this.rukuloading=false
...@@ -302,6 +311,9 @@ export default { ...@@ -302,6 +311,9 @@ export default {
handleSelectionChange(val,y){ handleSelectionChange(val,y){
this.Warehousinglist[y].multipleSelection= val this.Warehousinglist[y].multipleSelection= val
}, },
getBarcode(val,row,index){
console.log(val,row,index)
},
setupTime(y){//全体设置 setupTime(y){//全体设置
if(this.Warehousinglist[y].multipleSelection.length==0){ if(this.Warehousinglist[y].multipleSelection.length==0){
this.Error('请选择要设置的对象'); this.Error('请选择要设置的对象');
......
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
<div> <div>
数量:x {{list.Number}} 数量:x {{list.Number}}
</div> </div>
<el-tag v-if="list.IsApplyForAfterSale && list.IsApplyForAfterSale == 1" size="small" type="danger">已退货退款</el-tag> <el-tag v-if="list.IsApplyForAfterSale && list.IsApplyForAfterSale == 2" size="small" type="danger">已退货退款</el-tag>
</div> </div>
......
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