...
|
...
|
@@ -932,21 +932,14 @@ |
|
|
// 删除
|
|
|
applyDel(index, row) {
|
|
|
// 弹框询问是否删除?
|
|
|
this.$confirm('此操作永久删除该消息收发记录, 是否继续?', '警告', {
|
|
|
this.$confirm('此操作永久删除该记录, 是否继续?', '警告', {
|
|
|
confirmButtonText: '确定删除',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}
|
|
|
).then(() => {
|
|
|
// console.log(row);
|
|
|
delInventoryrecord({uuid:row.uuid}).then((response) => {
|
|
|
// console.log(row)
|
|
|
const res = response.data
|
|
|
this.$message.success(res.msg)
|
|
|
this.getList()
|
|
|
}).catch(err => {
|
|
|
this.$message.error(err.toString())
|
|
|
})
|
|
|
console.log('del'+index);
|
|
|
this.tableData.splice(index, 1)
|
|
|
}).catch(() => {
|
|
|
})
|
|
|
},
|
...
|
...
|
@@ -1191,7 +1184,7 @@ |
|
|
|
|
|
},
|
|
|
multiply(str){
|
|
|
var everyNum = str.replace('X','x').split('x');
|
|
|
var everyNum = str.replaceAll('X','x').split('x');
|
|
|
let tempNum = 1;
|
|
|
everyNum.forEach(item =>{
|
|
|
tempNum = tempNum*item
|
...
|
...
|
|