| | |
| | | <view class="form-item"> |
| | | <view class="title">供应商:</view> |
| | | <view class="right"> |
| | | <input v-model="hform.HSupID" placeholder="" /> |
| | | <input v-model="hform.HSupIDName" placeholder="" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | |
| | | // 获取职员数据 |
| | | async getEmpList() { |
| | | try { |
| | | let sWhere= " where 1=1 " |
| | | if(this.hform.HDeptName && uni.getStorageSync("Organization") == '宁波市华舟包装有限公司'){ |
| | | sWhere += ` and HDeptName = '${this.hform.HDeptName}'` |
| | | } |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: '/PublicPageMethod/UserList', |
| | | data: { |
| | | sWhere: " where 1=1", |
| | | sWhere: sWhere, |
| | | } |
| | | }) |
| | | |
| | |
| | | this.HDetailList[0].HManagerID = this.hform.HManagerID |
| | | this.HDetailList[0].HRepairID = this.hform.HRepairID |
| | | let sSubStr = JSON.stringify(this.HDetailList); |
| | | let sMainSub = oMain + ';' + sSubStr + `;${this.operationType}` + ';' + getUserInfo()[ |
| | | let oprType = this.operationType |
| | | if(oprType == 4) { |
| | | // 下推的操作类型也视为新增 |
| | | oprType = 1 |
| | | } |
| | | let sMainSub = oMain + ';' + sSubStr + `;${oprType}` + ';' + getUserInfo()[ |
| | | 'Czymc']; |
| | | let res = await CommonUtils.doRequest2Sync({ |
| | | url: "/Sc_MouldRepairSendWorkBill/AddBill", |
| | |
| | | this.hform.HMouldName = data1.产品模具 |
| | | this.hform.HMouldModel = data1.产品模具型号 |
| | | this.hform.HMouldSpec = data1.产品模具规格 |
| | | this.hform.HRepairContent = data1.故障原因 |
| | | |
| | | this.enableEdit = false |
| | | this.showHMainSourceBillType = false |
| | | } |
| | | else { |
| | | CommonUtils.showTips({ |