|
|
|
@ -152,7 +152,11 @@
|
|
|
|
|
params.ids.push(res.result.id) |
|
|
|
|
params.vals.push(res.result.warehousingBatch) |
|
|
|
|
this.showText=params; |
|
|
|
|
|
|
|
|
|
let dataList=[]; |
|
|
|
|
let data={} |
|
|
|
|
data.id=res.result.id; |
|
|
|
|
dataList.push(data) |
|
|
|
|
this.$emit('mounted', dataList) |
|
|
|
|
} |
|
|
|
|
if (res.code === 510) { |
|
|
|
|
this.$message.warning(res.message) |
|
|
|
@ -240,11 +244,11 @@
|
|
|
|
|
this.$emit('callback', rows[0].id) |
|
|
|
|
this.$emit('mounted', rows) |
|
|
|
|
this.$emit('callType', rows[0]) |
|
|
|
|
console.log(rows[0],"选中的数据-----") |
|
|
|
|
console.log(rows,"选中的数据-----") |
|
|
|
|
} else { |
|
|
|
|
//v-model时 需要传一个参数field 表示当前这个字段 从而根据这个字段的顺序找到原始值 |
|
|
|
|
// this.$emit("input",row[orgFieldsArr[destFieldsArr.indexOf(this.field)]]) |
|
|
|
|
console.log(rows[0],"选中的数据") |
|
|
|
|
console.log(rows,"选中的数据") |
|
|
|
|
this.$emit('input', this.showText, rows[0]) |
|
|
|
|
this.$emit('mounted', rows) |
|
|
|
|
this.$emit('callType', rows[0]) |
|
|
|
|