xihai
This commit is contained in:
parent
a0595d4c22
commit
9344be2c29
|
@ -319,7 +319,7 @@ export default {
|
||||||
4: "生产入库",
|
4: "生产入库",
|
||||||
5: "其他入库",
|
5: "其他入库",
|
||||||
},
|
},
|
||||||
inpur: [],
|
inpur: {},
|
||||||
listQuery: {
|
listQuery: {
|
||||||
page: 1,
|
page: 1,
|
||||||
page_size: 20,
|
page_size: 20,
|
||||||
|
|
|
@ -578,7 +578,7 @@
|
||||||
:headers="upHeaders"
|
:headers="upHeaders"
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:limit="1"
|
: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-button size="small" type="primary">上传文件</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
@ -642,7 +642,7 @@
|
||||||
const defaultoutputmaterial = {};
|
const defaultoutputmaterial = {};
|
||||||
const defaultother = {};
|
const defaultother = {};
|
||||||
const defaultusedstep = {need_test:false};
|
const defaultusedstep = {need_test:false};
|
||||||
const defaulttechdoc = {enabled: false};
|
const defaulttechdoc = {enabled: false,name:""};
|
||||||
const defaultsubproducation = {
|
const defaultsubproducation = {
|
||||||
need_combtest: false,
|
need_combtest: false,
|
||||||
};
|
};
|
||||||
|
@ -1208,6 +1208,8 @@
|
||||||
|
|
||||||
handleUpSuccess(res, file, filelist) {
|
handleUpSuccess(res, file, filelist) {
|
||||||
this.techdoc.file = res.data.id;
|
this.techdoc.file = res.data.id;
|
||||||
|
console.log(res.data);
|
||||||
|
this.techdoc.name = res.data.name;
|
||||||
},
|
},
|
||||||
|
|
||||||
handleRemove(file, filelist) {
|
handleRemove(file, filelist) {
|
||||||
|
|
|
@ -125,7 +125,7 @@
|
||||||
:headers="upHeaders"
|
:headers="upHeaders"
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:limit="1"
|
: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-button size="small" type="primary">上传文件</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
|
Loading…
Reference in New Issue