diff --git a/src/api/claimAndRefund/receive.js b/src/api/claimAndRefund/receive.js
index fc7656f..d6579b8 100644
--- a/src/api/claimAndRefund/receive.js
+++ b/src/api/claimAndRefund/receive.js
@@ -320,3 +320,8 @@ export function getLeaseOutDetailRecordApi(data) {
params: data,
})
}
+
+/* 获取抱杆成套下拉数据 */
+export const getHoldingPoleSelListApi = () => {
+ return request.get('/material/maWhole/selectWholeList')
+}
diff --git a/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue b/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue
index 1d0f694..3286441 100644
--- a/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue
+++ b/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue
@@ -72,21 +72,41 @@
style="width: 240px"
>
+
+
+
+
+
@@ -154,11 +174,11 @@
保存
@@ -176,9 +196,58 @@
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
@@ -239,7 +308,10 @@
type="text"
icon="el-icon-delete"
@click="
- handleDelete({ ...scope.row, index: scope.$index })
+ handleDelete({
+ ...scope.row,
+ index: scope.$index,
+ })
"
>
删除
@@ -252,18 +324,11 @@
diff --git a/src/views/store/poleConfig/poleConfig.vue b/src/views/store/poleConfig/poleConfig.vue
index 030d4ca..98a2523 100644
--- a/src/views/store/poleConfig/poleConfig.vue
+++ b/src/views/store/poleConfig/poleConfig.vue
@@ -94,7 +94,7 @@
/>
@@ -405,6 +405,7 @@ export default {
assortDevice: '',
}
this.tempList = []
+ this.mainDeviceDisabled = false
this.open = true
},
// 编辑
@@ -418,12 +419,20 @@ export default {
const queryParams = {
id: row.id,
wholeTypeName: row.wholeTypeName,
- pageNum: 1,
- pageSize: 99999,
+ // pageNum: 1,
+ // pageSize: 99999,
}
- const { rows: res } = await queryCompleteSetToolsApi(queryParams)
+ const { data: res } = await queryCompleteSetToolsApi(queryParams)
this.tempList = res
this.open = true
+
+ this.$nextTick(() => {
+ const mainDeviceRef = this.$refs.mainDeviceRef
+ const input = mainDeviceRef.$el.querySelector('input')
+ if (input) {
+ input.value = this.tempList[0].deviceType
+ }
+ })
},
// 删除当前行
@@ -462,6 +471,13 @@ export default {
*/
//主体设备选择
selMainDevice(val) {
+ if (val.length < 4) {
+ this.$modal.msgError(
+ '请选择第四级规格型号的数据,如未添加可以添加后再操作!',
+ )
+ this.addCompleteForm.mainDevice = []
+ return
+ }
this.$message.closeAll()
const checkNode = this.$refs['mainDeviceRef'].getCheckedNodes()
this.recursionGetDeviceName(
@@ -474,7 +490,7 @@ export default {
deviceType: checkNode[0].label, // 设备型号
deviceTypeId: val[val.length - 1], // 设备Id
deviceNum: '', // 数量
- deviceAscription: '主体设备', // 所属类型
+ deviceAscription: '抱杆设备', // 所属类型
ascriptionType: 1, // 所属类型 1 主体设备 2 配套设备
typeName: this.deviceName,
}
@@ -500,6 +516,13 @@ export default {
},
// 配套设备选择
selAssortDevice(val) {
+ if (val.length < 4) {
+ this.$modal.msgError(
+ '请选择第四级规格型号的数据,如未添加可以添加后再操作!',
+ )
+ this.addCompleteForm.assortDevice = []
+ return
+ }
this.$message.closeAll()
const checkNode = this.$refs['assortDeviceRef'].getCheckedNodes()
this.recursionGetDeviceName(
@@ -524,7 +547,7 @@ export default {
this.tempList[0].deviceTypeId === assortDeviceObj.deviceTypeId
) {
this.$message.error(
- '所选设备已作为主体设备,不可再作为配套设备!',
+ '所选设备已作为抱杆设备,不可再作为配套设备!',
)
return
}
@@ -568,7 +591,7 @@ export default {
)
if (!isMainDevice) {
- this.$message.error('请添加主体设备!')
+ this.$message.error('请添加抱杆设备!')
return
}
diff --git a/src/views/stquery/deviceStatusRecord.vue b/src/views/stquery/deviceStatusRecord.vue
index c493b95..ae8f71a 100644
--- a/src/views/stquery/deviceStatusRecord.vue
+++ b/src/views/stquery/deviceStatusRecord.vue
@@ -189,6 +189,18 @@
prop="allNum"
:show-overflow-tooltip="true"
/>
+
+