Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
| | |
| | | HStockOrgID: { |
| | | type: [String, Number], |
| | | }, |
| | | HMaterID: |
| | | { |
| | | type: [String, Number], |
| | | }, |
| | | HBillType:{ |
| | | type: [String, Number], |
| | | }, |
| | | }, |
| | | mounted() {}, |
| | | methods: { |
| | |
| | | }, |
| | | getsWhere() { |
| | | let sWhere = |
| | | ` and 禁用标记 !='Y' and ISNULL(审核人,'')!='' and HUSEORGID = '${ uni.getStorageSync("OrganizationID")}'` |
| | | ` and a.HStopFlag =0 and ISNULL(a.HCheckEmp,'')!='' and a.HUSEORGID = '${ uni.getStorageSync("OrganizationID")}'` |
| | | // ` and 禁用标记 !='Y' and ISNULL(审核人,'')!='' and a.HUSEORGID = '${ uni.getStorageSync("OrganizationID")}'` |
| | | |
| | | |
| | | if (this.HCode) { |
| | | swhere += ` and 不良原因代码 like '%${this.HCode}%'` |
| | | // swhere += ` and 不良原因代码 like '%${this.HCode}%'` |
| | | swhere += ` and a.HNumber like '%${this.HCode}%'` |
| | | } |
| | | if (this.HName) { |
| | | swhere += ` and 不良原因名称 like '%${this.HName}%'` |
| | | // swhere += ` and 不良原因名称 like '%${this.HName}%'` |
| | | swhere += ` and a.HName like '%${this.HName}%'` |
| | | } |
| | | |
| | | console.log("sWhere",sWhere) |
| | | return sWhere |
| | | }, |
| | | getBillList() { |
| | |
| | | this.page = 0 |
| | | this.curPage = 1 |
| | | CommonUtils.doRequest( |
| | | "/Gy_BadReason/list", { |
| | | "/Gy_BadReason/list_1", { |
| | | sWhere: this.getsWhere(), |
| | | user: getUserInfo()['Czymc'] |
| | | user: getUserInfo()['Czymc'], |
| | | HMaterID:this.HMaterID, |
| | | HBillType:this.HBillType, |
| | | OrgID:uni.getStorageSync("OrganizationID") |
| | | }, |
| | | (res) => { |
| | | let { |
| | |
| | | <BillListPopupVue ref="billList" :HBillType="hform.HBillType" :HSourceBillType="hform.HSourceBillType" |
| | | :HStockOrgID="hform.HStockOrgID" @BillSelectComplete="HandleBillSelectComplete"></BillListPopupVue> |
| | | <BadReasonPopupVue v-if="enablePopupModule == PopupModuleNameList[9]" ref="listPopup" |
| | | @update="HBadReasonComplete"></BadReasonPopupVue> |
| | | @update="HBadReasonComplete" :HMaterID="hform.HMaterID" HBillType="3703" ></BadReasonPopupVue> |
| | | </view> |
| | | </template> |
| | | |