diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue
index 632288e..27b6a54 100644
--- a/hb_client/src/views/inm/fifo.vue
+++ b/hb_client/src/views/inm/fifo.vue
@@ -319,7 +319,7 @@ export default {
4: "生产入库",
5: "其他入库",
},
- inpur: [],
+ inpur: {},
listQuery: {
page: 1,
page_size: 20,
diff --git a/hb_client/src/views/mtm/productprocess.vue b/hb_client/src/views/mtm/productprocess.vue
index 13d34cd..4dfc3c6 100644
--- a/hb_client/src/views/mtm/productprocess.vue
+++ b/hb_client/src/views/mtm/productprocess.vue
@@ -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"
>
上传文件
@@ -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) {
diff --git a/hb_client/src/views/sam/salesdetail.vue b/hb_client/src/views/sam/salesdetail.vue
index 6e7e8be..4169d19 100644
--- a/hb_client/src/views/sam/salesdetail.vue
+++ b/hb_client/src/views/sam/salesdetail.vue
@@ -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"
>
上传文件