|
|
@ -101,6 +101,16 @@ |
|
|
style="width: 100px; height: 80px"/></span> |
|
|
style="width: 100px; height: 80px"/></span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
fixed="right" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="150" |
|
|
|
|
|
:label="buttons.cz"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<a type="text" size="small" @click="remove(scope.row)" herf="#">删除卷</a> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
@ -488,7 +498,7 @@ |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false, |
|
|
fixed: false, |
|
|
columnWidth: 250 |
|
|
|
|
|
|
|
|
columnWidth: 100 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
@ -825,6 +835,18 @@ |
|
|
this.sum1 = Number(this.sum1)+ Number(newDate.rollNumber); |
|
|
this.sum1 = Number(this.sum1)+ Number(newDate.rollNumber); |
|
|
this.sum2 = Number(this.sum2)+ Number(newDate.allRollQty); |
|
|
this.sum2 = Number(this.sum2)+ Number(newDate.allRollQty); |
|
|
}, |
|
|
}, |
|
|
|
|
|
remove(row){ |
|
|
|
|
|
this.$confirm('确认删除记录吗?', '提示', { |
|
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
|
type: 'warning' |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
this.sum1 = Number(this.sum1) - Number(row.rollNumber); |
|
|
|
|
|
this.sum2 = Number(this.sum2) - Number(row.allRollQty); |
|
|
|
|
|
this.dataList1 = this.dataList1.filter(item => item.number!=row.number) |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
saveCRoll() { |
|
|
saveCRoll() { |
|
|
if(this.dataForm.checked==true){ |
|
|
if(this.dataForm.checked==true){ |
|
|
this.$alert('打印机连接失败!', '错误', { |
|
|
this.$alert('打印机连接失败!', '错误', { |
|
|
|