报工增加remark

master
zhaoxiaolin 8 months ago
parent 6e4c743192
commit 78c44cb10f

@ -474,12 +474,12 @@
:summary-method="getSummaries" :summary-method="getSummaries"
show-summary show-summary
> >
<el-table-column width="50" align="center" type="selection"/> <el-table-column width="60" align="center" type="selection"/>
<el-table-column label="id" align="center" prop="id" v-if="false"/> <el-table-column label="id" align="center" prop="id" v-if="false"/>
<el-table-column label="工单编码" width="150" align="left" prop="workorderCode" :show-overflow-tooltip="true" /> <el-table-column label="工单编码" width="130" align="left" prop="workorderCode" :show-overflow-tooltip="true" />
<el-table-column label="订单编码" width="150" align="left" prop="workorderCodeSap" :show-overflow-tooltip="true" <el-table-column label="订单编码" width="110" align="left" prop="workorderCodeSap" :show-overflow-tooltip="true"
:formatter="orderCodeFormate"/> :formatter="orderCodeFormate"/>
<el-table-column label="报工单号" width="150" align="left" prop="reportCode" :show-overflow-tooltip="true" /> <el-table-column label="报工单号" width="110" align="left" prop="reportCode" :show-overflow-tooltip="true" />
<el-table-column label="批次" width="250" align="left" prop="batch" :show-overflow-tooltip="true" /> <el-table-column label="批次" width="250" align="left" prop="batch" :show-overflow-tooltip="true" />
<el-table-column label="单位" align="center" prop="unit"/> <el-table-column label="单位" align="center" prop="unit"/>
<el-table-column label="报工数量" width="100" align="left" prop="quantityFeedback" :show-overflow-tooltip="true" > <el-table-column label="报工数量" width="100" align="left" prop="quantityFeedback" :show-overflow-tooltip="true" >
@ -499,7 +499,14 @@
</el-table-column> </el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime" width="150"/> <el-table-column label="创建时间" align="center" prop="createTime" width="150"/>
</el-table> </el-table>
</el-tab-pane>
<div class="demo-input-suffix">
<p>备注</p>
<el-input type="textarea" @blur ="addRemarksblur(item.libList,item.remark,index)" v-model="item.remark"
placeholder="请输入内容(300个字内)" maxlength=300/>
</el-input>
</div>
</el-tab-pane>
</el-tabs> </el-tabs>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="cancel" v-if="optType =='view'"></el-button> <el-button type="primary" @click="cancel" v-if="optType =='view'"></el-button>
@ -1610,6 +1617,11 @@ export default {
this.consumeList.push(row); this.consumeList.push(row);
} }
} }
},
addRemarksblur(table,remark,index){
table.forEach(item=>{
item.remark = remark;
})
} }
} }
}; };

Loading…
Cancel
Save