Merge remote-tracking branch 'origin/dev_pro2.0' into dev_pro2.0
| | |
| | | <template #toolbar-tools> |
| | | <TableAction :actions="[ |
| | | { |
| | | label: $t('ui.actionTitle.import'), |
| | | type: 'primary', |
| | | icon: ACTION_ICON.UPLOAD, |
| | | auth: ['mes:md-item:import'], |
| | | onClick: handleImport, |
| | | }, |
| | | { |
| | | label: $t('ui.actionTitle.export'), |
| | | type: 'primary', |
| | | icon: ACTION_ICON.DOWNLOAD, |
| | |
| | | const bidColumns = [ |
| | | { title: '投标编号', dataIndex: 'bidNo', width: 140 }, |
| | | { title: '供应商', dataIndex: 'supplierName', width: 200 }, |
| | | { title: '投标金额', dataIndex: 'bidTotalAmount', width: 120 }, |
| | | { title: '投标总金额', dataIndex: 'bidTotalAmount', width: 120 }, |
| | | { title: '投标时间', dataIndex: 'bidTime', width: 160 }, |
| | | { title: '状态', dataIndex: 'bidStatus', width: 100, customRender: ({ text }: any) => BID_STATUS_MAP[text] || text }, |
| | | { title: '操作', key: 'actions', width: 240 }, |
| | |
| | | |
| | | const quoteColumns = [ |
| | | { title: '物料', dataIndex: 'materialName', width: 120 }, |
| | | { title: '报价价格', dataIndex: 'quotePrice', width: 100 }, |
| | | { title: '报价单价', dataIndex: 'quotePrice', width: 100 }, |
| | | { title: '税率(%)', dataIndex: 'taxRate', width: 80 }, |
| | | { title: '交期(天)', dataIndex: 'deliveryCycle', width: 80 }, |
| | | { title: '付款条件', dataIndex: 'paymentTerms', width: 120 }, |
| | |
| | | </a-form-item> |
| | | <a-row :gutter="12"> |
| | | <a-col :span="8"> |
| | | <a-form-item label="报价价格" required><a-input-number v-model:value="quoteForm.quotePrice" :min="0" class="!w-full" placeholder="报价"><template #addonAfter>元</template></a-input-number></a-form-item> |
| | | <a-form-item label="报价单价" required><a-input-number v-model:value="quoteForm.quotePrice" :min="0" class="!w-full" placeholder="报价"><template #addonAfter>元</template></a-input-number></a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="税率(%)"><a-input-number v-model:value="quoteForm.taxRate" :min="0" :max="100" class="!w-full" placeholder="如 13" /></a-form-item> |