Browse Source

2024-01-02

master
fengyuan_yang 1 year ago
parent
commit
1934444851
  1. 4
      src/views/modules/part/bomManagement.vue
  2. 4
      src/views/modules/part/recipeManagement.vue

4
src/views/modules/part/bomManagement.vue

@ -4163,12 +4163,12 @@ export default {
// Buildable
updateStatusToBuildable () {
this.detailData.updateBy = this.$store.state.user.name
this.$confirm(`是否修改状态为Buildable?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.detailData.updateBy = this.$store.state.user.name
updateAlternativeStatus(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailDataList = data.rows.detailDataList
@ -4192,12 +4192,12 @@ export default {
// Obsolete
updateStatusToObsolete () {
this.detailData.updateBy = this.$store.state.user.name
this.$confirm(`是否修改状态为Obsolete?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.detailData.updateBy = this.$store.state.user.name
updateAlternativeStatus(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailDataList = data.rows.detailDataList

4
src/views/modules/part/recipeManagement.vue

@ -4199,12 +4199,12 @@ export default {
// Buildable
updateStatusToBuildable () {
this.detailData.updateBy = this.$store.state.user.name
this.$confirm(`是否修改状态为Buildable?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.detailData.updateBy = this.$store.state.user.name
updateAlternativeStatus(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailDataList = data.rows.detailDataList
@ -4227,12 +4227,12 @@ export default {
// Obsolete
updateStatusToObsolete () {
this.detailData.updateBy = this.$store.state.user.name
this.$confirm(`是否修改状态为Obsolete?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.detailData.updateBy = this.$store.state.user.name
updateAlternativeStatus(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailDataList = data.rows.detailDataList

Loading…
Cancel
Save