gpt-3.5-turbo-0613· openai
Suzhen/CodeChat
你好
- User
你好
- Assistant
您好!有什么我可以帮助您的吗?
- User
帮我把vxe-table 改成 vxe-grid <vxe-table show-footer :scroll-y="{enabled: false}" align="center" ref="xTable" max-height="400px" auto-resize size="small" stripe highlight-current-row border highlight-hover-column
:sort-config="{multiple: true, trigger: 'cell'}" :data="selectOutboundOrder"> <vxe-column field="lineNo" title="行号" width="75"></vxe-column> <vxe-column field="material.baseInfo.code" title="产品编码" width="100"></vxe-column><vxe-column field="planAmount" title="应出" width="55"></vxe-column> <vxe-column field="doneAmount" title="实出" width="55"></vxe-column> <vxe-column field="差异" title="差异" width="55"> <template slot-scope="{ row }">{{ row.planAmount - row.doneAmount }}</template> </vxe-column> </vxe-table> </div> - Assistant
好的,将vxe-table改成vxe-grid。请看下面的修改后的代码:
<div style="padding: 10px; display: flex;"> <vxe-grid show-footer :scroll-y="{enabled: false}" align="center" ref="xTable" max-height="400px" auto-resize size="small" stripe highlight-current-row border highlight-hover-column :sort-config="{multiple: true, trigger: 'cell'}" :data="selectOutboundOrder"> <vxe-column field="lineNo" title="行号" width="75"></vxe-column> <vxe-column field="material.baseInfo.code" title="产品编码" width="100"></vxe-column> <!-- <vxe-column field="material.baseInfo.name" title="产品名称" min-width="220"></vxe-column> --> <vxe-column field="planAmount" title="应出" width="55"></vxe-column> <vxe-column field="doneAmount" title="实出" width="55"></vxe-column> <vxe-column field="差异" title="差异" width="55"> <template v-slot="{ row }">{{ row.planAmount - row.doneAmount }}</template> </vxe-column> </vxe-grid> </div>希望对您有所帮助!如果还有其他问题,请随时提问。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.