|
@@ -2717,17 +2717,23 @@ export default {
|
|
|
// this.takeAssetsProductionNoDTO.printCount = this.assetsProductionForm.printCount;
|
|
|
|
|
|
if (!this.takeAssetsProductionNoDTO.targetIdList.length == 0) {
|
|
|
- this.$api.assets.takeAssetsStatementProductionNo(this.takeAssetsProductionNoDTO).then((res) => {
|
|
|
- if (res.code === 200 && res.data) {
|
|
|
- this.$notify({
|
|
|
- title: '成功',
|
|
|
- message: '产品取号成功!',
|
|
|
- type: 'success',
|
|
|
- duration: 2000,
|
|
|
- });
|
|
|
- // this.pageParams.row.productionNo = res.data;
|
|
|
- this.getAETargetListByAssetsId();
|
|
|
- }
|
|
|
+ this.$confirm('将对已选择的' + this.takeAssetsProductionNoDTO.targetIdList.length + '个评估对象取意见书号(请仔细确认要取号的评估对象与取号规则), 操作不可逆, 是否继续?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
+ this.$api.assets.takeAssetsStatementProductionNo(this.takeAssetsProductionNoDTO).then((res) => {
|
|
|
+ if (res.code === 200 && res.data) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '产品取号成功!',
|
|
|
+ type: 'success',
|
|
|
+ duration: 2000,
|
|
|
+ });
|
|
|
+ // this.pageParams.row.productionNo = res.data;
|
|
|
+ this.getAETargetListByAssetsId();
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
} else {
|
|
|
this.$notify({
|
|
@@ -2752,7 +2758,7 @@ export default {
|
|
|
this.taskRecordDTO.taskData = this.takeAssetsProductionNoDTO;
|
|
|
|
|
|
if (!this.takeAssetsProductionNoDTO.targetIdList.length == 0) {
|
|
|
- this.$confirm('将对已选择的' + this.takeAssetsProductionNoDTO.targetIdList.length + '个评估对象取号(请仔细确认要取号的评估对象, 操作不可逆, 是否继续?', '提示', {
|
|
|
+ this.$confirm('将对已选择的' + this.takeAssetsProductionNoDTO.targetIdList.length + '个评估对象取报告号(请仔细确认要取号的评估对象与取号规则), 操作不可逆, 是否继续?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning',
|