Browse Source

Merge remote-tracking branch 'origin/master'

zhanglei
yunuo970428 8 months ago
parent
commit
4be4a9c710
  1. 6
      yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue
  2. 16
      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) { handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist') if (isreload === 'true') this.$emit('reloadlist')
this.imgList = []
this.submitdisabled = false
this.$emit('doback') this.$emit('doback')
}, },
@ -138,7 +140,7 @@
this.formobj = resp.data this.formobj = resp.data
for (var i = 0; i < resp.data.filePaths.length; i++) { for (var i = 0; i < resp.data.filePaths.length; i++) {
this.imgList.push({ this.imgList.push({
url: resp.data.filePaths[i].url url: resp.data.filePaths[i]
}) })
} }
} }
@ -168,7 +170,7 @@
console.log('backData》》》》', value) console.log('backData》》》》', value)
console.log('imgList', this.imgList) console.log('imgList', this.imgList)
this.imgList = value this.imgList = value
this.formobj.filePaths = []
for (var i = 0; i < this.imgList.length; i++) { for (var i = 0; i < this.imgList.length; i++) {
this.formobj.filePaths.push(this.imgList[i].url) this.formobj.filePaths.push(this.imgList[i].url)
} }

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

@ -79,19 +79,21 @@
<el-table-column prop="actualReturnCount" label="实际返厂数量合计" width="180" align="center" /> <el-table-column prop="actualReturnCount" label="实际返厂数量合计" width="180" align="center" />
<el-table-column label="附件" align="center" width="100"> <el-table-column label="附件" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="color: #1890FF; text-decoration: underline ;" @click="showAdjunct(scope.row.filePaths)">查看 <div style="color: #1890FF; text-decoration: underline ;cursor: pointer;"
@click="showAdjunct(scope.row.filePaths)">查看
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="返厂情况" align="center" width="100"> <el-table-column label="返厂情况" prop="state" align="center" width="100" />
<template slot-scope="scope"> <!-- <template slot-scope="scope">
<div style="color: #1890FF; text-decoration: underline ;">{{scope.row.state}} <div style="color: #1890FF; text-decoration: underline ;">{{scope.row.state}}
</div> </div>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="厂家确认情况" align="center" width="150"> <el-table-column label="厂家确认情况" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="color: #1890FF; text-decoration: underline ;" @click="showDetail(scope.row)"> <div style="color: #1890FF; text-decoration: underline ;cursor: pointer;"
v-show="scope.row.confirmSid!=''" @click="showDetail(scope.row)">
查看 查看
</div> </div>
</template> </template>
@ -281,8 +283,10 @@
this.dialogVisible = true this.dialogVisible = true
}, },
showDetail(row) { showDetail(row) {
this.viewState = 5 this.viewState = 5
this.$refs['manufacturerconfirmInfo'].showEdit(row.sid) this.$refs['manufacturerconfirmInfo'].showEdit(row.confirmSid)
}, },
showResult(row) { showResult(row) {

Loading…
Cancel
Save