| | |
| | | claimVisible: false, |
| | | tabList: [ |
| | | { label: "委托", value: 0 }, |
| | | { label: "原辅料", value: 1 }, |
| | | { label: "原材料", value: 1 }, |
| | | ], |
| | | active: 1, |
| | | tabIndex: 0, |
| | |
| | | planTotal: 0, |
| | | insStateList: [], |
| | | state: 0, // 0:台账页,1:检验页面,2检验页面(复核),默认为0,3数据查看 |
| | | typeSource: null, // 0:成品下单,1:原辅料下单 |
| | | sonLaboratory: null, // 0:委托,1:原辅料 |
| | | typeSource: null, // 0:成品下单,1:原材料下单 |
| | | sonLaboratory: null, // 0:委托,1:原材料 |
| | | activeFace: 0, // 1:下单,2:查看,3:审核,默认为0 |
| | | currentId: null, |
| | | entityCopy: {}, |
| | |
| | | sonLaboratoryList: [], |
| | | typeSourceList: [ |
| | | { label: "成品下单", value: 0 }, |
| | | { label: "原辅料下单", value: 1 }, |
| | | { label: "原材料下单", value: 1 }, |
| | | ], |
| | | customsInspection: {}, |
| | | showInfoDialog: false, // 产业链信息查看 |
| | |
| | | if (params == 0) { |
| | | return "成品下单"; |
| | | } else { |
| | | return "原辅料下单"; |
| | | return "原材料下单"; |
| | | } |
| | | }, |
| | | }, |
| | |
| | | } |
| | | }, |
| | | }, |
| | | { label: "检验人", prop: "checkUserName" }, |
| | | { |
| | | dataType: "action", |
| | | fixed: "right", |
| | |
| | | this.currentId = parseInt(row.id); |
| | | switch (row.isCopper) { |
| | | case 0: |
| | | // 原辅料 |
| | | // 原材料 |
| | | this.$router.push({ |
| | | path: "/materialOrder/customsInspection", query: { |
| | | customsInspection: row, |