update import
This commit is contained in:
@@ -114,7 +114,7 @@ export default {
|
||||
handleDownloadTemplate(filename) {
|
||||
this.$notify({
|
||||
title: "提示",
|
||||
message: "开始下载",
|
||||
message: "开始下载,请稍后检查浏览器的下载选项或者下载目录",
|
||||
type: "success",
|
||||
});
|
||||
|
||||
|
||||
@@ -527,81 +527,9 @@ export default function () {
|
||||
finishedOrder: "/pms/order/pageEnd",
|
||||
unConfirmedOrder: "/pms/order/pageUnCom",
|
||||
base: "/pms/order",
|
||||
importOrderUrl: "/pms-am/pms/order/importExcelOrder",
|
||||
payload: '/pms/carHandle'
|
||||
// base: "/pms/material",
|
||||
// page: "/pms/material/page",
|
||||
// tree: "/pms/material/tree",
|
||||
// subase: "/pms/materialArrt",
|
||||
// subpage: "/pms/materialArrt/page",
|
||||
// more...
|
||||
importUrl: "/pms-am/pms/order/importExcelOrder",
|
||||
templateUrl: '/importTemplates/orderImport.xlsx',
|
||||
payload: '/pms/carHandle',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
// const headFormFields = [
|
||||
// {
|
||||
// label: '订单号',
|
||||
// prop: 'code',
|
||||
// input: true,
|
||||
// bind: { placeholder: '请输入订单号' }
|
||||
// },
|
||||
// // {
|
||||
// // label: '子订单号',
|
||||
// // prop: 'cate',
|
||||
// // input: true,
|
||||
// // bind: { placeholder: '请输入子订单号', rules: [{ type: 'number', message: '请输入整数', trigger: 'blur', transform: val => Number(val) }] }
|
||||
// // },
|
||||
// // {
|
||||
// // label: "配方",
|
||||
// // prop: "bomId",
|
||||
// // select: [],
|
||||
// // fn: () => this.$http.get('/pms/bom/page', { params: { key: '', limit: 999, page: 1 } }),
|
||||
// // bind: { placeholder: "请选择配方" },
|
||||
// // },
|
||||
// // {
|
||||
// // label: '砖型',
|
||||
// // prop: 'shapeId',
|
||||
// // select: [],
|
||||
// // fn: () => this.$http.get('/pms/shape/page', { params: { key: '', limit: 999, page: 1 } }),
|
||||
// // bind: { placeholder: "请选择砖型" },
|
||||
// // },
|
||||
// // {
|
||||
// // label: '工艺',
|
||||
// // prop: 'techId',
|
||||
// // select: [],
|
||||
// // fn: () => this.$http.post('/pms/equipmentTech/pageView', { key: '', shape: '', wsId: 0, limit: 999, page: 1 }),
|
||||
// // bind: { placeholder: "请选择砖型" },
|
||||
// // },
|
||||
// // {
|
||||
// // label: '订单状态',
|
||||
// // prop: 'types', // 0等待, 1确认, 2生产,3暂停, 4结束, 5接受, 6拒绝
|
||||
// // select: [
|
||||
// // {label: '等待', value: 0},
|
||||
// // {label: '确认', value: 1},
|
||||
// // {label: '生产', value: 2},
|
||||
// // {label: '暂停', value: 3},
|
||||
// // {label: '结束', value: 4},
|
||||
// // {label: '接受', value: 5},
|
||||
// // {label: '拒绝', value: 6},
|
||||
// // ],
|
||||
// // // fn: () => this.$http.post('/pms/equipmentTech/pageView', { key: '', shape: '', wsId: 0, limit: 999, page: 1 }),
|
||||
// // bind: { placeholder: "请选择订单状态" },
|
||||
// // },
|
||||
// {
|
||||
// button: {
|
||||
// type: "primary",
|
||||
// name: "查询",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// button: {
|
||||
// type: "primary",
|
||||
// name: "新增",
|
||||
// permission: "",
|
||||
// },
|
||||
// bind: {
|
||||
// plain: true,
|
||||
// },
|
||||
// },
|
||||
// ];
|
||||
}
|
||||
Reference in New Issue
Block a user