Merge branch 'develop' of https://e.coding.net/ctcdevteam/hberp/hberp into develop

This commit is contained in:
caoqianming 2022-02-25 15:32:07 +08:00
commit 82dab392f0
3 changed files with 6 additions and 4 deletions

View File

@ -319,7 +319,7 @@ export default {
4: "生产入库",
5: "其他入库",
},
inpur: [],
inpur: {},
listQuery: {
page: 1,
page_size: 20,

View File

@ -578,7 +578,7 @@
:headers="upHeaders"
:file-list="fileList"
:limit="1"
accept=".doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf"
accept=".doc,.docx,.pdf,.jpg,.png,.tif,.gif,.apng"
>
<el-button size="small" type="primary">上传文件</el-button>
</el-upload>
@ -642,7 +642,7 @@
const defaultoutputmaterial = {};
const defaultother = {};
const defaultusedstep = {need_test:false};
const defaulttechdoc = {enabled: false};
const defaulttechdoc = {enabled: false,name:""};
const defaultsubproducation = {
need_combtest: false,
};
@ -1208,6 +1208,8 @@
handleUpSuccess(res, file, filelist) {
this.techdoc.file = res.data.id;
console.log(res.data);
this.techdoc.name = res.data.name;
},
handleRemove(file, filelist) {

View File

@ -125,7 +125,7 @@
:headers="upHeaders"
:file-list="fileList"
:limit="1"
accept="webp,bmp,jpg,png,tif,gif,apng"
accept=".webp,.bmp,.jpg,.png,.tif,.gif,.apng"
>
<el-button size="small" type="primary">上传文件</el-button>
</el-upload>