修改bug

This commit is contained in:
2022-03-10 14:30:33 +08:00
parent 77f1831fc2
commit 0adf1dad1e
4 changed files with 45 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Date: 2021-01-07 20:09:37
* @LastEditors: zwq
* @LastEditTime: 2022-03-09 15:52:23
* @LastEditTime: 2022-03-10 14:25:50
* @FilePath: \basic-admin\src\components\BaseTable\subcomponents\CheckDetail.vue
* @Description:
-->
@@ -33,6 +33,7 @@
<script>
import { list } from '@/api/art-manage/art.js'
import { ProcessInfoUpdata } from '@/api/orderManage/00A'
export default {
props: {
injectData: {
@@ -43,14 +44,7 @@ export default {
data() {
return {
visible: false,
options: [{
value: '选项1',
label: '工艺1'
}, {
value: '选项2',
label: '工艺2'
}
],
options: [],
value: ''
}
},
@@ -67,9 +61,20 @@ export default {
})
},
emitClick() {
console.log(this.injectData)
console.log(this.value)
this.visible = false
const data = {
id: this.injectData.id,
subProcessId: this.value
}
ProcessInfoUpdata(data).then(res => {
this.$message({
message: this.$t('module.basicData.visual.success'),
type: 'success',
duration: 1500,
onClose: () => {
this.visible = false
}
})
})
}
}
}