| | |
| | | openPage: { type: String, }, |
| | | propHMaterID: {}, |
| | | propHOrgID: {}, |
| | | propMarkVal: {}, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | if (this.propHOrgID) { |
| | | this.sWhere += " and HOrgID like '%" + this.propHOrgID + "%'"; |
| | | } |
| | | console.log(this.propHMaterID) |
| | | if (this.propHMaterID) { |
| | | this.sWhere += " and HMaterID like '%" + this.propHMaterID + "%'"; |
| | | } |
| | | // if(this.propMarkVal){ |
| | | // this.sWhere += " and 默认发货容器标记 = 'Y'" |
| | | // } |
| | | if (this.openPage) { |
| | | this.sWhere += " and HUseFlag == 1 and HSendPackFlag == 1 and ISNULL(审核人,'') != ''" |
| | | this.sWhere += " and 使用标记 = 'Y' and 发货容器标记 = 'Y' and ISNULL(审核人,'') != ''" |
| | | } |
| | | console.log(this.sWhere) |
| | | // 列表 |
| | | axios.get(this.$baseUrl + "/Gy_MaterialPackingRelation/Gy_MaterialPackingRelationList", { |
| | | params: { |
| | |
| | | }, |
| | | }) |
| | | .then((response) => { |
| | | console.log(response) |
| | | this.tyResList = response.data.data; //总数据 |
| | | let data1 = response.data; |
| | | let option = []; |