| | |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row style="width: 100%"> |
| | | <!-- <a-row style="width: 100%"> |
| | | <a-col :span="24 / 2"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="库位号" prop="locationCodeId"> |
| | | <a-select |
| | |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row> --> |
| | | </a-form-model> |
| | | </a-spin> |
| | | <a-button type="primary" :style="{ marginBottom: '8px' }" @click="selectReturnList()" v-show="returnShow && !disableSubmit">选择借出工具</a-button> |
| | |
| | | <div :key="col.dataIndex"> |
| | | <a-input-number |
| | | v-if="col.dataIndex == 'inStorageQuantity'" |
| | | :disabled="record.accuracyClass == '1'" |
| | | |
| | | :value="text" |
| | | @change="(e) => handleChange(e, record, col, index)" |
| | | :min="1" |
| | |
| | | |
| | | <div id="printArea" style="display: block;"> |
| | | <div v-for="(item, index) in qrList" :key="index" class="qrcode-item"> |
| | | <p>{{ item.onlyCode }}</p> |
| | | <p>{{ item.toolName }}</p> |
| | | <img :src="item.base64" alt="QR Code"> |
| | | <p>{{ item.content }}</p> |
| | | </div> |
| | | </div> |
| | | </a-modal> |
| | |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '库位号', |
| | | align: 'center', |
| | | dataIndex: 'goodsShelvesId', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '入库数量', |
| | | align: 'center', |
| | | dataIndex: 'inStorageQuantity', |
| | |
| | | if (res.success) { |
| | | if(this.model.inStorehouseType === '1'){ |
| | | this.qrList = res.result.map((content, i) => ({ |
| | | content:res.result[i].content, |
| | | onlyCode:res.result[i].onlyCode, |
| | | toolName:res.result[i].toolName, |
| | | base64: res.result[i].image |
| | | })); |
| | | this.handleBacthPrint(); |
| | |
| | | onlyCode:data[i].onlyCode, |
| | | inStorageQuantity:data[i].storageQuantity || data[i].quantity || 1, |
| | | quantity:data[i].quantity, |
| | | accuracyClass:data[i].accuracyClass |
| | | accuracyClass:data[i].accuracyClass, |
| | | goodsShelvesId:data[i].positionCode |
| | | }) |
| | | } |
| | | //this.ipaginationm.total = this.dataSource.length |