|
@@ -39,22 +39,19 @@
|
|
<el-table-column prop="storageNumber" label="囤位号"></el-table-column>
|
|
<el-table-column prop="storageNumber" label="囤位号"></el-table-column>
|
|
<el-table-column prop="secretaryWeigher" label="司称员"></el-table-column>
|
|
<el-table-column prop="secretaryWeigher" label="司称员"></el-table-column>
|
|
<el-table-column prop="grossDate" label="称重时间">
|
|
<el-table-column prop="grossDate" label="称重时间">
|
|
- <!-- <template slot-scope="scope">
|
|
|
|
- <span v-if="scope.row.grossDate == null">
|
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.grossDate}}
|
|
|
|
+ <span v-if="scope.row.grossDate == null">
|
|
{{scope.row.tareDate}}
|
|
{{scope.row.tareDate}}
|
|
</span>
|
|
</span>
|
|
- </template> -->
|
|
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="addressUrl" label="附件">
|
|
<el-table-column prop="addressUrl" label="附件">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
|
|
src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
|
|
<span v-if="scope.row.addressUrlArray != null">
|
|
<span v-if="scope.row.addressUrlArray != null">
|
|
- {{
|
|
|
|
- scope.row.addressUrlArray.length == 0
|
|
|
|
- ? ''
|
|
|
|
- : scope.row.addressUrlArray.length
|
|
|
|
- }}
|
|
|
|
|
|
+ {{scope.row.addressUrlArray.length == 0? '': scope.row.addressUrlArray.length}}
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -75,8 +72,10 @@
|
|
</div>
|
|
</div>
|
|
<WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
|
|
<WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
|
|
@on-cancel="handleClose">
|
|
@on-cancel="handleClose">
|
|
- <ws-upload ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
|
|
|
|
- accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
|
|
|
|
|
|
+ <p>查看附件</p>
|
|
|
|
+ <div style="display: inline-block; margin: 5px" v-for="item in appendixIdss">
|
|
|
|
+ <img width="100" height="100" :src="item" alt="" />
|
|
|
|
+ </div>
|
|
</WinseaContentModal>
|
|
</WinseaContentModal>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -91,7 +90,6 @@
|
|
} from 'base-core-lib'
|
|
} from 'base-core-lib'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import WsUpload from '@/components/WsUpload'
|
|
export default {
|
|
export default {
|
|
-
|
|
|
|
components: {
|
|
components: {
|
|
WsUpload,
|
|
WsUpload,
|
|
},
|
|
},
|
|
@@ -114,6 +112,7 @@
|
|
warehouseId: '',
|
|
warehouseId: '',
|
|
accessoryTFs: false,
|
|
accessoryTFs: false,
|
|
appendixIdss: [],
|
|
appendixIdss: [],
|
|
|
|
+ addressUrls: [],
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -235,11 +234,11 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
- var arr = new Array()
|
|
|
|
- this.addressUrls[i] = new Array()
|
|
|
|
|
|
+ var arr = new Array()
|
|
|
|
+ this.addressUrls[i] = new Array()
|
|
if (this.weighingList.records[i].addressUrl !=
|
|
if (this.weighingList.records[i].addressUrl !=
|
|
null) {
|
|
null) {
|
|
- arr = this.weighingList.records[i].addressUrl.split(',')
|
|
|
|
|
|
+ arr = this.weighingList.records[i].addressUrl.split(',')
|
|
this.addressUrls[i] = arr
|
|
this.addressUrls[i] = arr
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -258,7 +257,7 @@
|
|
} else {
|
|
} else {
|
|
this.accessoryTFs = true
|
|
this.accessoryTFs = true
|
|
}
|
|
}
|
|
- this.appendixIdss = row.addressUrl
|
|
|
|
|
|
+ this.appendixIdss = row.addressUrlArray
|
|
},
|
|
},
|
|
handleClose() {
|
|
handleClose() {
|
|
this.dialogViewSpareMoney = false
|
|
this.dialogViewSpareMoney = false
|