Browse Source

完善厂家确认

master
guoxing 8 months ago
parent
commit
22c70013ce
  1. 6
      yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue
  2. 7
      yxt-as-ui/src/views/storage/oldPartsFactory/index.vue

6
yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue

@ -125,6 +125,8 @@
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.imgList = []
this.submitdisabled = false
this.$emit('doback')
},
@ -138,7 +140,7 @@
this.formobj = resp.data
for (var i = 0; i < resp.data.filePaths.length; i++) {
this.imgList.push({
url: resp.data.filePaths[i].url
url: resp.data.filePaths[i]
})
}
}
@ -168,7 +170,7 @@
console.log('backData》》》》', value)
console.log('imgList', this.imgList)
this.imgList = value
this.formobj.filePaths = []
for (var i = 0; i < this.imgList.length; i++) {
this.formobj.filePaths.push(this.imgList[i].url)
}

7
yxt-as-ui/src/views/storage/oldPartsFactory/index.vue

@ -91,7 +91,8 @@
</el-table-column>
<el-table-column label="厂家确认情况" align="center" width="150">
<template slot-scope="scope">
<div style="color: #1890FF; text-decoration: underline ;" @click="showDetail(scope.row)">
<div style="color: #1890FF; text-decoration: underline ;" v-show="scope.row.confirmSid!=''"
@click="showDetail(scope.row)">
查看
</div>
</template>
@ -281,8 +282,10 @@
this.dialogVisible = true
},
showDetail(row) {
this.viewState = 5
this.$refs['manufacturerconfirmInfo'].showEdit(row.sid)
this.$refs['manufacturerconfirmInfo'].showEdit(row.confirmSid)
},
showResult(row) {

Loading…
Cancel
Save