| | |
| | | size="20" @click="toScanCode"></uni-icons> |
| | | </view> |
| | | <view class="form-item" @click="searchModule"> |
| | | <view class="title">器具</view> |
| | | <view class="title">模具</view> |
| | | <view class="righton" style="width: 350rpx;"> |
| | | <input placeholder="请选择器具" /> |
| | | <input placeholder="请选择模具" /> |
| | | </view> |
| | | <uni-icons type="search" |
| | | style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;" |
| | | size="20"></uni-icons> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">仓库:</view> |
| | | <view class="title"><text>*</text>仓库:</view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHWHName" placeholder="请输入(或扫描)仓库" v-model="hform.HWHName" |
| | | @input="HWHNameChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">仓位:</view> |
| | | <view class="title"><text>*</text>仓位:</view> |
| | | <view class="right" v-show="showHStockPlaceName"> |
| | | <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位" |
| | | v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">发出人:</view> |
| | | <view class="title"><text>*</text>发出人:</view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHEmpName" placeholder="请输入(或扫描)发出人" v-model="hform.HKeeperName" |
| | | @input="HScatterUserChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">领用人:</view> |
| | | <view class="title"><text>*</text>领用人:</view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHEmpName" placeholder="请输入(或扫描)领用人" v-model="hform.HSecManagerName" |
| | | @input="HCollectUserChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">部门:</view> |
| | | <view class="title"><text>*</text>部门:</view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHDeptName" placeholder="请选择部门" v-model="hform.HDeptName" |
| | | @input="HDeptNameChange"></uni-combox> |
| | |
| | | <text>数量:</text>{{item.数量}} |
| | | </view> |
| | | <view class="detail"> |
| | | <text>器具条码:</text>{{item.器具条码}} |
| | | <text>模具条码:</text>{{item.器具条码}} |
| | | </view> |
| | | </view> |
| | | </uni-card> |
| | |
| | | }, |
| | | //仓库监听事件 |
| | | HWHNameChange(e) { |
| | | console.log('e: ',e); |
| | | for (var i = 0; i < this.HWHNameList.length; i++) { |
| | | if (this.HWHNameList[i]["HName"] == e) { |
| | | this.hform.HWHName = this.HWHNameList[i]["HName"] |
| | |
| | | /* #region 仓库仓位获取下拉框 */ |
| | | getHBaseList() { |
| | | CommonUtils.doRequest( |
| | | "/Web/GetWarehouseList_Json_New", { |
| | | "/Web/GetWarehouseList_Json_MJ", { |
| | | Warehouse: "", |
| | | HOrgID: uni.getStorageSync('OrganizationID') |
| | | }, |
| | |
| | | for (var i = 0; i < data.length; i++) { |
| | | this.arrayHWHName[i] = data[i]["HName"] |
| | | } |
| | | this.HWHNameChange(data[0]['HName']) |
| | | } |
| | | }, |
| | | ) |
| | |
| | | getHEmpList() { |
| | | CommonUtils.doRequest("/Web/GetEmployeeList_Json", { |
| | | Employee: '', |
| | | HGroupID: 0 |
| | | HGroupID: 0, |
| | | HDeptID: uni.getStorageSync("HDeptID") |
| | | }, |
| | | (res) => { |
| | | if (res.data.count == 1) { |