guoyujia 1 an în urmă
părinte
comite
01df1e4e0d

+ 1 - 1
src/views/business/returnReceipt/DialogOutsourceDetails.vue

@@ -45,7 +45,7 @@
             " @click="handleShowFinishedDetail">+查看已完成明细</span>
 			</div>
 		</el-form>
-		<div><span style="color: red;">注:如果选择框为灰色,外协厂已填写收回单</span></div>
+		<div><span style="color: red;">注:如果选择框为灰色,外协厂已填写收回单,暂未提交!</span></div>
 		<el-table ref="dialogTable" :data="dataList" row-key="id" size="small" v-loading="loading" border height="370px"
 			@selection-change="handleSelectionChange">
 			<el-table-column type="selection" width="40" align="center" :selectable="handleAllowSelected"/>

+ 0 - 4
src/views/business/returnReceipt/form.vue

@@ -391,24 +391,20 @@ function submitForm() {
         flag = false;
         proxy.$modal.msgError("收回明细不能为空");
       }
-      console.log(form.value.details.length);
       if (flag) {
         //赋值(因为收回明细是一个批次一条,所以后端传回来两个集合,一个页面显示,一个后端保存)
         handleSetAuditStatus();
-        console.log(form.value);
         if (confirmFlag) {
           proxy.$modal
             .confirm("存在填写确定数量为0的工序,确定要收回吗?")
             .then(function () {
               if (form.value.id != null) {
-                console.log(form.value);
                 updateReceipt(form.value).then((response) => {
                   proxy.$modal.msgSuccess("修改成功");
                   visible.value = false;
                   emit("handleSaveSuccess");
                 });
               } else {
-                console.log(form.value);
                 addReceipt(form.value).then((response) => {
                   proxy.$modal.msgSuccess("新增成功");
                   visible.value = false;