Commit 82b1015f authored by 黄媛媛's avatar 黄媛媛

修改

parent e404a0d4
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<el-table-column prop="DomainName" label="域名"></el-table-column> <el-table-column prop="DomainName" label="域名"></el-table-column>
<el-table-column prop="Account" label="关联erp账号"></el-table-column> <el-table-column prop="Account" label="关联erp账号"></el-table-column>
<el-table-column prop="MallUserName" label="电商员工姓名"></el-table-column> <el-table-column prop="MallUserName" label="电商员工姓名"></el-table-column>
<el-table-column prop="EmpName" label="创建人姓名"></el-table-column> <!-- <el-table-column prop="EmpName" label="创建人姓名"></el-table-column> -->
<el-table-column label="状态"> <el-table-column label="状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Status==1">待审核</span> <span v-if="scope.row.Status==1">待审核</span>
......
...@@ -130,7 +130,8 @@ ...@@ -130,7 +130,8 @@
<div class="xuanzhong" id = 'xuanzhong' style="display:none" > <div class="xuanzhong" id = 'xuanzhong' style="display:none" >
<!-- <div v-for="(item,index) in checkList" :key="index" class="xuanzhong_item" :id = "item.page" > --> <!-- <div v-for="(item,index) in checkList" :key="index" class="xuanzhong_item" :id = "item.page" > -->
<div v-for="(item,index) in checkList" :key="index" :id = "item.page" style=" width: 283px; height: 283px;padding: 10px;display: flex;flex-direction: column; justify-content: space-around;"> <div v-for="(item,index) in checkList" :key="index" :id = "item.page" style=" width: 283px; height: 283px;padding: 10px;display: flex;flex-direction: column; justify-content: space-around;">
<div style=" width:100%; height:40px;text-overflow: ellipsis; display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;"> <!-- <div style=" width:100%; height:40px;text-overflow: ellipsis; display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;"> -->
<div style=" width:100%; height:30px;text-overflow: ellipsis; line-height: 20px;">
{{item.GoodsName}} {{item.GoodsName}}
</div> </div>
<div style=' width:100%; display: flex;flex-direction: row;align-items: center;margin-top:10px'> <div style=' width:100%; display: flex;flex-direction: row;align-items: center;margin-top:10px'>
...@@ -346,15 +347,16 @@ export default { ...@@ -346,15 +347,16 @@ export default {
setTimeout(()=>{ setTimeout(()=>{
that.batchprint(num) that.batchprint(num)
},200) },200)
if(conunt == num){
}else{
console.log('打印完成')
that.loading = false; that.loading = false;
that.checkList=[]; that.checkList=[];
that.dataList.forEach((x,i)=>{ that.dataList.forEach((x,i)=>{
x.Ischeck = false; x.Ischeck = false;
}) })
}
}else{
return return
} }
...@@ -363,7 +365,7 @@ export default { ...@@ -363,7 +365,7 @@ export default {
} }
} }
LODOP.PRINT() LODOP.PRINT()
// LODOP.PREVIEW()//预览打印
} }
// else{ // else{
......
...@@ -23,14 +23,6 @@ ...@@ -23,14 +23,6 @@
layout="prev, pager, next" :total="total"> layout="prev, pager, next" :total="total">
</el-pagination> </el-pagination>
</div> </div>
<!-- 选择是否公账 -->
<el-dialog title="请选择" :visible.sync="choiceFin" width="400px">
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="choiceFin=false">取消</el-button>
<el-button type="primary" size="small" @click="setFince()">确定</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
...@@ -40,7 +32,7 @@ ...@@ -40,7 +32,7 @@
data() { data() {
return { return {
loading: false, loading: false,
choiceFin: false,
tableData:[], tableData:[],
total: 0, total: 0,
outobj:{ outobj:{
...@@ -96,24 +88,36 @@ ...@@ -96,24 +88,36 @@
}, },
outapplyfor(){ outapplyfor(){
if(this.ERPEmpId==0){ let that = this
this.Error('您还未授权,暂不能出库'); if(that.ERPEmpId==0){
that.Error('您还未授权,暂不能出库');
}else{ }else{
if (this.outobj.WarehouseOutGoodsList.length == 0) {
this.Info('请选择商品');
if (that.outobj.WarehouseOutGoodsList.length == 0) {
that.Info('请选择商品');
return return
} }
this.loading = true; that.$confirm('是否申请出库?', '提示', {
this.assetsApipost("/api/WarehouseOut/SetWarehouseOutApply", this.outobj, res => { confirmButtonText: '确定',
this.loading = false; cancelButtonText: '取消',
type: 'warning'
}).then(() => {
that.loading = true;
that.assetsApipost("/api/WarehouseOut/SetWarehouseOutApply", that.outobj, res => {
that.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); that.Success(res.data.message);
this.outobj.WarehouseOutGoodsList = [] that.outobj.WarehouseOutGoodsList = []
this.getList(); that.getList();
}else{ }else{
this.Error(res.data.message); that.Error(res.data.message);
} }
}) })
}).catch(() => {
});
} }
......
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