王震
2024-01-12 187cd383e4362059795d0f48b96ca0037f19da6d
包装台账修改
已修改3个文件
18 ■■■■■ 文件已修改
src/views/basic/param/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/Packaging_ledger/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basic/param/index.vue
@@ -40,6 +40,7 @@
      uploadInfo: {
        // 是否展示上传EXCEL以及对应的url
        isShow: false,
        download:true,
        url: '/mes/param/upload'
      },
      prelang: 'operation',
src/views/quality/Packaging_ledger/index.vue
@@ -183,7 +183,6 @@
          multipleSelection: [],
          isCheck: false,
          dataway:{},
          goid:'',
          datalist:[],
          testStandardParams: [],
          packageBoxId:{},
@@ -345,6 +344,8 @@
      }
    },
    methods: {
      //包装详情
      //打印按钮
      printFun() {
          this.diaPrintTab = false;
@@ -374,7 +375,6 @@
      },
      handleSelectionChange(val){
        this.multipleSelection = val
        console.log(this.multipleSelection[0].id,"数据");
        let lastRow = val[val.length - 1]
        this.handleCurrentChange(lastRow)
      },
@@ -412,18 +412,19 @@
        })
      },
      handleCurrentChange(row){
        if(row.state=='已报检'){
        if(row.state=='未报检'){
          this.isCheck = false
        }else{
          this.isCheck = true
        }
        this.dataway = row
        this.packageBoxId = {
          packageBoxId:row.id
        }
        this.goid = row.id
        this.rightquery()
      },
      rightquery(){
        list({packageBoxId:this.goid}).then((res) =>{
        list({packageBoxId:this.packageBoxId.packageBoxId}).then((res) =>{
          this.testStandardParams = res.data.data
        })
      },
@@ -443,7 +444,7 @@
      //右边保存
      addpreserve(){
         this.datalist.forEach(el => {
              el.packageBoxId =this.goid
              el.packageBoxId =this.packageBoxId.packageBoxId
         });
         console.log(this.datalist);
  //       return
vue.config.js
@@ -4,8 +4,8 @@
 */
const url = 'http://192.168.2.7:9999'
// const url = 'https://ztms-mes.chinaztt.cn/'
// const url = 'http://192.168.2.7:9999'
const url = 'https://ztms-mes.chinaztt.cn/'
//  const url = 'http://localhost:9999'