取消
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+ 取消
+
+
@@ -251,6 +376,23 @@
},
colorFlag:false,
cutTable:[],
+ cutData:{
+ id:'',
+ site: '',
+ codeNo:'',
+ order:'',
+ cuttingMachine:'',
+ cuttingType:'',
+ cutterTooling:'',
+ cutterLayout:'',
+ cutterCost:'',
+ p2c:'',
+ c2c:'',
+ cutterNo:'',
+ updateBy:'',
+ updateDate:'',
+ },
+ cutFlag:false,
}
},
methods: {
@@ -287,7 +429,7 @@
//刷新表格
this.searchTable();
this.colorSearch();
-
+ this.cutSearch();
},
searchTable(){
searchBMTPInfoDetail(this.searchData).then(({data}) => {
@@ -396,6 +538,89 @@
}).catch(() => {
})
},
+
+
+ newCut(){
+ if(this.searchData.codeNo==''){
+ this.$message.success('数据错误,请关闭页面重试!')
+ return false;
+ }
+ let number=1;
+ for (let i = 0; i {
+ this.cutTable = data.rows
+ });
+ },
+ cutSave(){
+ this.$confirm("是否保存信息?", '保存提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ }).then(() => {
+ saveBMTPInfoCut(this.cutData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.cutSearch();
+ this.cutFlag=false
+ this.$message.success( '操作成功')
+ } else {
+ this.$message.error(data.msg)
+ }
+ })
+ }).catch(() => {
+
+ })
+ },
+ deleteCut(row){
+ this.$confirm(`是否删除这条信息?`, '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ deleteBMTPInfoCut(row).then(({data}) => {
+ if (data && data.code === 0) {
+ this.cutSearch();
+ this.$message({
+ message: '操作成功',
+ type: 'success',
+ duration: 1500,
+ onClose: () => {}
+ })
+ } else {
+ this.$alert(data.msg, '错误', {
+ confirmButtonText: '确定'
+ })
+ }
+ })
+ }).catch(() => {
+ })
+ },
},
}
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
index 3cf2072..1ae5427 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
@@ -7,16 +7,16 @@
-
+
-
+
-
+
@@ -28,9 +28,12 @@
-
-
-
+
+
+
+
+
+
@@ -83,24 +86,25 @@
import packageInfo from "./com_bm_packageInfo";/*包装信息*/
import bom from "./com_bm_bom";/*BOM*/
import routing from "./com_bm_routing";/*工艺*/
- import prepress from "./com_bm_demoSlot";/*印前*/
- import technicalRequirement from "./com_bm_demoSlot";/*印前*/
- import drawing from "./com_bm_demoSlot";/*印前*/
- import PEConfirm from "./com_bm_demoSlot";/*印前*/
- import overprinting from "./com_bm_demoSlot";/*印前*/
- import slitting from "./com_bm_demoSlot";/*印前*/
- import lamTemperature from "./com_bm_demoSlot";/*印前*/
- import cutting from "./com_bm_demoSlot";/*印前*/
- import packagePage from "./com_bm_demoSlot";/*印前*/
- import fqc from "./com_bm_demoSlot";/*印前*/
- import cqc from "./com_bm_demoSlot";/*印前*/
- import qualityDocument from "./com_bm_demoSlot";/*印前*/
- import documentControl from "./com_bm_demoSlot";/*印前*/
- import peReviewed from "./com_bm_demoSlot";/*印前*/
- import queteConfirm from "./com_bm_demoSlot";/*印前*/
- import fai from "./com_bm_demoSlot";/*印前*/
- import cqeComfirm from "./com_bm_demoSlot";/*印前*/
- import tpInfo from "./com_bm_tpInfo";/*印前*/
+ import prepress from "./com_bm_prepress";/*组件*/
+ import technicalRequirement from "./com_bm_demoSlot";/*组件*/
+ import drawing from "./com_bm_demoSlot";/*组件*/
+ import PEConfirm from "./com_bm_demoSlot";/*组件*/
+ import overprinting from "./com_bm_demoSlot";/*组件*/
+ import slitting from "./com_bm_demoSlot";/*组件*/
+ import lamTemperature from "./com_bm_demoSlot";/*组件*/
+ import cutting from "./com_bm_demoSlot";/*组件*/
+ import packagePage from "./com_bm_demoSlot";/*组件*/
+ import fqc from "./com_bm_demoSlot";/*组件*/
+ import cqc from "./com_bm_demoSlot";/*组件*/
+ import qualityDocument from "./com_bm_demoSlot";/*组件*/
+ import documentControl from "./com_bm_demoSlot";/*组件*/
+ import peReviewed from "./com_bm_demoSlot";/*组件*/
+ import queteConfirm from "./com_bm_demoSlot";/*组件*/
+ import fai from "./com_bm_demoSlot";/*组件*/
+ import cqeComfirm from "./com_bm_demoSlot";/*组件*/
+ import tpInfo from "./com_bm_tpInfo";/*组件*/
+ import printOther from "./com_bm_printOther";/*组件*/
export default {
name: "technicalSpecificationDetail",
components: {
@@ -127,6 +131,7 @@
fai,
cqeComfirm,
tpInfo,
+ printOther,
},
data() {
return {
@@ -206,7 +211,13 @@
this.getCqeComfirm();
}else if(this.activeName == 'tpInfo'){
this.getTpInfo();
+ }else if(this.activeName == 'printOther'){
+ this.getPrintOther();
}
+
+ },
+ getPrintOther(){
+ this.$refs.printOther.init(JSON.parse(JSON.stringify(this.dataForm)))
},
getBaseInfoData(){
this.$refs.basicInformation.init(JSON.parse(JSON.stringify(this.dataForm)))