@@ -10,40 +10,33 @@
查询
@@ -58,14 +51,12 @@
-
-
-
+
+
+
- 办理
+ 办理
查看
@@ -75,445 +66,337 @@
{{ scope.row.nodeState }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
- 查看
-
+ 查看
-
-
+
-
- 查看
-
+ 查看
-
-
-
-
+
+
+
-
+
-
-
-
-
-
-
-
- 返件数量确认
-
-
-
-
-
- 一致
- 不一致
-
-
-
-
-
-
-
- 备注
-
-
-
-
- {{orderInfo.remarks}}
-
-
-
-
-
-
- 附件
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
diff --git a/yxt-as-ui/src/views/storage/oldPartsFactory/manufacturerconfirmInfo.vue b/yxt-as-ui/src/views/storage/oldPartsFactory/manufacturerconfirmInfo.vue
deleted file mode 100644
index 63618b913e..0000000000
--- a/yxt-as-ui/src/views/storage/oldPartsFactory/manufacturerconfirmInfo.vue
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 申请人
- {{ formobj.createByName }}
-
-
- 申请部门
- {{ formobj.deptName }}
-
-
-
- 申请日期
- {{ formobj.createTime }}
-
-
-
-
-
-
- 备注
- {{ formobj.remarks }}
-
-
-
-
-
-
- 附件
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryAdd.vue b/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryAdd.vue
index bb180d45f3..433127bfdb 100644
--- a/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryAdd.vue
+++ b/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryAdd.vue
@@ -1,28 +1,18 @@
-
+
-
-
申请人
{{ formobj.createByName }}
@@ -33,102 +23,41 @@
申请日期
-
+
{{ formobj.createTime }}
-
-
-
-
-
-
-
* 附件
-
+
-
-
-
备注
-
-
+
-
-
-
-
- 删除
+ 删除
选择旧件
-
+
@@ -144,9 +73,7 @@
-
-
@@ -156,9 +83,19 @@
-
+
选取文件
上传
@@ -176,16 +113,13 @@
-
-
-
+
+
-
+
@@ -204,22 +138,15 @@
-
确认
关闭
-
-
-
-
+
+
@@ -230,9 +157,7 @@
-
- {{scope.row.warehouseName}} - {{scope.row.warehouseAreaName}}
-
+ {{scope.row.warehouseName}} - {{scope.row.warehouseAreaName}}
@@ -243,20 +168,13 @@
-
确认
关闭
-
-
-
-
@@ -293,29 +211,25 @@
listLoading: false,
submitdisabled: false,
formobj: {
- "sid": "",
- "remarks": "",
- "createBySid": window.sessionStorage.getItem('userSid'),
- "createByName": window.sessionStorage.getItem('name'),
- "deptSid": window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage
- .getItem('defaultOrgPath').lastIndexOf('/') + 1),
- "deptName": window.sessionStorage.getItem('defaultOrgPathName').substring(window
- .sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1),
- "createTime": getCurrentDate(),
- "billNo": "",
- "filePaths": [],
- "useOrgSid": '',
- "useOrgName": '',
- "orgSidPath": window.sessionStorage.getItem('orgSidPath'),
- "procDefId": "",
- "nodeId": "",
- "procInstId": "",
- "nodeState": "",
- "taskId": "",
- "finishTime": "",
- "asOldpartreturnList": [
-
- ]
+ sid: '',
+ remarks: '',
+ createBySid: window.sessionStorage.getItem('userSid'),
+ createByName: window.sessionStorage.getItem('name'),
+ deptSid: window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1),
+ deptName: window.sessionStorage.getItem('defaultOrgPathName').substring(window.sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1),
+ createTime: getCurrentDate(),
+ billNo: '',
+ filePaths: [],
+ useOrgSid: '',
+ useOrgName: '',
+ orgSidPath: window.sessionStorage.getItem('orgSidPath'),
+ procDefId: '',
+ nodeId: '',
+ procInstId: '',
+ nodeState: '',
+ taskId: '',
+ finishTime: '',
+ asOldpartreturnList: []
},
imgList: [],
dataList: [],
@@ -328,23 +242,14 @@
size: 10,
total: 0,
params: {
- "vinNo": "",
- "goodsSkuCode": "",
- "sourceBillNo": "",
- "orgPath": "",
+ vinNo: '',
+ goodsSkuCode: '',
+ sourceBillNo: '',
+ orgPath: ''
}
},
rules: {
- createTime: [{
- required: true,
- message: '申请日期不能为空',
- trigger: 'change'
- }],
- filePaths: [{
- required: true,
- message: '附件不能为空',
- trigger: 'blur'
- }],
+ filePaths: [{ required: true, message: '附件不能为空', trigger: 'blur' }]
}
}
},
@@ -366,8 +271,6 @@
this.dialogVisible = true
},
saveOrUpdate() {
- console.log('>>>>>>>>>saveOrUpdate', this.formobj)
-
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
@@ -389,7 +292,6 @@
})
},
submit() {
-
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
@@ -409,74 +311,57 @@
})
}
})
-
},
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.imgList = []
this.formobj = {
- "sid": "",
- "remarks": "",
- "createBySid": window.sessionStorage.getItem('userSid'),
- "createByName": window.sessionStorage.getItem('name'),
- "deptSid": window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage
- .getItem('defaultOrgPath').lastIndexOf('/') + 1),
- "deptName": window.sessionStorage.getItem('defaultOrgPathName').substring(window
- .sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1),
- "createTime": getCurrentDate(),
- "billNo": "",
- "filePaths": [],
- "useOrgSid": '',
- "useOrgName": '',
- "orgSidPath": window.sessionStorage.getItem('orgSidPath'),
- "procDefId": "",
- "nodeId": "",
- "procInstId": "",
- "nodeState": "",
- "taskId": "",
- "finishTime": "",
- "asOldpartreturnList": [
-
- ]
+ sid: '',
+ remarks: '',
+ createBySid: window.sessionStorage.getItem('userSid'),
+ createByName: window.sessionStorage.getItem('name'),
+ deptSid: window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1),
+ deptName: window.sessionStorage.getItem('defaultOrgPathName').substring(window.sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1),
+ createTime: getCurrentDate(),
+ billNo: '',
+ filePaths: [],
+ useOrgSid: '',
+ useOrgName: '',
+ orgSidPath: window.sessionStorage.getItem('orgSidPath'),
+ procDefId: '',
+ nodeId: '',
+ procInstId: '',
+ nodeState: '',
+ taskId: '',
+ finishTime: '',
+ asOldpartreturnList: []
}
this.submitdisabled = false
- this.isUpdata = false
this.$emit('doback')
},
-
showAdd() {
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
- this.title = "【新增】"
- this.isUpdata = false
+ this.title = '【新增】'
},
showEdit(row) {
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
- this.title = "【修改】"
- this.isUpdata = true
- // var params = {
- // sid: row.sid
- // }
-
- req.init(row.sid)
- .then(resp => {
- if (resp.success) {
- this.formobj = resp.data
-
- for (var i = 0; i < resp.data.filePaths.length; i++) {
- this.imgList.push({
- url: resp.data.filePaths[i].url
- })
- }
-
+ this.title = '【修改】'
+ req.init(row.sid).then(resp => {
+ if (resp.success) {
+ this.formobj = resp.data
+ for (var i = 0; i < resp.data.filePaths.length; i++) {
+ this.imgList.push({
+ url: resp.data.filePaths[i].url
+ })
}
- })
- .catch(e => {
- this.formobj = {}
- })
+ }
+ }).catch(e => {
+ this.formobj = {}
+ })
},
downLoadDetail() {
const loading = this.$loading({
@@ -493,7 +378,7 @@
const fileName = '待出库旧件明细' + '.xls'
const elink = document.createElement('a')
elink.download = fileName
- elink.style.display = 'nonde'
+ elink.style.display = 'none'
elink.href = URL.createObjectURL(blob)
document.body.appendChild(elink)
elink.click()
@@ -535,15 +420,11 @@
const _this = this
_this.uploadResultMesssage = resp.msg
_this.uploadSuccess = resp.success
-
if (resp.success) {
-
for (var i = 0; i < resp.data.length; i++) {
this.formobj.asOldpartreturnList.push(resp.data[i])
}
-
}
-
},
handleConfirm() {
if (!this.uploadSuccess) {
@@ -560,178 +441,148 @@
console.log('backData》》》》', value)
console.log('imgList', this.imgList)
this.imgList = value
-
for (var i = 0; i < this.imgList.length; i++) {
this.formobj.filePaths.push(this.imgList[i].url)
}
-
-
},
seleGoods(row) {
this.itemInfo = row
this.queryParams.params = {
- "vinNo": row.vinNo,
- "goodsSkuCode": row.goodsSkuCode,
- "sourceBillNo": row.sourceBillNo,
- "orgPath": window.sessionStorage.getItem('defaultOrgPath'),
+ vinNo: row.vinNo,
+ goodsSkuCode: row.goodsSkuCode,
+ sourceBillNo: row.sourceBillNo,
+ orgPath: window.sessionStorage.getItem('defaultOrgPath')
}
-
req.getGoodsListPage(this.queryParams).then(resp => {
- if (resp.success) {
- const data = resp.data
- this.queryParams.total = data.total
- this.dataList = data.records
- this.dialogVisible2 = true
- } else {
- // 根据resp.code进行异常情况处理
- this.dataList = []
- this.queryParams.total = 0
- }
-
- })
- .catch(e => {})
-
-
+ if (resp.success) {
+ const data = resp.data
+ this.queryParams.total = data.total
+ this.dataList = data.records
+ this.dialogVisible2 = true
+ } else {
+ // 根据resp.code进行异常情况处理
+ this.dataList = []
+ this.queryParams.total = 0
+ }
+ }).catch(e => {
+ })
},
delGoods(index) {
-
this.formobj.asOldpartreturnList.splice(index, 1)
-
},
selectionLineChangeHandle(val) {
this.selectionList = val
},
-
addDialogList() {
this.dialogVisible2 = false
-
if (this.selectionList.length > 0) {
-
const choose = this.formobj.asOldpartreturnList.filter((item) => item == this.itemInfo)
- console.log('>>>>>>>>>addDialogList', choose)
-
var num = 0
if (choose != null && choose.length > 0) {
-
for (var i = 0; i < this.selectionList.length; i++) {
-
var item = this.selectionList[i]
-
num += Number(item.count)
}
choose[0].actualReturnCount = num
-
}
-
}
-
},
handleClose2() {
this.dialogVisible2 = false
},
seleGoods3() {
this.queryParams.params = {
- "vinNo": '',
- "goodsSkuCode": '',
- "sourceBillNo": '',
- "orgPath": window.sessionStorage.getItem('defaultOrgPath'),
+ vinNo: '',
+ goodsSkuCode: '',
+ sourceBillNo: '',
+ orgPath: window.sessionStorage.getItem('defaultOrgPath')
}
req.getGoodsListPage(this.queryParams).then(resp => {
- if (resp.success) {
- const data = resp.data
- this.queryParams.total = data.total
- this.dataList = data.records
- this.dialogVisible3 = true
- } else {
- // 根据resp.code进行异常情况处理
- this.dataList = []
- this.queryParams.total = 0
- }
-
- })
- .catch(e => {})
-
-
+ if (resp.success) {
+ const data = resp.data
+ this.queryParams.total = data.total
+ this.dataList = data.records
+ this.dialogVisible3 = true
+ } else {
+ // 根据resp.code进行异常情况处理
+ this.dataList = []
+ this.queryParams.total = 0
+ }
+ }).catch(e => {
+ })
},
selectionLineChangeHandle3(val) {
this.selectionList3 = val
},
-
addDialogList3() {
this.dialogVisible3 = false
-
for (var i = 0; i < this.selectionList3.length; i++) {
-
var item = this.selectionList3[i]
-
this.formobj.asOldpartreturnList.push({
- "sid": '',
- "remarks": '',
- "mainSid": '',
- "vinNo": item.vinNo,
- "goodsSpuSid": item.goodsSpuSid,
- "goodsSpuName": item.goodsSpuName,
- "goodsSkuSid": item.goodsSkuSid,
- "goodsSkuTitle": item.goodsSkuTitle,
- "goodsSkuCode": item.goodsSkuCode,
- "goodsSkuOwnSpec": item.goodsSkuOwnSpec,
- "manufacturerSid": item.manufacturerSid,
- "manufacturerName": item.manufacturerName,
- "warehouseSid": item.warehouseSid,
- "warehouseName": item.warehouseName,
- "warehouseAreaSid": item.warehouseAreaSid,
- "warehouseAreaName": item.warehouseAreaName,
- "warehouseRackSid": item.warehouseRackSid,
- "warehouseRackName": item.warehouseRackName,
- "unit": item.unit,
- "sourceBillNo": item.sourceBillNo,
- "claimBillNo": '',
- "isCf": "是",
- "needReturnCount": item.count,
- "actualReturnCount": item.count
+ sid: '',
+ remarks: '',
+ mainSid: '',
+ vinNo: item.vinNo,
+ goodsSpuSid: item.goodsSpuSid,
+ goodsSpuName: item.goodsSpuName,
+ goodsSkuSid: item.goodsSkuSid,
+ goodsSkuTitle: item.goodsSkuTitle,
+ goodsSkuCode: item.goodsSkuCode,
+ goodsSkuOwnSpec: item.goodsSkuOwnSpec,
+ manufacturerSid: item.manufacturerSid,
+ manufacturerName: item.manufacturerName,
+ warehouseSid: item.warehouseSid,
+ warehouseName: item.warehouseName,
+ warehouseAreaSid: item.warehouseAreaSid,
+ warehouseAreaName: item.warehouseAreaName,
+ warehouseRackSid: item.warehouseRackSid,
+ warehouseRackName: item.warehouseRackName,
+ unit: item.unit,
+ sourceBillNo: item.sourceBillNo,
+ claimBillNo: '',
+ isCf: '是',
+ needReturnCount: item.count,
+ actualReturnCount: item.count
})
}
-
-
},
handleClose3() {
this.dialogVisible3 = false
- },
-
+ }
}
}
diff --git a/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryInfo.vue b/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryInfo.vue
index db5cef2f15..f3a66f9ad8 100644
--- a/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryInfo.vue
+++ b/yxt-as-ui/src/views/storage/oldPartsFactory/oldPartsFactoryInfo.vue
@@ -1,29 +1,14 @@
-
-
+
-
-
-
-
-
申请人
{{ formobj.createByName }}
@@ -32,147 +17,88 @@
申请部门
{{ formobj.deptName }}
-
申请日期
{{ formobj.createTime }}
-
-
-
-
附件
-
+
-
-
-
备注
{{ formobj.remarks }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 商品列表
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
diff --git a/yxt-as-ui/src/views/workFlow/oldPartsFactoryFlow/oldPartsFactoryDaiBan.vue b/yxt-as-ui/src/views/workFlow/oldPartsFactoryFlow/oldPartsFactoryDaiBan.vue
index 19931755e0..774b1a5c81 100644
--- a/yxt-as-ui/src/views/workFlow/oldPartsFactoryFlow/oldPartsFactoryDaiBan.vue
+++ b/yxt-as-ui/src/views/workFlow/oldPartsFactoryFlow/oldPartsFactoryDaiBan.vue
@@ -31,35 +31,28 @@
备注
{{ formobj.remarks }}
-
附件
-
+
-
-
-
-
-
-
-
-
-
-
-
+ 商品列表
+
+
+
+
+
+
+
+
+
+
-