| | |
| | | type="date" |
| | | placeholder="开始日期" |
| | | style="width: 150px" |
| | | :disabled="queryParams.HInitTimeCycle != -1" |
| | | value-format="yyyy-MM-dd" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | |
| | | type="date" |
| | | placeholder="结束日期" |
| | | style="width: 150px" |
| | | :disabled="queryParams.HInitTimeCycle != -1" |
| | | value-format="yyyy-MM-dd" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | |
| | | v-for="(item, index) in organizationList" |
| | | :key="index" |
| | | :label="item.Name" |
| | | :value="item.ID" |
| | | :value="item.ID.toString()" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | import dayjs from "dayjs"; |
| | | |
| | | export default { |
| | | name: "GySource", |
| | | name: "XsSeOutStockBill", |
| | | components: { RowSettings }, |
| | | props: { |
| | | openPage: { type: String }, |
| | |
| | | return { |
| | | iframeUrl: "", |
| | | activeSeach: "", |
| | | HModName: "Cg_POOrderBillList", |
| | | HModName: "XsSeOutStockBill", |
| | | editShow: false, |
| | | openEdit: false, |
| | | totalNameList: [], |
| | |
| | | openPrintList: false, |
| | | printListShow: false, |
| | | HClassTag: "ForFilteringSchemes", //过滤条件的class类 |
| | | HBillType: "1202", |
| | | HBillType: "1402", |
| | | openBtnHide: false, |
| | | btnHideShow: false, |
| | | rowHideShow: false, |
| | |
| | | { label: "近30天", value: 29 }, |
| | | { label: "近半年", value: 180 }, |
| | | { label: "近一年", value: 365 }, |
| | | { label: "任意间隔", value: -1 }, |
| | | ], |
| | | hPriceTypeList: ["成本价", "结算价"], |
| | | addBtnShow: false, |
| | |
| | | OperationType: null, //保存类型(新增1修改3) |
| | | HInterID: null, |
| | | baseURL: process.env.VUE_APP_BASE_API || "http://47.96.97.237/API/", |
| | | user: "admin", |
| | | currentRow: [], |
| | | lastSelectedRowIndex: null, // 用于记录上次点击的行索引 |
| | | lastSelectedRow: null, // 上一次选中的行 |
| | |
| | | dateRange: [], |
| | | // 查询参数 |
| | | queryParams: { |
| | | HOrgID: null, |
| | | HOrgID: sessionStorage["OrganizationID"], |
| | | HName: null, |
| | | HNumber: null, |
| | | Comparator1: "", |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.queryParams.HOrgID = sessionStorage["OrganizationID"]; |
| | | this.riqiChange(); |
| | | this.getList(); |
| | | }, |
| | |
| | | this.getList(); |
| | | }, |
| | | riqiChange() { |
| | | if (this.queryParams.HInitTimeCycle == -1) { |
| | | return; |
| | | } |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * this.queryParams.HInitTimeCycle); |
| | |
| | | this.sWhere += " and CONVERT(varchar(100),日期, 23) <= '" + this.eTime + "'"; |
| | | } |
| | | let Organization = this.organizationList.find( |
| | | (e) => (e.ID = this.queryParams.HOrgID) |
| | | (e) => e.ID == this.queryParams.HOrgID |
| | | )?.Name; |
| | | try { |
| | | let res = await axios.get(this.baseURL + "/Xs_SeOutStockBill/list_byPage", { |
| | | params: { |
| | | sWhere: this.sWhere, |
| | | user: this.user, |
| | | user: sessionStorage["HUserName"], |
| | | Organization: Organization, |
| | | page: this.page, |
| | | size: this.pageSize, |
| | |
| | | } |
| | | } |
| | | option.data = result; |
| | | this.DisPlay_HideColumn(this.HModName, this.user, option, this.dataList); |
| | | this.DisPlay_HideColumn( |
| | | this.HModName, |
| | | sessionStorage["HUserName"], |
| | | option, |
| | | this.dataList |
| | | ); |
| | | } |
| | | } catch (err) { |
| | | this.$modal.msgError(`获取收料通知单错误: ${err}`); |
| | |
| | | .get(this.baseURL + "/Xt_User/getOrgIDListByUser", { |
| | | params: { |
| | | HModName: this.HModName, |
| | | user: this.user, |
| | | user: sessionStorage["HUserName"], |
| | | HOrgID: this.zuzhiId, |
| | | }, |
| | | }) |
| | |
| | | HQty: this.rowForm.HQty, |
| | | HSourceInterID: this.rowForm.HSourceInterID, |
| | | HSourceEntryID: this.rowForm.HSourceEntryID, |
| | | user: this.user, |
| | | user: sessionStorage["HUserName"], |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | |
| | | //逻辑审核方法 |
| | | axios |
| | | .get(this.baseURL + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", { |
| | | params: { HInterID: InterID, TypeError: num, CurUserName: this.user }, |
| | | params: { |
| | | HInterID: InterID, |
| | | TypeError: num, |
| | | CurUserName: sessionStorage["HUserName"], |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | let result = res.data; |
| | |
| | | params: { |
| | | HInterID: HInterID, |
| | | Type: num, |
| | | user: this.user, |
| | | user: sessionStorage["HUserName"], |
| | | }, |
| | | } |
| | | ); |
| | |
| | | HInterID: HInterID, |
| | | HEntryID: HEntryID, |
| | | ISAudit: num, |
| | | CurUserName: this.user, |
| | | CurUserName: sessionStorage["HUserName"], |
| | | }, |
| | | } |
| | | ); |
| | |
| | | params: { |
| | | HInterID: HInterID, |
| | | Type: num, |
| | | user: this.user, |
| | | user: sessionStorage["HUserName"], |
| | | }, |
| | | } |
| | | ); |
| | |
| | | //逻辑审核方法 |
| | | axios |
| | | .get(this.baseURL + "/Gy_Employee/StopGy_Employee", { |
| | | params: { HInterID: InterID, IsStop: num, CurUserName: this.user }, |
| | | params: { |
| | | HInterID: InterID, |
| | | IsStop: num, |
| | | CurUserName: sessionStorage["HUserName"], |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | let result = res.data; |
| | |
| | | } |
| | | } |
| | | var sSubStr = JSON.stringify(num); |
| | | var sMainSub = sSubStr + "&和" + this.user; |
| | | var sMainSub = sSubStr + "&和" + sessionStorage["HUserName"]; |
| | | axios({ |
| | | method: "post", |
| | | url: this.baseURL + "/Gy_Source/Gy_Source_btnSave", |