+
+
+
-
+
+
@@ -159,14 +176,14 @@
width="180"
>
- 未验收
- 已验收
- 待通知
- 验收不通过
- 已入库
- 入库驳回
- 入库待审核
- 综合服务中心未通过
+ 未验收
+ 已验收
+ 待通知
+ 验收不通过
+ 已入库
+ 入库驳回
+ 入库待审核
+ 综合服务中心未通过
+ 请上传.png、.jpg,、.jpeg类型文件,且文件个数不可超过5个
@@ -273,6 +294,7 @@
@@ -302,7 +324,11 @@
:on-remove="handleRemove"
>
-
+
+
+ 请上传.png、.jpg,、.jpeg类型文件,且文件个数不可超过5个
@@ -318,6 +344,7 @@
@@ -773,6 +800,11 @@ export default {
//添加人员
addUser() {
// console.log(this.chosenUserList,"chosenUserList")
+
+ if (this.chosenUserList.length < 1) {
+ this.$message.error('请选择添加的人员!')
+ return
+ }
addNoticeUser(this.chosenUserList).then((response) => {
if (response.code == 200) {
this.getNoticeUserList()
@@ -876,13 +908,13 @@ export default {
},
/** 提交按钮 */
submitForm: function () {
- // console.log(this.form)
this.form.checkUrl = this.checkUrlList.join(',')
this.form.checkUrlName = this.checkUrlNameList.join(',')
- let equipments = [this.form]
- console.log(equipments)
+ // console.log(this.form)
+ // console.log(equipments)
this.$refs['form'].validate((valid) => {
if (valid) {
+ let equipments = [this.form]
updatePurchaseCheckDetails(equipments).then((response) => {
if (response.code == 200) {
this.$message({
@@ -900,20 +932,20 @@ export default {
})
},
submitListForm: function () {
- // console.log(this.aform)
this.aform.checkUrl = this.checkUrlList1.join(',')
this.aform.checkUrlName = this.checkUrlNameList1.join(',')
- this.ids.forEach((item) => {
- item.checkNum = item.purchaseNum
- item.checkResult = this.aform.checkResult
- item.checkUrl = this.aform.checkUrl
- item.checkUrlName = this.aform.checkUrlName
- })
- // console.log(this.ids)
- let equipments = this.ids
- console.log(equipments)
+ // console.log(this.aform)
+ // console.log(equipments)
this.$refs['aform'].validate((valid) => {
if (valid) {
+ this.ids.forEach((item) => {
+ item.checkNum = item.purchaseNum
+ item.checkResult = this.aform.checkResult
+ item.checkUrl = this.aform.checkUrl
+ item.checkUrlName = this.aform.checkUrlName
+ })
+ // console.log(this.ids)
+ let equipments = this.ids
updatePurchaseCheckDetails(equipments).then((response) => {
if (response.code == 200) {
this.$message({
@@ -1034,4 +1066,15 @@ export default {
display: none;
}
}
+.img-box {
+ margin-right: 8px;
+}
+.img-box:last-child {
+ margin: 0;
+}
+
+.el-upload__tip {
+ font-size: 14px;
+ color: red;
+}
diff --git a/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue b/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue
index ae3406a9..148c4a89 100644
--- a/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue
+++ b/sgzb-ui/src/views/warehouseManage/warehousing/newTools/index.vue
@@ -9,40 +9,39 @@
v-show="showSearch"
label-width="100px"
>
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
- 已全部入库
- 入库审核中
- 入库审核未通过
- 部分已入库
+ 已全部入库
+ 入库审核中
+ 入库审核未通过
+ 部分已入库
@@ -198,9 +197,7 @@
size="mini"
type="text"
icon="el-icon-edit"
- v-if="
- scope.row.taskStatus == '105'
- "
+ v-if="scope.row.taskStatus == '105'"
@click="handleUpdate(scope.row)"
v-hasPermi="['warehousing:newTools:auditing']"
>审核入库单
@@ -358,10 +359,10 @@
- 待审核
- 已入库
- 已驳回
- 待审核
+ 待审核
+ 已入库
+ 已驳回
+ 待审核
@@ -384,7 +385,8 @@
size="mini"
type="text"
v-if="
- (scope.row.status == '0' || scope.row.status == '3') &&
+ (scope.row.status == '0' ||
+ scope.row.status == '3') &&
scope.row.userIds.includes(userId)
"
@click="pass(scope.row)"
@@ -394,7 +396,8 @@
size="mini"
type="text"
v-if="
- (scope.row.status == '0' || scope.row.status == '3') &&
+ (scope.row.status == '0' ||
+ scope.row.status == '3') &&
scope.row.userIds.includes(userId)
"
@click="refused(scope.row)"
@@ -702,19 +705,19 @@ export default {
},
//是否可用勾选框
selectable(row) {
- console.log(row)
- if (row.status == '0' || row.status == '3') {
- if (
- (row.manageType == '0' && row.maCode) ||
- row.manageType == '1'
- ) {
- return true
+ console.log(row)
+ if (row.status == '0' || row.status == '3') {
+ if (
+ (row.manageType == '0' && row.maCode) ||
+ row.manageType == '1'
+ ) {
+ return true
+ } else {
+ return false
+ }
} else {
- return false
+ return false
}
- } else {
- return false
- }
},
// 多选框选中数据
handleSelectionChange(selection) {
@@ -877,6 +880,17 @@ export default {
)
},
},
+
+ watch: {
+ open: {
+ handler(newValue) {
+ if (!newValue) {
+ this.query.dictName = ''
+ }
+ },
+ deep: true,
+ },
+ },
}