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