|
|
@ -8,6 +8,7 @@ |
|
|
<el-button type="primary" @click="saveData()" v-if="!ifDisableFlag&&isAuth('103002:bmSave')">保存</el-button> |
|
|
<el-button type="primary" @click="saveData()" v-if="!ifDisableFlag&&isAuth('103002:bmSave')">保存</el-button> |
|
|
<el-button v-if="dataForm.status === 'spz'&&!ifDisableFlag" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
<el-button v-if="dataForm.status === 'spz'&&!ifDisableFlag" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
<el-button v-if="dataForm.status === 'spz' && dataForm.isReject === 'Y' &&!ifDisableFlag" type="primary" @click="submitDataModal">驳回</el-button> |
|
|
<el-button v-if="dataForm.status === 'spz' && dataForm.isReject === 'Y' &&!ifDisableFlag" type="primary" @click="submitDataModal">驳回</el-button> |
|
|
|
|
|
<el-button v-if="dataForm.status === 'cg'&&!ifDisableFlag" type="primary" @click="issueModal">下达</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</div> |
|
|
</div> |
|
|
</el-col> |
|
|
</el-col> |
|
|
@ -287,7 +288,7 @@ |
|
|
searchTechnicalSpecificationTeamStr, |
|
|
searchTechnicalSpecificationTeamStr, |
|
|
updateBMBasicInformation, |
|
|
updateBMBasicInformation, |
|
|
searchPartLastQuotationNo,getBMStatusDesc,getOADetailForBM, |
|
|
searchPartLastQuotationNo,getBMStatusDesc,getOADetailForBM, |
|
|
submitChange, // 提交 |
|
|
|
|
|
|
|
|
submitChange, issueChange, // 下达 // 提交 |
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
import { |
|
|
import { |
|
|
getNodeAuthority, // 获取节点权限 |
|
|
getNodeAuthority, // 获取节点权限 |
|
|
@ -780,7 +781,31 @@ |
|
|
this.submitData(tempData) |
|
|
this.submitData(tempData) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 下达 |
|
|
|
|
|
issueModal (row) { |
|
|
|
|
|
this.$confirm(`是否确认下达?`, '提示', { |
|
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
|
type: 'warning' |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
let tempData = { |
|
|
|
|
|
site: this.searchData.site, |
|
|
|
|
|
userName: this.searchData.username, |
|
|
|
|
|
codeNo: this.searchData.codeNo, |
|
|
|
|
|
menuId: '103002' |
|
|
|
|
|
} |
|
|
|
|
|
issueChange(tempData).then(({data}) => { |
|
|
|
|
|
if (data && data.code === 0) { |
|
|
|
|
|
this.search() |
|
|
|
|
|
this.$message({message: '操作成功', type: 'success'}) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
|
|
confirmButtonText: '确定' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 打开提交模态框 |
|
|
// 打开提交模态框 |
|
|
submitDataModal () { |
|
|
submitDataModal () { |
|
|
|