Browse Source

附件

java8
han\hanst 2 months ago
parent
commit
e9c7e13556
  1. 83
      src/views/modules/ecss/codelnotifyConfirm.vue
  2. 2
      src/views/modules/oss/ossComponents.vue

83
src/views/modules/ecss/codelnotifyConfirm.vue

@ -210,6 +210,12 @@
:show-actions="true">
</packing-detail-tab>
</el-tab-pane>
<el-tab-pane label="相关文档" name="codelnotifyConfirmDocument">
<oss-components label="申请单号" style="margin-top: 5px" height="44vh" :columns="ossColumns"
:order-ref1="currentRow.site" :order-ref2="currentRow.delNo" :codelnotifyFlag="'2'"
:rfq-no="currentRow.delNo">
</oss-components>
</el-tab-pane>
</el-tabs>
<el-dialog title="仓库确认" :close-on-click-modal="false" v-drag :visible.sync="confirmModelFlag" width="400px">
@ -608,6 +614,7 @@
import {} from "@/api/sysLanguage.js"
import palletUploadExcel from "./pallet_upload_excel.vue";
import PackingDetailTab from "./components/PackingDetailTab.vue";
import OssComponents from '../oss/ossComponents.vue'
import {
searchEcssCoDelNotifyHeaderForCK,
searchEcssCoDelNotifyDetail,
@ -639,6 +646,7 @@
export default {
name: "null",
components:{
OssComponents,
palletUploadExcel,
Chooselist,
PackingDetailTab,
@ -1785,6 +1793,81 @@
columnWidth: 70
},
],
ossColumns:[
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table2FileName',
tableId: '103001Table2',
tableName: '文件信息表',
columnProp: 'fileName',
headerAlign: 'center',
align: 'center',
columnLabel: '文件名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 140
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table2FileRemark',
tableId: '103001Table2',
tableName: '文件信息表',
columnProp: 'fileRemark',
headerAlign: 'center',
align: 'center',
columnLabel: '备注',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 240
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table2CreateDate',
tableId: '103001Table2',
tableName: '文件信息表',
columnProp: 'createDate',
headerAlign: 'center',
align: 'center',
columnLabel: '上传时间',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 140
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table2CreatedBy',
tableId: '103001Table2',
tableName: '文件信息表',
columnProp: 'createdBy',
headerAlign: 'center',
align: 'center',
columnLabel: '上传人',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 140
}
],
currentRow:{},
}
},

2
src/views/modules/oss/ossComponents.vue

@ -69,6 +69,7 @@ export default {
}
let params = {
...this.params,
orderRef6: this.codelnotifyFlag // 使orderRef6
}
this.queryLoading = true;
queryOss(params).then(({data})=>{
@ -112,6 +113,7 @@ export default {
formData.append('orderRef2', this.ossForm.orderRef2);
formData.append('createdBy', this.$store.state.user.name);
formData.append('fileRemark', this.ossForm.remark);
formData.append('orderRef6', this.codelnotifyFlag || ''); // 使orderRef6
this.uploadLoading = true;
ossUpload(formData).then(({data})=>{
if (data && data.code === 0){

Loading…
Cancel
Save