licp
2024-03-21 890cd9ab8cfbd642c7240413a2f2f51b7f6f0fa5
完善下单
已修改2个文件
12 ■■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/add.vue
@@ -576,9 +576,7 @@
            this.selectInsOrderTemplate()
            this.getAuthorizedPerson();
            this.selectEnumByCategoryForUnit()
            if (this.active == 1) {
                // 下单流程
            } else {
            if (this.active != 1){
                // 查看/审核流程
                // 请求接口,回显数据
                this.$axios.post(this.$api.insOrder.getInsOrder, {
@@ -637,13 +635,11 @@
                    this.$message.error('未选择紧急程度')
                } else if (this.sampleList.length < 1) {
                    this.$message.error('请添加一个样品')
                } else if (!this.sampleList.every(m => m.sampleCode)) {
                    this.$message.error('输入样品编号')
                }else if (!this.sampleList.every(m => m.sample)) {
                } else if (!this.sampleList.every(m => m.sample)) {
                    this.$message.error('输入样品名称')
                }else if (!this.sampleList.every(m => m.model)) {
                    this.$message.error('输入样品型号')
                }else if (!this.sampleList.every(m => m.standardMethodListId)) {
                }else if (!this.sampleList.every(m => m.method)) {
                    this.$message.error('选择检验标准')
                }else if (!this.sampleList.every(m => m.unit)) {
                    this.$message.error('输入单位')
src/main.js
@@ -14,7 +14,7 @@
//本地
Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80";
const javaApi = 'http://192.168.0.24:8001';//李
// const javaApi = 'http://114.132.189.42:9006';//李
// const javaApi = 'http://114.132.189.42:9006';//测试服
//胜云服务器
// Vue.prototype.LOCATIONVUE = "http://syxt.shxiao2.cn";
// const javaApi = 'http://122.114.52.69:8001';