| | |
| | | @change="riqiChange" |
| | | class="ForFilteringSchemes" |
| | | > |
| | | <span v-for="(item, index) in btList" :key="index"> |
| | | <el-option |
| | | :label="item.field" |
| | | :value="item.field" |
| | | v-if="!item.hide" |
| | | ></el-option> |
| | | </span> |
| | | <el-option |
| | | v-for="(item, index) in comparatorList" |
| | | :key="index" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-col> |
| | | <el-col :span="11"> |
| | |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" icon="el-icon-plus" size="mini" @click="onClickMethod_pushBarCodeProduce(row = rowForm, OperationType = 4)" >下推条码</el-button> |
| | | <el-button type="primary" icon="el-icon-plus" size="mini" @click="onClickMethod_pushBarCodeProduce(row = rowForm, OperationType = 4)" :disabled="disabledFlag_pushBarCode">下推条码</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | |
| | | lastSelectedRowIndex: null, // 用于记录上次点击的行索引 |
| | | lastSelectedRow: null, // 上一次选中的行 |
| | | selectedRow: null, // 当前选中的行 |
| | | disabledFlag_pushBarCode:true, //下推条码 按钮禁用标记 |
| | | rowForm: {}, |
| | | checkedSysZb: [], |
| | | editData: [], //生产资料子表 |
| | |
| | | defaintOperationByCompanyName() { |
| | | var result = false; |
| | | axios |
| | | .get(this.baseURL + "/Xt_getInfo/getCompanyName") |
| | | .get(this.$baseUrl + "/Xt_getInfo/getCompanyName") |
| | | .then((res) => { |
| | | var data1 = res.data; |
| | | if (data1.count == 1) { |
| | |
| | | this.sWhere += " and CONVERT(varchar(100),日期, 23) <= '" + this.eTime + "'"; |
| | | } |
| | | try { |
| | | let res = await axios.get(this.baseURL + "Cg_POInStockBill/page", { |
| | | let res = await axios.get(this.$baseUrl + "Cg_POInStockBill/page", { |
| | | params: { |
| | | sWhere: this.sWhere, |
| | | user: sessionStorage["HUserName"], |
| | |
| | | DisPlay_HideColumn(HModName, user, option, dataOption) { |
| | | this.totalNameList = []; |
| | | axios |
| | | .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", { |
| | | .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", { |
| | | params: { |
| | | HModName: HModName, |
| | | user: user, |
| | |
| | | this.multiple = !selection.length; |
| | | if (!this.single) { |
| | | this.rowForm = selection[0]; |
| | | this.disabledFlag_pushBarCode = false; |
| | | }else{ |
| | | this.disabledFlag_pushBarCode = true; |
| | | } |
| | | }, |
| | | //打开侧边搜索弹窗 |
| | |
| | | getOrgIDByUser() { |
| | | var res = ""; |
| | | axios |
| | | .get(this.baseURL + "/Xt_User/getOrgIDListByUser", { |
| | | .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", { |
| | | params: { |
| | | HModName: this.HModName, |
| | | user: sessionStorage["HUserName"], |
| | |
| | | this.tableShow = true; |
| | | this.openEdit = false; |
| | | this.openFlag_pushBarCode = false; |
| | | this.disabledFlag_pushBarCode = true; |
| | | this.getList(); |
| | | }, |
| | | //打开新增组件弹窗 |
| | |
| | | .then(() => { |
| | | if (!this.rowForm.审核人) { |
| | | axios |
| | | .get(this.baseURL + "Cg_POInStockBill/DeltetPOInStockBill", { |
| | | .get(this.$baseUrl + "Cg_POInStockBill/DeltetPOInStockBill", { |
| | | params: { |
| | | HInterID: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HSupID, |
| | |
| | | var InterID = form.HItemID || form.HInterID || form.hmainid; |
| | | //逻辑审核方法 |
| | | axios |
| | | .get(this.baseURL + "/Cg_POInStockBill/AuditCg_POInStockBill", { |
| | | .get(this.$baseUrl + "/Cg_POInStockBill/AuditCg_POInStockBill", { |
| | | params: { |
| | | HInterID: InterID, |
| | | IsAudit: num, |
| | |
| | | let HInterID = form.HItemID || form.HInterID || form.hmainid; |
| | | try { |
| | | let res = await axios.get( |
| | | `${this.baseURL}/Cg_POInStockBill/CloseCg_POInStockBill`, |
| | | `${this.$baseUrl}/Cg_POInStockBill/CloseCg_POInStockBill`, |
| | | { |
| | | params: { |
| | | HInterID: HInterID, |
| | |
| | | let HEntryID = form.HEntryID || form.hsubid; |
| | | try { |
| | | let res = await axios.get( |
| | | `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`, |
| | | `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`, |
| | | { |
| | | params: { |
| | | HInterID: HInterID, |
| | |
| | | let HInterID = form.HItemID || form.HInterID || form.hmainid; |
| | | try { |
| | | let res = await axios.get( |
| | | `${this.baseURL}/Cg_POInStockBill/DropCg_POInStockBill`, |
| | | `${this.$baseUrl}/Cg_POInStockBill/DropCg_POInStockBill`, |
| | | { |
| | | params: { |
| | | HInterID: HInterID, |
| | |
| | | var InterID = form.HItemID || form.HInterID; |
| | | //逻辑审核方法 |
| | | axios |
| | | .get(this.baseURL + "/Gy_Employee/StopGy_Employee", { |
| | | .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", { |
| | | params: { |
| | | HInterID: InterID, |
| | | IsStop: num, |
| | |
| | | var sMainSub = sSubStr + "&和" + sessionStorage["HUserName"]; |
| | | axios({ |
| | | method: "post", |
| | | url: this.baseURL + "/Gy_Source/Gy_Source_btnSave", |
| | | url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave", |
| | | data: { |
| | | sMainSub: sMainSub, |
| | | }, |