Procházet zdrojové kódy

抽样单样品名称传值修改

jiangyu před 3 roky
rodič
revize
4b6ae64988

+ 3 - 2
src/components/jc/inputSample.vue

@@ -23,7 +23,7 @@
 				<el-option v-for="item in sampleList"
 				:key="item.product_id" 
 				:label="item.product_name"
-				:value="item.product_id">
+				:value="item.product_name">
 				</el-option>
 		</el-select>
 		<!-- </el-col> -->
@@ -282,7 +282,7 @@
 				this.cyd_data.file_name = res.data.fileName
 			},
 			async onSubmit() {
-				// console.log(this.form.sample_name)
+				console.log(this.cyd_data.sample_name)
 				var that = this
 				console.log(that.cyd_data)
 				that.cyd_data.task_id = that.task_id
@@ -298,6 +298,7 @@
 					this.$message({
 						type: 'success',
 						message: '提交抽样单成功!'
+						
 					});
 				}
 			},

+ 3 - 0
src/components/jc/setTask.vue

@@ -517,6 +517,9 @@
 				}
 
 				this.$refs.multipleTable.clearSelection();
+				console.log(that.delarr)
+				this.delarr = [];
+				
 			},
 			// 获取机构地域表格
 			async getUndertakeList() {