标准拆分->编辑后
This commit is contained in:
@@ -982,8 +982,12 @@ export default {
|
||||
}, res => {
|
||||
res.data.list.map((item, index) => {
|
||||
if (item.collectId != null && item.collectId !== '') {
|
||||
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
|
||||
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
|
||||
item.collectBtn = false
|
||||
} else {
|
||||
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
|
||||
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
|
||||
item.collectBtn = true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1036,7 +1036,8 @@ export default {
|
||||
return
|
||||
}
|
||||
const query = this.infoForm
|
||||
this.editForm.id = query.infoId
|
||||
this.editForm.id = this.infoId
|
||||
console.log("hello",this.editForm.id);
|
||||
this.editForm.standNumSplit = query.standNumSplit
|
||||
this.editForm.standNameSplit = query.standNameSplit
|
||||
this.editForm.fileType = query.fileType
|
||||
@@ -1046,6 +1047,7 @@ export default {
|
||||
editFormSave () {
|
||||
this.$refs['editForm'].validate(valid => {
|
||||
if (valid) {
|
||||
|
||||
this.isSubmit = true
|
||||
this.$http.postData('lawss/sarFileSplitInfo/updateSarFileSplitInfo', this.editForm, {
|
||||
_this: this
|
||||
@@ -2223,8 +2225,8 @@ export default {
|
||||
const query = info[0]
|
||||
this.infoForm = {
|
||||
id: this.infoId,
|
||||
standNumSplit: query.splitStatus!=='0' ? query.showNumber : query.standNumSplit,
|
||||
standNameSplit: query.splitStatus!=='0' ? query.standName : query.standNameSplit,
|
||||
standNumSplit: query.splitStatus=='0' ? query.showNumber : query.standNumSplit,
|
||||
standNameSplit: query.splitStatus=='0' ? query.standName : query.standNameSplit,
|
||||
fileType: query.fileType
|
||||
}
|
||||
if (query.splitStatus === '0') {
|
||||
|
||||
Reference in New Issue
Block a user