@@ -450,7 +450,7 @@ func (b *ProduceBillExcel) drawSupplierRemark() error {
}
styleLeft, _ := b.Excel.NewStyle(&excelize.Style{
- Alignment: &excelize.Alignment{Horizontal: "left", Vertical: "center"},
+ Alignment: &excelize.Alignment{Horizontal: "left", Vertical: "center", WrapText: true},
Border: border,
})
@@ -270,7 +270,7 @@ func (b *ProductBillExcel) drawSupplierRemark() error {
@@ -307,7 +307,7 @@ func (b *PurchaseBillExcel) drawSupplierRemark() error {
@@ -76,3 +76,6 @@ func Printr(c *gin.Context, apictx *ApiSession) (interface{}, error) {
return repo.RepoUpdateSetDoc(apictx.CreateRepoCtx(), repo.CollectionBillProduct, "6440dc82afe88127dda4a5ef", &model.ProductBill{Remark: ""})
+
+// ? 测试供应商备注
+// {{boxcost}}/bill/produce/download?id=6444d14db2a7c8eae4240579
@@ -30,7 +30,6 @@ type SupplierSmsReq struct {
func SendSmsNotify(phone string, info *SupplierSmsReq) error {
// TODO dev
- phone = "13408547823"
return errors.New("待配置短信模板")
client, _err := createSmsClient()
if _err != nil {