南骏 池
2025-02-07 104cee8881f03e2d1ab4edc349b866cfd980d573
1.来料检验”重新加载项目“按钮完成
已修改4个文件
29 ■■■■ 文件已修改
GsPdaApp.sln 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/LLJ/Add.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/LLJ/Add.aspx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Scripts/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
GsPdaApp.sln
@@ -3,24 +3,25 @@
# Visual Studio Version 17
VisualStudioVersion = 17.11.35327.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "GsPdaApp", ".", "{E44C1573-72F6-4CBB-9C02-FFC26ACC48E9}"
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "QXPDA", ".", "{E44C1573-72F6-4CBB-9C02-FFC26ACC48E9}"
    ProjectSection(WebsiteProperties) = preProject
        TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.8"
        Debug.AspNetCompiler.VirtualPath = "/localhost_51933"
        Debug.AspNetCompiler.PhysicalPath = "D:\Workspace\gs\GsPdaApp\"
        Debug.AspNetCompiler.PhysicalPath = "..\QXPDA\"
        Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_51933\"
        Debug.AspNetCompiler.Updateable = "true"
        Debug.AspNetCompiler.ForceOverwrite = "true"
        Debug.AspNetCompiler.FixedNames = "false"
        Debug.AspNetCompiler.Debug = "True"
        Release.AspNetCompiler.VirtualPath = "/localhost_51933"
        Release.AspNetCompiler.PhysicalPath = "D:\Workspace\gs\GsPdaApp\"
        Release.AspNetCompiler.PhysicalPath = "..\QXPDA\"
        Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_51933\"
        Release.AspNetCompiler.Updateable = "true"
        Release.AspNetCompiler.ForceOverwrite = "true"
        Release.AspNetCompiler.FixedNames = "false"
        Release.AspNetCompiler.Debug = "False"
        VWDPort = "51933"
        SlnRelativePath = "..\QXPDA\"
    EndProjectSection
EndProject
Global
H5/Js/LLJ/Add.js
@@ -43,9 +43,10 @@
    },
    methods: {
        init() {
            //alert(this.Request("id"));
            var that = this;
            that.AxiosHttp("post", 'LLJ/getPage', {
                id: this.formData.id,
                id: that.Request("id"),
                pageIndex: 1,
                limit: 1,
            }, false)
@@ -55,7 +56,7 @@
                        that.formData = data;
                        that.AxiosHttp("post", 'LLJ/getJYItem', {
                            id: that.formData.id,
                            //id: that.formData.guid,
                            releaseNo: that.formData.releaseNo
                        }, false).then(function (res1) {
                            let tableData = res1.data.tbBillList
@@ -110,21 +111,18 @@
            var that = this;
            that.ttrre = true;
            that.AxiosHttp("post", 'MesQaItemsDetect01Manager/ReloadModel5', {
                guid: "158f4324-955e-4a3b-aafa-09babf3c3368"
                guid: that.formData.guid
            }, true, 1).then(function (res1) {
                if (res1.status == 1) {
                    that.$toast.fail(res1.message);
                } else {
                if (res1.rtnCode == 1) {
                    that.$notify({ type: 'success', message: '提交成功' });
                    that.init();
                } else {
                    that.$toast.fail(res1.rtnMsg);
                }
                that.ttrre = false
            }).catch(function (error) {
                that.$toast.fail("网络错误,请重试!");
                that.ttrre = false
                console.log(error);
            });
H5/LLJ/Add.aspx
@@ -35,7 +35,7 @@
            </van-cell-group>
        </div>
            <van-button :loading="ttrre" type="info" loading-text="加载中..." v-if="!isShowTable && formData.fsubmit == 0" @click="submit">检验提交</van-button>
            <van-button type="danger" v-if="!formData.fcheckResu && !isShowTable" @click="removeXJ">重新加载项目</van-button>
            <van-button type="danger" v-if="!isShowTable && formData.fsubmit == 0" @click="removeXJ">重新加载项目</van-button>
          <van-tabs color="#000" title-active-color="#0283EF" style="padding-bottom: 120px;">
              <van-tab title="检验项目" class="mySolid font">
                  <van-row type="flex" justify="center">
@@ -74,5 +74,5 @@
  <comback ></comback>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="../Js/LLJ/Add.js?<%=1124321 %>"></script>
 <script src="../Js/LLJ/Add.js?<%=1124322 %>"></script>
</asp:Content>
Scripts/config.js
@@ -1,6 +1,6 @@
var APIURL = "http://192.168.1.145:83/api/";
//var APIURL = "http://localhost:5204/api/";
var APIURL_PC = "http://localhost:5263/";
var APIURL_PC = "http://192.168.1.145:81/";
var ISNEEDLOGIN = true;
String.prototype.trim = function () {
    return this.replace(/(^\s*)|(\s*$)/g, "");