xihai
This commit is contained in:
parent
a0595d4c22
commit
9344be2c29
|
@ -319,7 +319,7 @@ export default {
|
|||
4: "生产入库",
|
||||
5: "其他入库",
|
||||
},
|
||||
inpur: [],
|
||||
inpur: {},
|
||||
listQuery: {
|
||||
page: 1,
|
||||
page_size: 20,
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue