licp
2024-07-04 21a4511adc7e897daaadff712a97db5773ba3629
检验下单跳转
已修改3个文件
19 ■■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/add.vue
@@ -1377,6 +1377,11 @@
          console.log('isHaveBushing===', isHaveBushing)
          if (productListSelected && select[2] === '光缆' && isHaveBushing === false) {
            this.$message.error('光缆温度循环项目必须进行光纤配置')
            this.$refs.sampleTable.setCurrentRow(this.currentMethod, true)
            this.rowClick(this.currentMethod)
            this.sampleIds = [this.currentMethod.id]
            this.openConfig()
            return
          }
          let sampleList = this.HaveJson(this.sampleList)
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -953,7 +953,7 @@
    methods: {
      changeItem(row){
        if(row.value0&&row.value1){
          this.$set(row,'comValue',((Number(row.value0)+Number(row.value1))/2).toFixed(5))
          this.$set(row,'comValue',((Number(row.value0)+Number(row.value1))/2).toFixed(3))
        }else{
          return
        }
@@ -978,7 +978,7 @@
            }
          }]
        if(this.wareForm.inspectionItemSubclass!=20){
          row.resValue = row.comValue?Math.abs(row.comValue-20).toFixed(5):''
          row.resValue = row.comValue?Math.abs(row.comValue-20).toFixed(3):''
          this.param[row.id].resValue.v.v = row.resValue
          if(row.ask&&row.resValue){
            if(row.ask.includes('<')){
src/main.js
@@ -15,12 +15,12 @@
Vue.prototype.$Big = Big;
// 项目切换
// Vue.prototype.PROJECT = '检测中心'
Vue.prototype.PROJECT = '装备电缆'
Vue.prototype.PROJECT = '检测中心'
// Vue.prototype.PROJECT = '装备电缆'
//本地
// Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80";
// const javaApi = 'http://127.0.0.1:8001';
// const javaApi = 'http://192.168.47.249:8001';
const javaApi = 'http://192.168.47.249:8001';
//云
// Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080";
@@ -31,8 +31,8 @@
// const javaApi = 'http://10.1.200.86:8001';
//装备电缆测试库
Vue.prototype.LOCATIONVUE = "http://10.16.173.59";
const javaApi = 'http://10.16.173.59:8001';
// Vue.prototype.LOCATIONVUE = "http://10.16.173.59";
// const javaApi = 'http://10.16.173.59:8001';
Vue.prototype.HaveJson = (val) => {
    return JSON.parse(JSON.stringify(val))