项目合规评估-项目,流程发起界面,将数据保存至草稿,从草稿进入 分解单来源显示不对Bug修改

This commit is contained in:
zhaoxianhui
2022-07-05 10:20:53 +08:00
parent 726e6538d7
commit 4c2237100f
@@ -474,7 +474,12 @@ export default {
saveLoading: false, saveLoading: false,
fileType: '', fileType: '',
bpnId: '', bpnId: '',
decomposeOptions: [], //分解单来源数据 decomposeOptions: [
{
value: "BDR",
label: '不带入'
}
], //分解单来源数据
//表单的数据 //表单的数据
listForm: { listForm: {
projectNumber: "", //项目编号 projectNumber: "", //项目编号
@@ -571,16 +576,16 @@ export default {
}); });
}, },
typeList(row){ typeList(row){
this.decomposeOptions = [] // this.decomposeOptions = []
this.$http.get("SarStandItems/sar-stand-items/getFileType", { this.$http.get("SarStandItems/sar-stand-items/getFileType", {
standId: row.standId standId: row.standId
}, {}, res => { }, {}, res => {
this.decomposeOptions.push( // this.decomposeOptions.push(
{ // {
value: 'BDR', // value: "BDR",
label: '不带入' // label: '不带入'
} // }
) // )
res.data.forEach(item => { res.data.forEach(item => {
this.decomposeOptions.push(item) this.decomposeOptions.push(item)
}) })